vtkDistanceRepresentation3D Class Reference

#include <vtkDistanceRepresentation3D.h>

Inheritance diagram for vtkDistanceRepresentation3D:

Inheritance graph
[legend]
Collaboration diagram for vtkDistanceRepresentation3D:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent the vtkDistanceWidget

The vtkDistanceRepresentation3D is a representation for the vtkDistanceWidget. This representation consists of a measuring line (axis) and two vtkHandleWidgets to place the end points of the line. Note that this particular widget draws its representation in 3D space, so the widget can be occluded.

See also:
vtkDistanceWidget vtkDistanceRepresentation vtkDistanceRepresentation2D
Tests:
vtkDistanceRepresentation3D (Tests)

Definition at line 50 of file vtkDistanceRepresentation3D.h.

typedef vtkDistanceRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkDistanceRepresentation3D
SafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Member Functions

virtual vtkPropertyGetLineProperty ()
void SetPoint1DisplayPosition (double pos[3])
void SetPoint2DisplayPosition (double pos[3])
void GetPoint1DisplayPosition (double pos[3])
void GetPoint2DisplayPosition (double pos[3])
virtual vtkPropertyGetLabelProperty ()
virtual double GetDistance ()
void SetGlyphScale (double scale)
virtual double GetGlyphScale ()
void SetLabelPosition (double labelPosition)
virtual double GetLabelPosition ()
virtual void SetMaximumNumberOfRulerTicks (int)
virtual int GetMaximumNumberOfRulerTicks ()
virtual vtkActorGetGlyphActor ()
virtual vtkFollowerGetLabelActor ()
double * GetPoint1WorldPosition ()
double * GetPoint2WorldPosition ()
void GetPoint1WorldPosition (double pos[3])
void GetPoint2WorldPosition (double pos[3])
void SetPoint1WorldPosition (double pos[3])
void SetPoint2WorldPosition (double pos[3])
virtual void BuildRepresentation ()
virtual double * GetBounds ()
virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
void SetLabelScale (double x, double y, double z)
virtual void SetLabelScale (double scale[3])
virtual double * GetLabelScale ()

Static Public Member Functions

static
vtkDistanceRepresentation3D
New ()

Protected Member Functions

 vtkDistanceRepresentation3D ()
 ~vtkDistanceRepresentation3D ()

Protected Attributes

vtkPointsLinePoints
vtkPolyDataLinePolyData
vtkPolyDataMapperLineMapper
vtkActorLineActor
vtkVectorTextLabelText
vtkPolyDataMapperLabelMapper
vtkFollowerLabelActor
bool LabelScaleSpecified
vtkPointsGlyphPoints
vtkDoubleArrayGlyphVectors
vtkPolyDataGlyphPolyData
vtkCylinderSourceGlyphCylinder
vtkTransformPolyDataFilterGlyphXForm
vtkGlyph3DGlyph3D
vtkPolyDataMapperGlyphMapper
vtkActorGlyphActor
double GlyphScale
bool GlyphScaleSpecified
double Distance
vtkBoxBoundingBox
int MaximumNumberOfRulerTicks
double LabelPosition

Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkDistanceRepresentation.

Definition at line 58 of file vtkDistanceRepresentation3D.h.


Constructor & Destructor Documentation

vtkDistanceRepresentation3D::vtkDistanceRepresentation3D (  )  [protected]

vtkDistanceRepresentation3D::~vtkDistanceRepresentation3D (  )  [protected]


Member Function Documentation

static vtkDistanceRepresentation3D* vtkDistanceRepresentation3D::New (  )  [static]

Instantiate class.

Reimplemented from vtkObject.

virtual const char* vtkDistanceRepresentation3D::GetClassName (  )  [virtual]

Standard VTK methods.

Reimplemented from vtkDistanceRepresentation.

static int vtkDistanceRepresentation3D::IsTypeOf ( const char *  type  )  [static]

Standard VTK methods.

Reimplemented from vtkDistanceRepresentation.

virtual int vtkDistanceRepresentation3D::IsA ( const char *  type  )  [virtual]

Standard VTK methods.

Reimplemented from vtkDistanceRepresentation.

static vtkDistanceRepresentation3D* vtkDistanceRepresentation3D::SafeDownCast ( vtkObject o  )  [static]

Standard VTK methods.

Reimplemented from vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard VTK methods.

Reimplemented from vtkDistanceRepresentation.

virtual double vtkDistanceRepresentation3D::GetDistance (  )  [inline, virtual]

Satisfy the superclasses API.

Implements vtkDistanceRepresentation.

Definition at line 64 of file vtkDistanceRepresentation3D.h.

void vtkDistanceRepresentation3D::SetGlyphScale ( double  scale  ) 

Scale the glyphs used as tick marks. By default it is 1/40th of the length.

virtual double vtkDistanceRepresentation3D::GetGlyphScale (  )  [virtual]

Scale the glyphs used as tick marks. By default it is 1/40th of the length.

