VTK  9.2.6
Public Types | Public Member Functions | List of all members
vtkScalarBarActorInternal Class Reference

Internal state for the scalar bar actor shared with subclasses. More...

#include <vtkScalarBarActorInternal.h>

Collaboration diagram for vtkScalarBarActorInternal:
[legend]

Public Types

typedef vtkSmartVector< vtkTextActor > ActorVector
 
typedef std::vector< double > DoubleVector
 
typedef std::vector< vtkColor3ub > ColorVector
 

Public Member Functions

 vtkScalarBarActorInternal ()
 

Public Attributes

vtkViewport * Viewport
 Cache of dimensions fixed during geometry assembly. More...
 
double NanSwatchSize
 The thickness and length of the (square) NaN swatch. More...
 
double BelowRangeSwatchSize
 The thickness and length of the (square) Below Range swatch. More...
 
double AboveRangeSwatchSize
 The thickness and length of the (square) Above Range swatch. More...
 
double SwatchPad
 Space in pixels between swatches when in indexed lookup mode. More...
 
int NumNotes
 Number of annotated values (at least lut->GetNumberOfAnnotatedValues(), but maybe more) More...
 
int NumColors
 Number of color swatches to draw for either the continuous or categorical scalar bar, not including a NaN swatch. More...
 
int NumSwatches
 Either NumColors or NumColors + 1, depending on whether the NaN swatch is to be drawn. More...
 
int TL [2]
 Permutation of (0, 1) that transforms thickness,length into width,height. More...
 
vtkPoints * SwatchPts
 Point coordinates for the scalar bar actor. More...
 
vtkCellArray * Polys
 Cells representing color swatches (for the scalar bar actor) More...
 
vtkUnsignedCharArray * SwatchColors
 Colors of swatches in Polys. More...
 
vtkScalarBarBox Frame
 The bounding box of the entire scalar bar frame. More...
 
vtkScalarBarBox ScalarBarBox
 The bounding box of the scalar bar (excluding NaN swatch) More...
 
vtkScalarBarBox NanBox
 The bounding box of the NaN swatch. More...
 
vtkScalarBarBox BelowRangeSwatchBox
 The bounding box of the Below Range. More...
 
vtkScalarBarBox AboveRangeSwatchBox
 The bounding box of the Above Range. More...
 
vtkScalarBarBox TickBox
 The bounding box of tick mark anchor points (tick labels are not fully contained) More...
 
vtkScalarBarBox TitleBox
 The bounding box of the scalar bar title text. More...
 
std::map< double, vtkStdString > Labels
 Map from viewport coordinates to label text of each annotation. More...
 
std::map< double, vtkColor3ub > LabelColors
 Map from viewport coordinates to the leader line color of each annotation. More...
 
ActorVector TextActors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
DoubleVector TextActorAnchors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyData * AnnotationBoxes
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2D * AnnotationBoxesMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2D * AnnotationBoxesActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyData * AnnotationLeaders
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2D * AnnotationLeadersMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2D * AnnotationLeadersActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 
ActorVector AnnotationLabels
 Cache of classes holding geometry assembled and ready for rendering. More...
 
DoubleVector AnnotationAnchors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
ColorVector AnnotationColors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyData * NanSwatch
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2D * NanSwatchMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2D * NanSwatchActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyData * BelowRangeSwatch
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2D * BelowRangeSwatchMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2D * BelowRangeSwatchActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyData * AboveRangeSwatch
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2D * AboveRangeSwatchMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2D * AboveRangeSwatchActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 

Detailed Description

Internal state for the scalar bar actor shared with subclasses.

Definition at line 54 of file vtkScalarBarActorInternal.h.

Member Typedef Documentation

Definition at line 83 of file vtkScalarBarActorInternal.h.

typedef std::vector<double> vtkScalarBarActorInternal::DoubleVector

Definition at line 86 of file vtkScalarBarActorInternal.h.

Definition at line 87 of file vtkScalarBarActorInternal.h.

Constructor & Destructor Documentation

vtkScalarBarActorInternal::vtkScalarBarActorInternal ( )
inline

