SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
svkLabeledDataMapper Class Reference

#include <svkLabeledDataMapper.h>

Inheritance diagram for svkLabeledDataMapper:

Classes

class  Internals
 

Public Types

enum  Coordinates { WORLD =0, DISPLAY =1 }
 Coordinate systems that output dataset may use. More...
 

Public Member Functions

 vtkTypeMacro (svkLabeledDataMapper, vtkMapper2D)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
 vtkSetStringMacro (LabelFormat)
 
 vtkGetStringMacro (LabelFormat)
 
 vtkSetMacro (LabeledComponent, int)
 
 vtkGetMacro (LabeledComponent, int)
 
 vtkSetMacro (DisplayTags, bool)
 
 vtkGetMacro (DisplayTags, bool)
 
void SetFieldDataArray (int arrayIndex)
 
 vtkGetMacro (FieldDataArray, int)
 
void SetFieldDataName (const char *arrayName)
 
 vtkGetStringMacro (FieldDataName)
 
virtual void SetInput (vtkDataObject *)
 
vtkDataSet * GetInput ()
 
 vtkSetMacro (LabelMode, int)
 
 vtkGetMacro (LabelMode, int)
 
void SetLabelModeToLabelIds ()
 
void SetLabelModeToLabelScalars ()
 
void SetLabelModeToLabelVectors ()
 
void SetLabelModeToLabelNormals ()
 
void SetLabelModeToLabelTCoords ()
 
void SetLabelModeToLabelTensors ()
 
void SetLabelModeToLabelTags ()
 
void SetLabelModeToLabelFieldData ()
 
virtual void SetLabelTextProperty (vtkTextProperty *p)
 
virtual vtkTextProperty * GetLabelTextProperty ()
 
virtual void SetLabelTextProperty (vtkTextProperty *p, int type)
 
virtual vtkTextProperty * GetLabelTextProperty (int type)
 
void RenderOpaqueGeometry (vtkViewport *viewport, vtkActor2D *actor)
 
void RenderOverlay (vtkViewport *viewport, vtkActor2D *actor)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
 vtkGetObjectMacro (Transform, vtkTransform)
 
void SetTransform (vtkTransform *t)
 
 vtkGetMacro (CoordinateSystem, int)
 
 vtkSetClampMacro (CoordinateSystem, int, WORLD, DISPLAY)
 
void CoordinateSystemWorld ()
 
void CoordinateSystemDisplay ()
 
virtual unsigned long GetMTime ()
 

Static Public Member Functions

static svkLabeledDataMapperNew ()
 

Protected Member Functions

 svkLabeledDataMapper ()
 
 ~svkLabeledDataMapper ()
 
virtual int FillInputPortInformation (int, vtkInformation *)
 
void AllocateLabels (int numLabels)
 
void BuildLabels ()
 
void BuildLabelsInternal (vtkDataSet *)
 

Protected Attributes

vtkDataSet * Input
 
char * LabelFormat
 
int LabelMode
 
int LabeledComponent
 
int FieldDataArray
 
char * FieldDataName
 
int CoordinateSystem
 
bool DisplayTags
 
vtkTimeStamp BuildTime
 
int NumberOfLabels
 
int NumberOfLabelsAllocated
 
vtkTextMapper ** TextMappers
 
double * LabelPositions
 
vtkTransform * Transform
 
InternalsImplementation
 

Member Enumeration Documentation

Coordinate systems that output dataset may use.

Enumerator
WORLD 

Output 3-D world-space coordinates for each label anchor.

DISPLAY 

Output 2-D display coordinates for each label anchor (3 components but only 2 are significant).

Constructor & Destructor Documentation

svkLabeledDataMapper ( )
protected
~svkLabeledDataMapper ( )
protected

Member Function Documentation

void AllocateLabels ( int  numLabels)
protected
void BuildLabels ( )
protected
void BuildLabelsInternal ( vtkDataSet *  input)
protected
void CoordinateSystemDisplay ( )
inline

References DISPLAY.

void CoordinateSystemWorld ( )
inline

References WORLD.

int FillInputPortInformation ( int   ,
vtkInformation *   
)
protectedvirtual
vtkDataSet * GetInput ( )
virtual vtkTextProperty* GetLabelTextProperty ( )
inlinevirtual
vtkTextProperty * GetLabelTextProperty ( int  type)
virtual
unsigned long GetMTime ( )
virtual
static svkLabeledDataMapper* New ( )
static
void PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void ReleaseGraphicsResources ( vtkWindow *  win)
virtual
void RenderOpaqueGeometry ( vtkViewport *  viewport,
vtkActor2D *  actor 
)
void RenderOverlay ( vtkViewport *  viewport,
vtkActor2D *  actor 
)
void SetFieldDataArray ( int  arrayIndex)

References FieldDataArray, and FieldDataName.

void SetFieldDataName ( const char *  arrayName)

References FieldDataName.

Referenced by ~svkLabeledDataMapper().

void SetInput ( vtkDataObject *  input)
virtual
void SetLabelModeToLabelFieldData ( )
inline

References VTK_LABEL_FIELD_DATA.

void SetLabelModeToLabelIds ( )
inline

References VTK_LABEL_IDS.

void SetLabelModeToLabelNormals ( )
inline

References VTK_LABEL_NORMALS.

void SetLabelModeToLabelScalars ( )
inline
void SetLabelModeToLabelTags ( )
inline

References SVK_LABEL_DATA_TAGS.

void SetLabelModeToLabelTCoords ( )
inline

References VTK_LABEL_TCOORDS.

void SetLabelModeToLabelTensors ( )
inline

References VTK_LABEL_TENSORS.

void SetLabelModeToLabelVectors ( )
inline

References VTK_LABEL_VECTORS.

virtual void SetLabelTextProperty ( vtkTextProperty *  p)
inlinevirtual
void SetLabelTextProperty ( vtkTextProperty *  p,
int  type 
)
virtual
void SetTransform ( vtkTransform *  t)

Referenced by ~svkLabeledDataMapper().

vtkGetMacro ( LabeledComponent  ,
int   
)
vtkGetMacro ( DisplayTags  ,
bool   
)
vtkGetMacro ( FieldDataArray  ,
int   
)
vtkGetMacro ( LabelMode  ,
int   
)
vtkGetMacro ( CoordinateSystem  ,
int   
)
vtkGetObjectMacro ( Transform  ,
vtkTransform   
)
vtkGetStringMacro ( LabelFormat  )
vtkGetStringMacro ( FieldDataName  )
vtkSetClampMacro ( CoordinateSystem  ,
int  ,
WORLD  ,
DISPLAY   
)
vtkSetMacro ( LabeledComponent  ,
int   
)
vtkSetMacro ( DisplayTags  ,
bool   
)
vtkSetMacro ( LabelMode  ,
int   
)
vtkSetStringMacro ( LabelFormat  )
vtkTypeMacro ( svkLabeledDataMapper  ,
vtkMapper2D   
)

Member Data Documentation

vtkTimeStamp BuildTime
protected
int CoordinateSystem
protected
bool DisplayTags
protected
int FieldDataArray
protected
char* FieldDataName
protected
Internals* Implementation
protected
vtkDataSet* Input
protected

Referenced by PrintSelf(), and svkLabeledDataMapper().

int LabeledComponent
protected
char* LabelFormat
protected
int LabelMode
protected
double* LabelPositions
protected
int NumberOfLabels
protected
int NumberOfLabelsAllocated
protected
vtkTextMapper** TextMappers
protected
vtkTransform* Transform
protected

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