VTK
9.1.0
|
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. | |
double | NanSwatchSize |
The thickness and length of the (square) NaN swatch. | |
double | BelowRangeSwatchSize |
The thickness and length of the (square) Below Range swatch. | |
double | AboveRangeSwatchSize |
The thickness and length of the (square) Above Range 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 | BelowRangeSwatchBox |
The bounding box of the Below Range. | |
vtkScalarBarBox | AboveRangeSwatchBox |
The bounding box of the Above Range. | |
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. | |
ActorVector | TextActors |
Cache of classes holding geometry assembled and ready for rendering. | |
DoubleVector | TextActorAnchors |
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. | |
ActorVector | AnnotationLabels |
Cache of classes holding geometry assembled and ready for rendering. | |
DoubleVector | AnnotationAnchors |
Cache of classes holding geometry assembled and ready for rendering. | |
ColorVector | 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. | |
vtkPolyData * | BelowRangeSwatch |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyDataMapper2D * | BelowRangeSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkActor2D * | BelowRangeSwatchActor |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyData * | AboveRangeSwatch |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkPolyDataMapper2D * | AboveRangeSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering. | |
vtkActor2D * | AboveRangeSwatchActor |
Cache of classes holding geometry assembled and ready for rendering. | |
Internal state for the scalar bar actor shared with subclasses.
Definition at line 56 of file vtkScalarBarActorInternal.h.
Definition at line 85 of file vtkScalarBarActorInternal.h.
typedef std::vector<double> vtkScalarBarActorInternal::DoubleVector |
Definition at line 88 of file vtkScalarBarActorInternal.h.
typedef std::vector<vtkColor3ub> vtkScalarBarActorInternal::ColorVector |
Definition at line 89 of file vtkScalarBarActorInternal.h.
|
inline |
Definition at line 59 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 96 of file vtkScalarBarActorInternal.h.
double vtkScalarBarActorInternal::NanSwatchSize |
The thickness and length of the (square) NaN swatch.
Definition at line 99 of file vtkScalarBarActorInternal.h.
double vtkScalarBarActorInternal::BelowRangeSwatchSize |
The thickness and length of the (square) Below Range swatch.
Definition at line 102 of file vtkScalarBarActorInternal.h.
double vtkScalarBarActorInternal::AboveRangeSwatchSize |
The thickness and length of the (square) Above Range swatch.
Definition at line 105 of file vtkScalarBarActorInternal.h.
double vtkScalarBarActorInternal::SwatchPad |
Space in pixels between swatches when in indexed lookup mode.
Definition at line 108 of file vtkScalarBarActorInternal.h.
int vtkScalarBarActorInternal::NumNotes |
Number of annotated values (at least lut->GetNumberOfAnnotatedValues(), but maybe more)
Definition at line 112 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 116 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 120 of file vtkScalarBarActorInternal.h.
int vtkScalarBarActorInternal::TL[2] |
Permutation of (0, 1) that transforms thickness,length into width,height.
Definition at line 124 of file vtkScalarBarActorInternal.h.
vtkPoints* vtkScalarBarActorInternal::SwatchPts |
Point coordinates for the scalar bar actor.
Definition at line 128 of file vtkScalarBarActorInternal.h.
vtkCellArray* vtkScalarBarActorInternal::Polys |
Cells representing color swatches (for the scalar bar actor)
Definition at line 131 of file vtkScalarBarActorInternal.h.
vtkUnsignedCharArray* vtkScalarBarActorInternal::SwatchColors |
Colors of swatches in Polys.
Definition at line 134 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::Frame |
The bounding box of the entire scalar bar frame.
Definition at line 137 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::ScalarBarBox |
The bounding box of the scalar bar (excluding NaN swatch)
Definition at line 140 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::NanBox |
The bounding box of the NaN swatch.
Definition at line 143 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::BelowRangeSwatchBox |
The bounding box of the Below Range.
Definition at line 146 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::AboveRangeSwatchBox |
The bounding box of the Above Range.
Definition at line 149 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::TickBox |
The bounding box of tick mark anchor points (tick labels are not fully contained)
Definition at line 153 of file vtkScalarBarActorInternal.h.
vtkScalarBarBox vtkScalarBarActorInternal::TitleBox |
The bounding box of the scalar bar title text.
Definition at line 156 of file vtkScalarBarActorInternal.h.
std::map<double, vtkStdString> vtkScalarBarActorInternal::Labels |
Map from viewport coordinates to label text of each annotation.
Definition at line 159 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 163 of file vtkScalarBarActorInternal.h.
ActorVector vtkScalarBarActorInternal::TextActors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 168 of file vtkScalarBarActorInternal.h.
DoubleVector vtkScalarBarActorInternal::TextActorAnchors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 169 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::AnnotationBoxes |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 170 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationBoxesMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 171 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::AnnotationBoxesActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 172 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::AnnotationLeaders |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 173 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::AnnotationLeadersMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 174 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::AnnotationLeadersActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 175 of file vtkScalarBarActorInternal.h.
ActorVector vtkScalarBarActorInternal::AnnotationLabels |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 176 of file vtkScalarBarActorInternal.h.
DoubleVector vtkScalarBarActorInternal::AnnotationAnchors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 177 of file vtkScalarBarActorInternal.h.
ColorVector vtkScalarBarActorInternal::AnnotationColors |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 178 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::NanSwatch |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 179 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::NanSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 180 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::NanSwatchActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 181 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::BelowRangeSwatch |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 183 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::BelowRangeSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 184 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::BelowRangeSwatchActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 185 of file vtkScalarBarActorInternal.h.
vtkPolyData* vtkScalarBarActorInternal::AboveRangeSwatch |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 187 of file vtkScalarBarActorInternal.h.
vtkPolyDataMapper2D* vtkScalarBarActorInternal::AboveRangeSwatchMapper |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 188 of file vtkScalarBarActorInternal.h.
vtkActor2D* vtkScalarBarActorInternal::AboveRangeSwatchActor |
Cache of classes holding geometry assembled and ready for rendering.
Definition at line 189 of file vtkScalarBarActorInternal.h.