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