19 #ifndef vtkPVScalarBarActor_h 20 #define vtkPVScalarBarActor_h 43 vtkGetMacro(AspectRatio,
double);
44 vtkSetMacro(AspectRatio,
double);
53 vtkGetMacro(AutomaticLabelFormat,
int);
54 vtkSetMacro(AutomaticLabelFormat,
int);
55 vtkBooleanMacro(AutomaticLabelFormat,
int);
62 vtkGetMacro(DrawTickMarks,
int);
63 vtkSetMacro(DrawTickMarks,
int);
64 vtkBooleanMacro(DrawTickMarks,
int);
71 vtkGetMacro(DrawSubTickMarks,
int);
72 vtkSetMacro(DrawSubTickMarks,
int);
73 vtkBooleanMacro(DrawSubTickMarks,
int);
81 vtkGetMacro(AddRangeLabels,
int);
82 vtkSetMacro(AddRangeLabels,
int);
83 vtkBooleanMacro(AddRangeLabels,
int);
91 vtkSetMacro(AutomaticAnnotations,
int);
92 vtkGetMacro(AutomaticAnnotations,
int);
93 vtkBooleanMacro(AutomaticAnnotations,
int);
100 vtkGetStringMacro(RangeLabelFormat);
101 vtkSetStringMacro(RangeLabelFormat);
107 virtual void AddValueLabelIfUnoccluded(
double value,
double pos,
double diff);
114 vtkGetMacro(TitleJustification,
int);
115 vtkSetClampMacro(TitleJustification,
int, VTK_TEXT_LEFT, VTK_TEXT_RIGHT);
123 vtkGetMacro(AddRangeAnnotations,
int);
124 vtkSetMacro(AddRangeAnnotations,
int);
125 vtkBooleanMacro(AddRangeAnnotations,
int);
179 virtual void BuildScalarBarTexture();
186 virtual int CreateLabel(
187 double value,
int minDigits,
int targetWidth,
int targetHeight,
vtkViewport* viewport);
236 #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 *)