18 #ifndef __vtkKWScalarBarAnnotation_h
19 #define __vtkKWScalarBarAnnotation_h
30 class vtkScalarBarWidget;
31 class vtkVolumeProperty;
38 void PrintSelf(ostream& os, vtkIndent indent);
44 vtkSetMacro(PopupTextProperty,
int);
45 vtkGetMacro(PopupTextProperty,
int);
46 vtkBooleanMacro(PopupTextProperty,
int);
50 virtual void SetScalarBarWidget(vtkScalarBarWidget*);
51 vtkGetObjectMacro(ScalarBarWidget, vtkScalarBarWidget);
55 virtual void SetVisibility(
int i);
56 virtual int GetVisibility();
57 vtkBooleanMacro(Visibility,
int);
62 vtkSetMacro(AnnotationChangedEvent,
int);
63 vtkGetMacro(AnnotationChangedEvent,
int);
69 virtual void SetVolumeProperty(vtkVolumeProperty *prop);
70 vtkGetObjectMacro(VolumeProperty, vtkVolumeProperty);
75 virtual void SetNumberOfComponents(
int);
76 vtkGetMacro(NumberOfComponents,
int);
81 vtkSetMacro(ScalarComponentChangedEvent,
int);
82 vtkGetMacro(ScalarComponentChangedEvent,
int);
86 virtual void SetLabelFormatVisibility(
int i);
87 vtkGetMacro(LabelFormatVisibility,
int);
88 vtkBooleanMacro(LabelFormatVisibility,
int);
111 virtual void SelectedComponentCallback(
int);
112 virtual void ScalarBarTitleCallback(
const char *value);
113 virtual void ScalarBarLabelFormatCallback(
const char *value);
114 virtual void TitleTextPropertyCallback();
115 virtual void LabelTextPropertyCallback();
116 virtual void MaximumNumberOfColorsEndCallback(
double value);
117 virtual void NumberOfLabelsEndCallback(
double value);
127 int PopupTextProperty;
128 int AnnotationChangedEvent;
129 int ScalarComponentChangedEvent;
130 int NumberOfComponents;
131 int LabelFormatVisibility;
133 vtkScalarBarWidget *ScalarBarWidget;
134 vtkVolumeProperty *VolumeProperty;
150 virtual void PackLabelFrameChildren();
151 virtual void Render();
152 virtual void SetScalarBarTitle(
const char *txt);
153 virtual void SetScalarBarLabelFormat(
const char *txt);
162 virtual void SendChangedEvent();