VTK
|
Internal state for the scalar bar actor shared with subclasses. More...
#include <vtkScalarBarActorInternal.h>
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... | |
Internal state for the scalar bar actor shared with subclasses.
Definition at line 53 of file vtkScalarBarActorInternal.h.
Definition at line 74 of file vtkScalarBarActorInternal.h.
typedef std::vector<double> vtkScalarBarActorInternal::DoubleVector |
Definition at line 77 of file vtkScalarBarActorInternal.h.
typedef std::vector<vtkColor3ub> vtkScalarBarActorInternal::ColorVector |
Definition at line 78 of file vtkScalarBarActorInternal.h.
|
inline |
Definition at line 56 of file vtkScalarBarActorInternal.h.
vtkViewport* vtkScalarBarActorInternal::Viewport |
Cache of dimensions fixed during geometry assembly.
Only valid within methods invoked by vtkScalarBarActor::RebuildLayout().
Definition at line 85 of file vtkScalarBarActorInternal.h.
double vtkScalarBarActorInternal::NanSwatchSize |
The thickness and length of the (square) NaN swatch.
Definition at line 88 of file vtkScalarBarActorInternal.h.
double vtkScalarBarActorInternal::SwatchPad |
Space in pixels between swatches when in indexed lookup mode.
Definition at line 91 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 99 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 103 of file vtkScalarBarActorInternal.h.
int vtkScalarBarActorInternal::TL[2] |
Permutation of (0, 1) that transforms thickness,length into width,height.
Definition at line 107 of file vtkScalarBarActorInternal.h.
vtkPoints* vtkScalarBarActorInternal::SwatchPts |
Point coordinates for the scalar bar actor.
Definition at line 110 of file vtkScalarBarActorInternal.h.
vtkCellArray* vtkScalarBarActorInternal::Polys |
Cells representing color swatches (for the scalar bar actor)
Definition at line 113 of file vtkScalarBarActorInternal.h.
vtkUnsignedCharArray* vtkScalarBarActorInternal::SwatchColors |
Colors of swatches in Polys.
Definition at line 116 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::Frame |
The bounding box of the entire scalar bar frame.
Definition at line 119 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::ScalarBarBox |
The bounding box of the scalar bar (excluding NaN swatch)
Definition at line 122 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::NanBox |
The bounding box of the NaN swatch.
Definition at line 125 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::TickBox |
The bounding box of tick mark anchor points (tick labels are not fully contained)
Definition at line 129 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::TitleBox |
The bounding box of the scalar bar title text.
Definition at line 132 of file vtkScalarBarActorInternal.h.
std::map<double,vtkStdString> vtkScalarBarActorInternal::Labels |
Map from viewport coordinates to label text of each annotation.
Definition at line 135 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 139 of file vtkScalarBarActorInternal.h.
ActorVector vtkScalarBarActorInternal::TextActors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 144 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::AnnotationBoxes |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 145 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationBoxesMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 146 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::AnnotationBoxesActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 147 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::AnnotationLeaders |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 148 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationLeadersMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 149 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::AnnotationLeadersActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 150 of file vtkScalarBarActorInternal.h.
ActorVector vtkScalarBarActorInternal::AnnotationLabels |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 151 of file vtkScalarBarActorInternal.h.
DoubleVector vtkScalarBarActorInternal::AnnotationAnchors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 152 of file vtkScalarBarActorInternal.h.
ColorVector vtkScalarBarActorInternal::AnnotationColors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 153 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::NanSwatch |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 154 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::NanSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 155 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::NanSwatchActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 156 of file vtkScalarBarActorInternal.h.