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< 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 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 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...
 
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...
 

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 78 of file vtkScalarBarActorInternal.h.

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

double vtkScalarBarActorInternal::NanSwatchSize

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

Definition at line 89 of file vtkScalarBarActorInternal.h.

double vtkScalarBarActorInternal::SwatchPad

Space in pixels between swatches when in indexed lookup mode.

Definition at line 92 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::NumNotes

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

Definition at line 96 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 100 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 104 of file vtkScalarBarActorInternal.h.

int vtkScalarBarActorInternal::TL[2]

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

Definition at line 108 of file vtkScalarBarActorInternal.h.

vtkPoints* vtkScalarBarActorInternal::SwatchPts

Point coordinates for the scalar bar actor.

Definition at line 111 of file vtkScalarBarActorInternal.h.

vtkCellArray* vtkScalarBarActorInternal::Polys

Cells representing color swatches (for the scalar bar actor)

Definition at line 114 of file vtkScalarBarActorInternal.h.

vtkUnsignedCharArray* vtkScalarBarActorInternal::SwatchColors

Colors of swatches in Polys.

Definition at line 117 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::Frame

The bounding box of the entire scalar bar frame.

Definition at line 120 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::ScalarBarBox

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

Definition at line 123 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::NanBox

The bounding box of the NaN swatch.

Definition at line 126 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::TickBox

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

Definition at line 130 of file vtkScalarBarActorInternal.h.

vtkScalarBarBox vtkScalarBarActorInternal::TitleBox

The bounding box of the scalar bar title text.

Definition at line 133 of file vtkScalarBarActorInternal.h.

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

Map from viewport coordinates to label text of each annotation.

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

ActorVector vtkScalarBarActorInternal::TextActors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 145 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AnnotationBoxes

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 146 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationBoxesMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 147 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AnnotationBoxesActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 148 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::AnnotationLeaders

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 149 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationLeadersMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 150 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::AnnotationLeadersActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 151 of file vtkScalarBarActorInternal.h.

ActorVector vtkScalarBarActorInternal::AnnotationLabels

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 152 of file vtkScalarBarActorInternal.h.

DoubleVector vtkScalarBarActorInternal::AnnotationAnchors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 153 of file vtkScalarBarActorInternal.h.

ColorVector vtkScalarBarActorInternal::AnnotationColors

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 154 of file vtkScalarBarActorInternal.h.

vtkPolyData* vtkScalarBarActorInternal::NanSwatch

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 155 of file vtkScalarBarActorInternal.h.

vtkPolyDataMapper2D* vtkScalarBarActorInternal::NanSwatchMapper

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 156 of file vtkScalarBarActorInternal.h.

vtkActor2D* vtkScalarBarActorInternal::NanSwatchActor

Cache of classes holding geometry assembled and ready for rendering.

Definition at line 157 of file vtkScalarBarActorInternal.h.


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