35 #ifndef vtkPVScalarBarActor_h 36 #define vtkPVScalarBarActor_h 60 vtkGetMacro(AspectRatio,
double);
61 vtkSetMacro(AspectRatio,
double);
70 vtkGetMacro(AutomaticLabelFormat,
int);
71 vtkSetMacro(AutomaticLabelFormat,
int);
72 vtkBooleanMacro(AutomaticLabelFormat,
int);
79 vtkGetMacro(DrawTickMarks,
int);
80 vtkSetMacro(DrawTickMarks,
int);
81 vtkBooleanMacro(DrawTickMarks,
int);
88 vtkGetMacro(DrawSubTickMarks,
int);
89 vtkSetMacro(DrawSubTickMarks,
int);
90 vtkBooleanMacro(DrawSubTickMarks,
int);
98 vtkGetMacro(AddRangeLabels,
int);
99 vtkSetMacro(AddRangeLabels,
int);
100 vtkBooleanMacro(AddRangeLabels,
int);
108 vtkSetMacro(AutomaticAnnotations,
int);
109 vtkGetMacro(AutomaticAnnotations,
int);
110 vtkBooleanMacro(AutomaticAnnotations,
int);
117 vtkGetStringMacro(RangeLabelFormat);
118 vtkSetStringMacro(RangeLabelFormat);
124 virtual void AddValueLabelIfUnoccluded(
double value,
double pos,
double diff);
131 vtkGetMacro(TitleJustification,
int);
132 vtkSetClampMacro(TitleJustification,
int, VTK_TEXT_LEFT, VTK_TEXT_RIGHT);
140 vtkGetMacro(AddRangeAnnotations,
int);
141 vtkSetMacro(AddRangeAnnotations,
int);
142 vtkBooleanMacro(AddRangeAnnotations,
int);
196 virtual void BuildScalarBarTexture();
203 virtual int CreateLabel(
204 double value,
int minDigits,
int targetWidth,
int targetHeight,
vtkViewport* viewport);
253 #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 *)