VTK
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< vtkTextActorActorVec
 
typedef vtkSmartVector< vtkTextActorMathActorVec
 
typedef std::vector< doubleDoubleVec
 
typedef std::vector< vtkColor3ubColorVec
 

Public Member Functions

 vtkScalarBarActorInternal ()
 

Public Attributes

vtkViewportViewport
 Cache of dimensions fixed during geometry assembly. More...
 
float DPI
 Resolution of the viewport; used to render text at the appropriate detail. More...
 
double NanSwatchSize
 The thickness and length of the (square) NaN 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...
 
vtkPointsSwatchPts
 Point coordinates for the scalar bar actor. More...
 
vtkCellArrayPolys
 Cells representing color swatches (for the scalar bar actor) More...
 
vtkUnsignedCharArraySwatchColors
 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 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, vtkStdStringLabels
 Map from viewport coordinates to label text of each annotation. More...
 
std::map< double, vtkColor3ubLabelColors
 Map from viewport coordinates to the leader line color of each annotation. More...
 
ActorVec TextActors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataAnnotationBoxes
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2DAnnotationBoxesMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2DAnnotationBoxesActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataAnnotationLeaders
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2DAnnotationLeadersMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2DAnnotationLeadersActor
 Cache of classes holding geometry assembled and ready for rendering. More...
 
ActorVec AnnotationLabels
 Cache of classes holding geometry assembled and ready for rendering. More...
 
std::vector< doubleAnnotationAnchors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
std::vector< vtkColor3ubAnnotationColors
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataNanSwatch
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkPolyDataMapper2DNanSwatchMapper
 Cache of classes holding geometry assembled and ready for rendering. More...
 
vtkActor2DNanSwatchActor
 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 75 of file vtkScalarBarActorInternal.h.

Definition at line 76 of file vtkScalarBarActorInternal.h.

Definition at line 79 of file vtkScalarBarActorInternal.h.

Definition at line 80 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 87 of file vtkScalarBarActorInternal.h.

float vtkScalarBarActorInternal::DPI

Resolution of the viewport; used to render text at the appropriate detail.

Definition at line 89 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::NanSwatchSize

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

Definition at line 91 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::SwatchPad

Space in pixels between swatches when in indexed lookup mode.

Definition at line 93 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::NumNotes

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

Definition at line 95 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 97 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 99 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::TL[2]

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

Definition at line 101 of file vtkScalarBarActorInternal.h.

vtkPoints* vtkScalarBarActorInternal::SwatchPts

Point coordinates for the scalar bar actor.

Definition at line 103 of file vtkScalarBarActorInternal.h.

vtkCellArray* vtkScalarBarActorInternal::Polys

Cells representing color swatches (for the scalar bar actor)

Definition at line 105 of file vtkScalarBarActorInternal.h.

vtkUnsignedCharArray* vtkScalarBarActorInternal::SwatchColors

Colors of swatches in Polys.

Definition at line 107 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::Frame

The bounding box of the entire scalar bar frame.

Definition at line 109 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::ScalarBarBox

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

Definition at line 111 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::NanBox

The bounding box of the NaN swatch.

Definition at line 113 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::TickBox

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

Definition at line 115 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::TitleBox

The bounding box of the scalar bar title text.

Definition at line 117 of file vtkScalarBarActorInternal.h.

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

Map from viewport coordinates to label text of each annotation.

Definition at line 119 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 121 of file vtkScalarBarActorInternal.h.

ActorVec vtkScalarBarActorInternal::TextActors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 126 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AnnotationBoxes

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 127 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationBoxesMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 128 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AnnotationBoxesActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 129 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AnnotationLeaders

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 130 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationLeadersMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 131 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AnnotationLeadersActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 132 of file vtkScalarBarActorInternal.h.

ActorVec vtkScalarBarActorInternal::AnnotationLabels

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 133 of file vtkScalarBarActorInternal.h.

std::vector<double> vtkScalarBarActorInternal::AnnotationAnchors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 134 of file vtkScalarBarActorInternal.h.

std::vector<vtkColor3ub> vtkScalarBarActorInternal::AnnotationColors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 135 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::NanSwatch

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 136 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::NanSwatchMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 137 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::NanSwatchActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 138 of file vtkScalarBarActorInternal.h.


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