#include <vtkScalarBarActorCustom.h>
|
| | vtkTypeMacro (vtkScalarBarActorCustom, vtkScalarBarActor) |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| | vtkGetMacro (AspectRatio, double) |
| |
| | vtkSetMacro (AspectRatio, double) |
| |
| | vtkGetMacro (AutomaticLabelFormat, int) |
| |
| | vtkSetMacro (AutomaticLabelFormat, int) |
| |
| | vtkBooleanMacro (AutomaticLabelFormat, int) |
| |
| | vtkGetMacro (DrawTickMarks, int) |
| |
| | vtkSetMacro (DrawTickMarks, int) |
| |
| | vtkBooleanMacro (DrawTickMarks, int) |
| |
| | vtkGetMacro (DrawSubTickMarks, int) |
| |
| | vtkSetMacro (DrawSubTickMarks, int) |
| |
| | vtkBooleanMacro (DrawSubTickMarks, int) |
| |
| | vtkGetMacro (AddRangeLabels, int) |
| |
| | vtkSetMacro (AddRangeLabels, int) |
| |
| | vtkBooleanMacro (AddRangeLabels, int) |
| |
| | vtkSetMacro (AutomaticAnnotations, int) |
| |
| | vtkGetMacro (AutomaticAnnotations, int) |
| |
| | vtkBooleanMacro (AutomaticAnnotations, int) |
| |
| | vtkGetStringMacro (RangeLabelFormat) |
| |
| | vtkSetStringMacro (RangeLabelFormat) |
| |
| virtual void | AddValueLabelIfUnoccluded (double value, double pos, double diff) |
| |
| | vtkGetMacro (TitleJustification, int) |
| |
| | vtkSetClampMacro (TitleJustification, int, VTK_TEXT_LEFT, VTK_TEXT_RIGHT) |
| |
| | vtkGetMacro (AddRangeAnnotations, int) |
| |
| | vtkSetMacro (AddRangeAnnotations, int) |
| |
| | vtkBooleanMacro (AddRangeAnnotations, int) |
| |
| void | ReleaseGraphicsResources (vtkWindow *) override |
| |
| int | RenderOpaqueGeometry (vtkViewport *viewport) override |
| |
| int | RenderOverlay (vtkViewport *viewport) override |
| |
Definition at line 20 of file vtkScalarBarActorCustom.h.
◆ vtkScalarBarActorCustom()
| vtkScalarBarActorCustom::vtkScalarBarActorCustom |
( |
| ) |
|
|
protected |
Definition at line 58 of file vtkScalarBarActorCustom.cpp.
References AddRangeAnnotations, AddRangeLabels, AspectRatio, AutomaticAnnotations, AutomaticLabelFormat, DrawSubTickMarks, DrawTickMarks, NULL, RangeLabelFormat, ScalarBarTexture, TickLayoutHelper, TickLayoutHelperScene, TickMarks, TickMarksActor, TickMarksMapper, and TitleJustification.
◆ ~vtkScalarBarActorCustom()
| vtkScalarBarActorCustom::~vtkScalarBarActorCustom |
( |
| ) |
|
|
overrideprotected |
◆ AddValueLabelIfUnoccluded()
| void vtkScalarBarActorCustom::AddValueLabelIfUnoccluded |
( |
double |
value, |
|
|
double |
pos, |
|
|
double |
diff |
|
) |
| |
|
virtual |
◆ BuildScalarBarTexture()
| void vtkScalarBarActorCustom::BuildScalarBarTexture |
( |
| ) |
|
|
protectedvirtual |
◆ ComputeScalarBarLength()
| void vtkScalarBarActorCustom::ComputeScalarBarLength |
( |
| ) |
|
|
overrideprotected |
◆ ComputeScalarBarThickness()
| void vtkScalarBarActorCustom::ComputeScalarBarThickness |
( |
| ) |
|
|
overrideprotected |
◆ ConfigureAnnotations()
| void vtkScalarBarActorCustom::ConfigureAnnotations |
( |
| ) |
|
|
overrideprotected |
◆ ConfigureTicks()
| void vtkScalarBarActorCustom::ConfigureTicks |
( |
| ) |
|
|
overrideprotected |
Definition at line 529 of file vtkScalarBarActorCustom.cpp.
References AddRangeLabels, AutomaticLabelFormat, color, CreateLabel(), DrawSubTickMarks, e, cloudViewer::utility::floor(), LabelSpace, MY_ABS, RangeLabelFormat, TickLayoutHelper, TickMarks, TickMarksActor, x, and y.
◆ ConfigureTitle()
| void vtkScalarBarActorCustom::ConfigureTitle |
( |
| ) |
|
|
overrideprotected |
◆ CreateLabel()
| int vtkScalarBarActorCustom::CreateLabel |
( |
double |
value, |
|
|
int |
minDigits, |
|
|
int |
targetWidth, |
|
|
int |
targetHeight, |
|
|
vtkViewport * |
viewport |
|
) |
| |
|
protectedvirtual |
◆ EditAnnotations()
| void vtkScalarBarActorCustom::EditAnnotations |
( |
| ) |
|
|
overrideprotected |
◆ LayoutTicks()
| void vtkScalarBarActorCustom::LayoutTicks |
( |
| ) |
|
|
overrideprotected |
◆ LayoutTitle()
| void vtkScalarBarActorCustom::LayoutTitle |
( |
| ) |
|
|
overrideprotected |
◆ New()
◆ PrepareTitleText()
| void vtkScalarBarActorCustom::PrepareTitleText |
( |
| ) |
|
|
overrideprotected |
◆ PrintSelf()
| void vtkScalarBarActorCustom::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
override |
Definition at line 104 of file vtkScalarBarActorCustom.cpp.
References AddRangeAnnotations, AddRangeLabels, AspectRatio, AutomaticAnnotations, AutomaticLabelFormat, DrawSubTickMarks, DrawTickMarks, QtCompat::endl(), LabelSpace, RangeLabelFormat, ScalarBarTexture, TickMarks, TickMarksActor, TickMarksMapper, and TitleJustification.
◆ ReleaseGraphicsResources()
| void vtkScalarBarActorCustom::ReleaseGraphicsResources |
( |
vtkWindow * |
window | ) |
|
|
override |
◆ RenderOpaqueGeometry()
| int vtkScalarBarActorCustom::RenderOpaqueGeometry |
( |
vtkViewport * |
viewport | ) |
|
|
override |
◆ RenderOverlay()
| int vtkScalarBarActorCustom::RenderOverlay |
( |
vtkViewport * |
viewport | ) |
|
|
override |
◆ vtkBooleanMacro() [1/6]
◆ vtkBooleanMacro() [2/6]
◆ vtkBooleanMacro() [3/6]
◆ vtkBooleanMacro() [4/6]
◆ vtkBooleanMacro() [5/6]
◆ vtkBooleanMacro() [6/6]
◆ vtkGetMacro() [1/8]
Set whether the scalar data range endpoints (minimum and maximum) are added as annotations.
◆ vtkGetMacro() [2/8]
Set whether the range endpoints (minimum and maximum) are added as labels alongside other value labels.
◆ vtkGetMacro() [3/8]
| vtkScalarBarActorCustom::vtkGetMacro |
( |
AspectRatio |
, |
|
|
double |
|
|
) |
| |
The bar aspect ratio (length/width). Defaults to 20. Note that this the aspect ratio of the color bar only, not including labels.
◆ vtkGetMacro() [4/8]
◆ vtkGetMacro() [5/8]
If true (the default), the printf format used for the labels will be automatically generated to make the numbers best fit within the widget. If false, the LabelFormat ivar will be used.
◆ vtkGetMacro() [6/8]
If true (the default), sub-tick marks will be drawn.
◆ vtkGetMacro() [7/8]
If true (the default), tick marks will be drawn.
◆ vtkGetMacro() [8/8]
Set the title justification. Valid values are VTK_TEXT_LEFT, VTK_TEXT_CENTERED, and VTK_TEXT_RIGHT.
◆ vtkGetStringMacro()
Set the C-style format string for the range labels.
◆ vtkSetClampMacro()
| vtkScalarBarActorCustom::vtkSetClampMacro |
( |
TitleJustification |
, |
|
|
int |
, |
|
|
VTK_TEXT_LEFT |
, |
|
|
VTK_TEXT_RIGHT |
|
|
) |
| |
◆ vtkSetMacro() [1/7]
◆ vtkSetMacro() [2/7]
◆ vtkSetMacro() [3/7]
| vtkScalarBarActorCustom::vtkSetMacro |
( |
AspectRatio |
, |
|
|
double |
|
|
) |
| |
◆ vtkSetMacro() [4/7]
Set whether annotions are automatically created according the number of discrete colors. Default is FALSE;
◆ vtkSetMacro() [5/7]
◆ vtkSetMacro() [6/7]
◆ vtkSetMacro() [7/7]
◆ vtkSetStringMacro()
◆ vtkTypeMacro()
◆ AddRangeAnnotations
| int vtkScalarBarActorCustom::AddRangeAnnotations |
|
protected |
◆ AddRangeLabels
| int vtkScalarBarActorCustom::AddRangeLabels |
|
protected |
◆ AspectRatio
| double vtkScalarBarActorCustom::AspectRatio |
|
protected |
◆ AutomaticAnnotations
| int vtkScalarBarActorCustom::AutomaticAnnotations |
|
protected |
◆ AutomaticLabelFormat
| int vtkScalarBarActorCustom::AutomaticLabelFormat |
|
protected |
◆ DrawSubTickMarks
| int vtkScalarBarActorCustom::DrawSubTickMarks |
|
protected |
◆ DrawTickMarks
| int vtkScalarBarActorCustom::DrawTickMarks |
|
protected |
◆ LabelSpace
| int vtkScalarBarActorCustom::LabelSpace |
|
protected |
◆ RangeLabelFormat
| char* vtkScalarBarActorCustom::RangeLabelFormat |
|
protected |
◆ ScalarBarTexture
| vtkTexture* vtkScalarBarActorCustom::ScalarBarTexture |
|
protected |
◆ TickLayoutHelper
| vtkNew<vtkAxis> vtkScalarBarActorCustom::TickLayoutHelper |
|
protected |
◆ TickLayoutHelperScene
| vtkNew<vtkContextScene> vtkScalarBarActorCustom::TickLayoutHelperScene |
|
protected |
◆ TickMarks
| vtkPolyData* vtkScalarBarActorCustom::TickMarks |
|
protected |
◆ TickMarksActor
| vtkActor2D* vtkScalarBarActorCustom::TickMarksActor |
|
protected |
◆ TickMarksMapper
| vtkPolyDataMapper2D* vtkScalarBarActorCustom::TickMarksMapper |
|
protected |
◆ TitleJustification
| int vtkScalarBarActorCustom::TitleJustification |
|
protected |
The documentation for this class was generated from the following files: