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