35 #ifndef vtkPVScalarBarActor_h 36 #define vtkPVScalarBarActor_h 59 vtkGetMacro(AspectRatio,
double);
60 vtkSetMacro(AspectRatio,
double);
69 vtkGetMacro(AutomaticLabelFormat,
int);
70 vtkSetMacro(AutomaticLabelFormat,
int);
71 vtkBooleanMacro(AutomaticLabelFormat,
int);
78 vtkGetMacro(DrawTickMarks,
int);
79 vtkSetMacro(DrawTickMarks,
int);
80 vtkBooleanMacro(DrawTickMarks,
int);
87 vtkGetMacro(DrawSubTickMarks,
int);
88 vtkSetMacro(DrawSubTickMarks,
int);
89 vtkBooleanMacro(DrawSubTickMarks,
int);
97 vtkGetMacro(AddRangeLabels,
int);
98 vtkSetMacro(AddRangeLabels,
int);
99 vtkBooleanMacro(AddRangeLabels,
int);
107 vtkSetMacro(AutomaticAnnotations,
int);
108 vtkGetMacro(AutomaticAnnotations,
int);
109 vtkBooleanMacro(AutomaticAnnotations,
int);
116 vtkGetStringMacro(RangeLabelFormat);
117 vtkSetStringMacro(RangeLabelFormat);
123 virtual void AddValueLabelIfUnoccluded(
double value,
double pos,
double diff);
130 vtkGetMacro(TitleJustification,
int);
131 vtkSetClampMacro(TitleJustification,
int, VTK_TEXT_LEFT, VTK_TEXT_RIGHT);
139 vtkGetMacro(AddRangeAnnotations,
int);
140 vtkSetMacro(AddRangeAnnotations,
int);
141 vtkBooleanMacro(AddRangeAnnotations,
int);
195 virtual void BuildScalarBarTexture();
202 virtual int CreateLabel(
203 double value,
int minDigits,
int targetWidth,
int targetHeight,
vtkViewport* viewport);
252 #endif // vtkPVScalarBarActor_h virtual void EditAnnotations()
int TitleJustification
The justification/alignment of the title.
virtual void LayoutTitle()
virtual void ConfigureTitle()
#define VTKREMOTINGVIEWS_EXPORT
vtkPolyDataMapper2D * TickMarksMapper
int RenderOverlay(vtkViewport *viewport)
int AddRangeAnnotations
Flag to add minimum and maximum as annotations.
int AutomaticAnnotations
Flag indicating whether automatic annotations are computed and shown.
vtkActor2D * TickMarksActor
virtual void ComputeScalarBarThickness()
int LabelSpace
Space, in pixels, between the labels and the bar itself.
void PrintSelf(ostream &os, vtkIndent indent)
vtkNew< vtkContextScene > TickLayoutHelperScene
These are used to calculate the tick spacing.
virtual void ComputeScalarBarLength()
int RenderOpaqueGeometry(vtkViewport *viewport)
static vtkScalarBarActor * New()
virtual void ConfigureAnnotations()
virtual void LayoutTicks()
virtual void PrepareTitleText()
vtkNew< vtkAxis > TickLayoutHelper
These are used to calculate the tick spacing.
vtkTexture * ScalarBarTexture
virtual void ConfigureTicks()
A scalar bar with labels of fixed font.
void operator=(const vtkObjectBase &)
virtual void ReleaseGraphicsResources(vtkWindow *)