1 #ifndef vtkScalarBarActorInternal_h 2 #define vtkScalarBarActorInternal_h 32 return reinterpret_cast<T**
>(&((*this)[0]));
58 this->Viewport =
nullptr;
59 this->SwatchColors =
nullptr;
60 this->SwatchPts =
nullptr;
61 this->Polys =
nullptr;
62 this->AnnotationBoxes =
nullptr;
63 this->AnnotationBoxesMapper =
nullptr;
64 this->AnnotationBoxesActor =
nullptr;
65 this->AnnotationLeaders =
nullptr;
66 this->AnnotationLeadersMapper =
nullptr;
67 this->AnnotationLeadersActor =
nullptr;
68 this->NanSwatch =
nullptr;
69 this->NanSwatchMapper =
nullptr;
70 this->NanSwatchActor =
nullptr;
72 this->BelowRangeSwatch =
nullptr;
73 this->BelowRangeSwatchMapper =
nullptr;
74 this->BelowRangeSwatchActor =
nullptr;
76 this->AboveRangeSwatch =
nullptr;
77 this->AboveRangeSwatchMapper =
nullptr;
78 this->AboveRangeSwatchActor =
nullptr;
188 #endif // vtkScalarBarActorInternal_h
std::vector< vtkColor3ub > ColorVector
vtkTuple< int, 2 > Size
Size of the box, stored as (thickness, length) not (width, height).
vtkPolyData * AboveRangeSwatch
Cache of classes holding geometry assembled and ready for rendering.
vtkActor2D * AboveRangeSwatchActor
Cache of classes holding geometry assembled and ready for rendering.
vtkScalarBarBox TitleBox
The bounding box of the scalar bar title text.
vtkScalarBarBox Frame
The bounding box of the entire scalar bar frame.
ActorVector AnnotationLabels
Cache of classes holding geometry assembled and ready for rendering.
std::vector< double > DoubleVector
DoubleVector AnnotationAnchors
Cache of classes holding geometry assembled and ready for rendering.
vtkScalarBarBox AboveRangeSwatchBox
The bounding box of the Above Range.
abstract specification for Viewports
vtkViewport * Viewport
Cache of dimensions fixed during geometry assembly.
vtkPolyData * AnnotationBoxes
Cache of classes holding geometry assembled and ready for rendering.
vtkActor2D * AnnotationBoxesActor
Cache of classes holding geometry assembled and ready for rendering.
vtkScalarBarBox ScalarBarBox
The bounding box of the scalar bar (excluding NaN swatch)
a actor that draws 2D data
Internal state for the scalar bar actor shared with subclasses.
std::map< double, vtkStdString > Labels
Map from viewport coordinates to label text of each annotation.
vtkPolyDataMapper2D * NanSwatchMapper
Cache of classes holding geometry assembled and ready for rendering.
ColorVector AnnotationColors
Cache of classes holding geometry assembled and ready for rendering.
vtkScalarBarBox NanBox
The bounding box of the NaN swatch.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyDataMapper2D * BelowRangeSwatchMapper
Cache of classes holding geometry assembled and ready for rendering.
vtkPolyData * NanSwatch
Cache of classes holding geometry assembled and ready for rendering.
T ** PointerArray()
Convert to an array of "dumb" pointers for functions that need a contiguous array pointer as input...
double AboveRangeSwatchSize
The thickness and length of the (square) Above Range swatch.
int NumColors
Number of color swatches to draw for either the continuous or categorical scalar bar, not including a NaN swatch.
An actor that displays text.
vtkPolyDataMapper2D * AboveRangeSwatchMapper
Cache of classes holding geometry assembled and ready for rendering.
int NumNotes
Number of annotated values (at least lut->GetNumberOfAnnotatedValues(), but maybe more) ...
A vector of smart pointers.
vtkPolyData * BelowRangeSwatch
Cache of classes holding geometry assembled and ready for rendering.
double BelowRangeSwatchSize
The thickness and length of the (square) Below Range swatch.
vtkActor2D * BelowRangeSwatchActor
Cache of classes holding geometry assembled and ready for rendering.
vtkPolyData * AnnotationLeaders
Cache of classes holding geometry assembled and ready for rendering.
dynamic, self-adjusting array of unsigned char
vtkScalarBarActorInternal()
object to represent cell connectivity
vtkPolyDataMapper2D * AnnotationBoxesMapper
Cache of classes holding geometry assembled and ready for rendering.
double SwatchPad
Space in pixels between swatches when in indexed lookup mode.
vtkUnsignedCharArray * SwatchColors
Colors of swatches in Polys.
std::map< double, vtkColor3ub > LabelColors
Map from viewport coordinates to the leader line color of each annotation.
double NanSwatchSize
The thickness and length of the (square) NaN swatch.
ActorVector TextActors
Cache of classes holding geometry assembled and ready for rendering.
vtkPolyDataMapper2D * AnnotationLeadersMapper
Cache of classes holding geometry assembled and ready for rendering.
vtkActor2D * NanSwatchActor
Cache of classes holding geometry assembled and ready for rendering.
vtkPoints * SwatchPts
Point coordinates for the scalar bar actor.
A structure to represent pixel coordinates for text or swatch bounds.
vtkCellArray * Polys
Cells representing color swatches (for the scalar bar actor)
vtkTuple< int, 2 > Posn
The position of the box in viewport (pixel) coordinates.
int NumSwatches
Either NumColors or NumColors + 1, depending on whether the NaN swatch is to be drawn.
vtkActor2D * AnnotationLeadersActor
Cache of classes holding geometry assembled and ready for rendering.
draw vtkPolyData onto the image plane
represent and manipulate 3D points
vtkSmartVector< vtkTextActor > ActorVector
vtkScalarBarBox TickBox
The bounding box of tick mark anchor points (tick labels are not fully contained) ...
vtkScalarBarBox BelowRangeSwatchBox
The bounding box of the Below Range.