virtual vtkProperty* vtkDistanceRepresentation3D::GetLineProperty (  )  [virtual]

Convenience method to get the line actor property.

void vtkDistanceRepresentation3D::SetLabelPosition ( double  labelPosition  ) 

Set/Get position of the label title in normalized coordinates [0,1]. 0 is at the start of the line whereas 1 is at the end.

virtual double vtkDistanceRepresentation3D::GetLabelPosition (  )  [virtual]

Set/Get position of the label title in normalized coordinates [0,1]. 0 is at the start of the line whereas 1 is at the end.

virtual void vtkDistanceRepresentation3D::SetMaximumNumberOfRulerTicks ( int   )  [virtual]

Set/Get the maximum number of ticks in ruler mode.

virtual int vtkDistanceRepresentation3D::GetMaximumNumberOfRulerTicks (  )  [virtual]

Set/Get the maximum number of ticks in ruler mode.

virtual vtkActor* vtkDistanceRepresentation3D::GetGlyphActor (  )  [virtual]

Convenience method to get the glyph actor. Using this it is possible to control the appearance of the glyphs.

virtual vtkFollower* vtkDistanceRepresentation3D::GetLabelActor (  )  [virtual]

Convenience method Get the label actor. It is possible to control the appearance of the label.

double* vtkDistanceRepresentation3D::GetPoint1WorldPosition (  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

double* vtkDistanceRepresentation3D::GetPoint2WorldPosition (  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::GetPoint1WorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::GetPoint2WorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::SetPoint1WorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::SetPoint2WorldPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::SetPoint1DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::SetPoint2DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::GetPoint1DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

void vtkDistanceRepresentation3D::GetPoint2DisplayPosition ( double  pos[3]  )  [virtual]

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Implements vtkDistanceRepresentation.

virtual void vtkDistanceRepresentation3D::BuildRepresentation (  )  [virtual]

Method to satisfy superclasses' API.

Reimplemented from vtkDistanceRepresentation.

virtual double* vtkDistanceRepresentation3D::GetBounds (  )  [virtual]

Method to satisfy superclasses' API.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkDistanceRepresentation3D::ReleaseGraphicsResources ( vtkWindow w  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkDistanceRepresentation3D::RenderOpaqueGeometry ( vtkViewport viewport  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkProp.

virtual int vtkDistanceRepresentation3D::RenderTranslucentPolygonalGeometry ( vtkViewport viewport  )  [virtual]

Methods required by vtkProp superclass.

Reimplemented from vtkProp.

void vtkDistanceRepresentation3D::SetLabelScale ( double  x,
double  y,
double  z 
) [inline]

Scale text (font size along each dimension). This helps control the appearance of the 3D text.

Definition at line 136 of file vtkDistanceRepresentation3D.h.

virtual void vtkDistanceRepresentation3D::SetLabelScale ( double  scale[3]  )  [virtual]

Scale text (font size along each dimension). This helps control the appearance of the 3D text.

virtual double* vtkDistanceRepresentation3D::GetLabelScale (  )  [virtual]

Scale text (font size along each dimension). This helps control the appearance of the 3D text.

virtual vtkProperty* vtkDistanceRepresentation3D::GetLabelProperty (  )  [virtual]

Get the distance annotation property


Member Data Documentation

Definition at line 156 of file vtkDistanceRepresentation3D.h.

Definition at line 157 of file vtkDistanceRepresentation3D.h.

Definition at line 158 of file vtkDistanceRepresentation3D.h.

Definition at line 159 of file vtkDistanceRepresentation3D.h.

Definition at line 162 of file vtkDistanceRepresentation3D.h.

Definition at line 163 of file vtkDistanceRepresentation3D.h.

Definition at line 164 of file vtkDistanceRepresentation3D.h.

Definition at line 167 of file vtkDistanceRepresentation3D.h.

Definition at line 170 of file vtkDistanceRepresentation3D.h.

Definition at line 171 of file vtkDistanceRepresentation3D.h.

Definition at line 172 of file vtkDistanceRepresentation3D.h.

Definition at line 173 of file vtkDistanceRepresentation3D.h.

Definition at line 174 of file vtkDistanceRepresentation3D.h.

Definition at line 175 of file vtkDistanceRepresentation3D.h.

Definition at line 176 of file vtkDistanceRepresentation3D.h.

Definition at line 177 of file vtkDistanceRepresentation3D.h.

Definition at line 180 of file vtkDistanceRepresentation3D.h.

Definition at line 181 of file vtkDistanceRepresentation3D.h.

Definition at line 184 of file vtkDistanceRepresentation3D.h.

Definition at line 187 of file vtkDistanceRepresentation3D.h.

Definition at line 190 of file vtkDistanceRepresentation3D.h.

Definition at line 193 of file vtkDistanceRepresentation3D.h.


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

Generated on Wed Aug 24 11:34:10 2011 for VTK by  doxygen 1.5.6