51 #ifndef __vtkLabeledDataMapper_h
52 #define __vtkLabeledDataMapper_h
62 #define VTK_LABEL_IDS 0
63 #define VTK_LABEL_SCALARS 1
64 #define VTK_LABEL_VECTORS 2
65 #define VTK_LABEL_NORMALS 3
66 #define VTK_LABEL_TCOORDS 4
67 #define VTK_LABEL_TENSORS 5
68 #define VTK_LABEL_FIELD_DATA 6
89 vtkSetStringMacro(LabelFormat);
90 vtkGetStringMacro(LabelFormat);
99 vtkSetMacro(LabeledComponent,
int);
100 vtkGetMacro(LabeledComponent,
int);
107 void SetFieldDataArray(
int arrayIndex);
108 vtkGetMacro(FieldDataArray,
int);
115 void SetFieldDataName(
const char *arrayName);
116 vtkGetStringMacro(FieldDataName);
132 vtkSetMacro(LabelMode,
int);
133 vtkGetMacro(LabelMode,
int);
149 { this->SetLabelTextProperty(p, 0); }
151 {
return this->GetLabelTextProperty(0); }
184 vtkGetMacro(CoordinateSystem,
int);
185 vtkSetClampMacro(CoordinateSystem,
int,WORLD,DISPLAY);
216 void AllocateLabels(
int numLabels);
virtual unsigned long GetMTime()
void SetLabelModeToLabelFieldData()
void CoordinateSystemWorld()
#define VTK_LABEL_NORMALS
#define VTK_LABEL_VECTORS
void SetLabelModeToLabelTCoords()
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
abstract specification for Viewports
Output 3-D world-space coordinates for each label anchor.
abstract class to specify dataset behavior
void SetLabelModeToLabelTensors()
vtkTextMapper ** TextMappers
a actor that draws 2D data
record modification and/or execution time
Coordinates
Coordinate systems that output dataset may use.
#define VTK_LABEL_SCALARS
#define VTK_LABEL_TCOORDS
void SetLabelModeToLabelIds()
draw text labels at dataset points
void SetLabelModeToLabelVectors()
window superclass for vtkRenderWindow
void CoordinateSystemDisplay()
a simple class to control print indentation
Internals * Implementation
void PrintSelf(ostream &os, vtkIndent indent)
represent text properties.
void SetLabelModeToLabelScalars()
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTK_LABEL_TENSORS
#define VTK_LABEL_FIELD_DATA
void SetLabelModeToLabelNormals()
int NumberOfLabelsAllocated
virtual void ReleaseGraphicsResources(vtkWindow *)
virtual vtkTextProperty * GetLabelTextProperty()
static vtkAlgorithm * New()
virtual void RenderOpaqueGeometry(vtkViewport *, vtkActor2D *)
general representation of visualization data
abstract class specifies interface for objects which render 2D actors
virtual void SetLabelTextProperty(vtkTextProperty *p)
Output 2-D display coordinates for each label anchor (3 components but only 2 are significant)...