Definition at line 57 of file vtkScalarBarActorInternal.h.

Member Data Documentation

vtkViewport* vtkScalarBarActorInternal::Viewport

Cache of dimensions fixed during geometry assembly.

Only valid within methods invoked by vtkScalarBarActor::RebuildLayout().

Definition at line 94 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::NanSwatchSize

The thickness and length of the (square) NaN swatch.

Definition at line 97 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::BelowRangeSwatchSize

The thickness and length of the (square) Below Range swatch.

Definition at line 100 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::AboveRangeSwatchSize

The thickness and length of the (square) Above Range swatch.

Definition at line 103 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::SwatchPad

Space in pixels between swatches when in indexed lookup mode.

Definition at line 106 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::NumNotes

Number of annotated values (at least lut->GetNumberOfAnnotatedValues(), but maybe more)

Definition at line 110 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::NumColors

Number of color swatches to draw for either the continuous or categorical scalar bar, not including a NaN swatch.

Definition at line 114 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::NumSwatches

Either NumColors or NumColors + 1, depending on whether the NaN swatch is to be drawn.

Definition at line 118 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::TL[2]

Permutation of (0, 1) that transforms thickness,length into width,height.

Definition at line 122 of file vtkScalarBarActorInternal.h.

vtkPoints* vtkScalarBarActorInternal::SwatchPts

Point coordinates for the scalar bar actor.

Definition at line 126 of file vtkScalarBarActorInternal.h.

vtkCellArray* vtkScalarBarActorInternal::Polys

Cells representing color swatches (for the scalar bar actor)

Definition at line 129 of file vtkScalarBarActorInternal.h.

vtkUnsignedCharArray* vtkScalarBarActorInternal::SwatchColors

Colors of swatches in Polys.

Definition at line 132 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::Frame

The bounding box of the entire scalar bar frame.

Definition at line 135 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::ScalarBarBox

The bounding box of the scalar bar (excluding NaN swatch)

Definition at line 138 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::NanBox

The bounding box of the NaN swatch.

Definition at line 141 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::BelowRangeSwatchBox

The bounding box of the Below Range.

Definition at line 144 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::AboveRangeSwatchBox

The bounding box of the Above Range.

Definition at line 147 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::TickBox

The bounding box of tick mark anchor points (tick labels are not fully contained)

Definition at line 151 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::TitleBox

The bounding box of the scalar bar title text.

Definition at line 154 of file vtkScalarBarActorInternal.h.

std::map<double, vtkStdString> vtkScalarBarActorInternal::Labels

Map from viewport coordinates to label text of each annotation.

Definition at line 157 of file vtkScalarBarActorInternal.h.

std::map<double, vtkColor3ub> vtkScalarBarActorInternal::LabelColors

Map from viewport coordinates to the leader line color of each annotation.

Definition at line 161 of file vtkScalarBarActorInternal.h.

ActorVector vtkScalarBarActorInternal::TextActors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 166 of file vtkScalarBarActorInternal.h.

DoubleVector vtkScalarBarActorInternal::TextActorAnchors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 167 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AnnotationBoxes

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 168 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationBoxesMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 169 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AnnotationBoxesActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 170 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AnnotationLeaders

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 171 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationLeadersMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 172 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AnnotationLeadersActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 173 of file vtkScalarBarActorInternal.h.

ActorVector vtkScalarBarActorInternal::AnnotationLabels

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 174 of file vtkScalarBarActorInternal.h.

DoubleVector vtkScalarBarActorInternal::AnnotationAnchors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 175 of file vtkScalarBarActorInternal.h.

ColorVector vtkScalarBarActorInternal::AnnotationColors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 176 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::NanSwatch

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 177 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::NanSwatchMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 178 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::NanSwatchActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 179 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::BelowRangeSwatch

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 181 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::BelowRangeSwatchMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 182 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::BelowRangeSwatchActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 183 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AboveRangeSwatch

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 185 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AboveRangeSwatchMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 186 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AboveRangeSwatchActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 187 of file vtkScalarBarActorInternal.h.


The documentation for this class was generated from the following file: