VTK
|
Internal state for the scalar bar actor shared with subclasses. More...
#include <vtkScalarBarActorInternal.h>
Public Types | |
typedef vtkSmartVector < vtkTextActor > | ActorVec |
typedef vtkSmartVector < vtkTextActor > | MathActorVec |
typedef std::vector< double > | DoubleVec |
typedef std::vector< vtkColor3ub > | ColorVec |
Public Member Functions | |
vtkScalarBarActorInternal () | |
Public Attributes | |
vtkViewport * | Viewport |
Cache of dimensions fixed during geometry assembly. | |
float | DPI |
Resolution of the viewport; used to render text at the appropriate detail. | |
double | NanSwatchSize |
The thickness and length of the (square) NaN swatch. | |
double | SwatchPad |
Space in pixels between swatches when in indexed lookup mode. | |
int | NumNotes |
Number of annotated values (at least lut->GetNumberOfAnnotatedValues(), but maybe more) | |
int | NumColors |
Number of color swatches to draw for either the continuous or categorical scalar bar, not including a NaN swatch. | |
int | NumSwatches |
Either NumColors or NumColors + 1, depending on whether the NaN swatch is to be drawn. | |
int | TL [2] |
Permutation of (0, 1) that transforms thickness,length into width,height. | |
vtkPoints * | SwatchPts |
Point coordinates for the scalar bar actor. | |
vtkCellArray * | Polys |
Cells representing color swatches (for the scalar bar actor) | |
vtkUnsignedCharArray * | SwatchColors |
Colors of swatches in Polys. | |
vtkScalarBarBox | Frame |
The bounding box of the entire scalar bar frame. | |
vtkScalarBarBox | ScalarBarBox |
The bounding box of the scalar bar (excluding NaN swatch) | |
vtkScalarBarBox | NanBox |
The bounding box of the NaN swatch. | |
vtkScalarBarBox | TickBox |
The bounding box of tick mark anchor points (tick labels are not fully contained) | |
vtkScalarBarBox | TitleBox |
The bounding box of the scalar bar title text. | |
std::map< double, vtkStdString > | Labels |
Map from viewport coordinates to label text of each annotation. | |
std::map< double, vtkColor3ub > | LabelColors |
Map from viewport coordinates to the leader line color of each annotation. | |
ActorVec | TextActors |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyData * | AnnotationBoxes |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyDataMapper2D * | AnnotationBoxesMapper |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkActor2D * | AnnotationBoxesActor |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyData * | AnnotationLeaders |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyDataMapper2D * | AnnotationLeadersMapper |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkActor2D * | AnnotationLeadersActor |
Cache of classes holding geometry assembled and ready for rendering. | |
ActorVec | AnnotationLabels |
Cache of classes holding geometry assembled and ready for rendering. | |
std::vector< double > | AnnotationAnchors |
Cache of classes holding geometry assembled and ready for rendering. | |
std::vector< vtkColor3ub > | AnnotationColors |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyData * | NanSwatch |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyDataMapper2D * | NanSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkActor2D * | NanSwatchActor |
Cache of classes holding geometry assembled and ready for rendering. |
Internal state for the scalar bar actor shared with subclasses.
Definition at line 54 of file vtkScalarBarActorInternal.h.
Definition at line 75 of file vtkScalarBarActorInternal.h.
Definition at line 76 of file vtkScalarBarActorInternal.h.
typedef std::vector<double> vtkScalarBarActorInternal::DoubleVec |
Definition at line 79 of file vtkScalarBarActorInternal.h.
typedef std::vector<vtkColor3ub> vtkScalarBarActorInternal::ColorVec |
Definition at line 80 of file vtkScalarBarActorInternal.h.
vtkScalarBarActorInternal::vtkScalarBarActorInternal | ( | ) | [inline] |
Definition at line 57 of file vtkScalarBarActorInternal.h.
Cache of dimensions fixed during geometry assembly.
Only valid within methods invoked by vtkScalarBarActor::RebuildLayout().
Definition at line 87 of file vtkScalarBarActorInternal.h.
Resolution of the viewport; used to render text at the appropriate detail.
Definition at line 89 of file vtkScalarBarActorInternal.h.
The thickness and length of the (square) NaN swatch.
Definition at line 91 of file vtkScalarBarActorInternal.h.
Space in pixels between swatches when in indexed lookup mode.
Definition at line 93 of file vtkScalarBarActorInternal.h.
Number of annotated values (at least lut->GetNumberOfAnnotatedValues(), but maybe more)
Definition at line 95 of file vtkScalarBarActorInternal.h.
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.
Either NumColors or NumColors + 1, depending on whether the NaN swatch is to be drawn.
Definition at line 99 of file vtkScalarBarActorInternal.h.
Permutation of (0, 1) that transforms thickness,length into width,height.
Definition at line 101 of file vtkScalarBarActorInternal.h.
Point coordinates for the scalar bar actor.
Definition at line 103 of file vtkScalarBarActorInternal.h.
Cells representing color swatches (for the scalar bar actor)
Definition at line 105 of file vtkScalarBarActorInternal.h.
Colors of swatches in Polys.
Definition at line 107 of file vtkScalarBarActorInternal.h.
The bounding box of the entire scalar bar frame.
Definition at line 109 of file vtkScalarBarActorInternal.h.
The bounding box of the scalar bar (excluding NaN swatch)
Definition at line 111 of file vtkScalarBarActorInternal.h.
The bounding box of the NaN swatch.
Definition at line 113 of file vtkScalarBarActorInternal.h.
The bounding box of tick mark anchor points (tick labels are not fully contained)
Definition at line 115 of file vtkScalarBarActorInternal.h.
The bounding box of the scalar bar title text.
Definition at line 117 of file vtkScalarBarActorInternal.h.
Map from viewport coordinates to label text of each annotation.
Definition at line 119 of file vtkScalarBarActorInternal.h.
Map from viewport coordinates to the leader line color of each annotation.
Definition at line 121 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 126 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 127 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 128 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 129 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 130 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 131 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 132 of file vtkScalarBarActorInternal.h.
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.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 136 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 137 of file vtkScalarBarActorInternal.h.
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 138 of file vtkScalarBarActorInternal.h.