vtkOrientedGlyphContourRepresentation Class Reference

#include <vtkOrientedGlyphContourRepresentation.h>

Inheritance diagram for vtkOrientedGlyphContourRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkOrientedGlyphContourRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

Default representation for the contour widget.

This class provides the default concrete representation for the vtkContourWidget. It works in conjunction with the vtkContourLineInterpolator and vtkPointPlacer. See vtkContourWidget for details.

See also:
vtkContourRepresentation vtkContourWidget vtkPointPlacer vtkContourLineInterpolator
Tests:
vtkOrientedGlyphContourRepresentation (Tests)

Definition at line 42 of file vtkOrientedGlyphContourRepresentation.h.

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

Public Member Functions

virtual vtkPolyDataGetContourRepresentationAsPolyData ()
void SetLineColor (double r, double g, double b)
virtual void SetShowSelectedNodes (int)
virtual double * GetBounds ()
void SetCursorShape (vtkPolyData *cursorShape)
vtkPolyDataGetCursorShape ()
void SetActiveCursorShape (vtkPolyData *activeShape)
vtkPolyDataGetActiveCursorShape ()
virtual vtkPropertyGetProperty ()
virtual vtkPropertyGetActiveProperty ()
virtual vtkPropertyGetLinesProperty ()
virtual void SetRenderer (vtkRenderer *ren)
virtual void BuildRepresentation ()
virtual void StartWidgetInteraction (double eventPos[2])
virtual void WidgetInteraction (double eventPos[2])
virtual int ComputeInteractionState (int X, int Y, int modified=0)
virtual void GetActors (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *viewport)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()
virtual void SetAlwaysOnTop (int)
virtual int GetAlwaysOnTop ()
virtual void AlwaysOnTopOn ()
virtual void AlwaysOnTopOff ()

Static Public Member Functions

static
vtkOrientedGlyphContourRepresentation
New ()

Protected Member Functions

 vtkOrientedGlyphContourRepresentation ()
 ~vtkOrientedGlyphContourRepresentation ()
void CreateSelectedNodesRepresentation ()
void Translate (double eventPos[2])
void Scale (double eventPos[2])
void ShiftContour (double eventPos[2])
void ScaleContour (double eventPos[2])
void ComputeCentroid (double *ioCentroid)
void CreateDefaultProperties ()
virtual void BuildLines ()

Protected Attributes

vtkActorActor
vtkPolyDataMapperMapper
vtkGlyph3DGlypher
vtkActorActiveActor
vtkPolyDataMapperActiveMapper
vtkGlyph3DActiveGlypher
vtkPolyDataCursorShape
vtkPolyDataActiveCursorShape
vtkPolyDataFocalData
vtkPointsFocalPoint
vtkPolyDataActiveFocalData
vtkPointsActiveFocalPoint
vtkPolyDataSelectedNodesData
vtkPointsSelectedNodesPoints
vtkActorSelectedNodesActor
vtkPolyDataMapperSelectedNodesMapper
vtkGlyph3DSelectedNodesGlypher
vtkPolyDataSelectedNodesCursorShape
vtkPolyDataLines
vtkPolyDataMapperLinesMapper
vtkActorLinesActor
double LastPickPosition [3]
double LastEventPosition [2]
vtkPropertyProperty
vtkPropertyActiveProperty
vtkPropertyLinesProperty
double InteractionOffset [2]
int AlwaysOnTop

Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkContourRepresentation.

Definition at line 50 of file vtkOrientedGlyphContourRepresentation.h.


Constructor & Destructor Documentation

vtkOrientedGlyphContourRepresentation::vtkOrientedGlyphContourRepresentation (  )  [protected]

vtkOrientedGlyphContourRepresentation::~vtkOrientedGlyphContourRepresentation (  )  [protected]


Member Function Documentation

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

Instantiate this class.

Reimplemented from vtkObject.

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

Standard methods for instances of this class.

Reimplemented from vtkContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkContourRepresentation.

void vtkOrientedGlyphContourRepresentation::SetCursorShape ( vtkPolyData cursorShape  ) 

Specify the cursor shape. Keep in mind that the shape will be aligned with the constraining plane by orienting it such that the x axis of the geometry lies along the normal of the plane.

vtkPolyData* vtkOrientedGlyphContourRepresentation::GetCursorShape (  ) 

Specify the cursor shape. Keep in mind that the shape will be aligned with the constraining plane by orienting it such that the x axis of the geometry lies along the normal of the plane.

void vtkOrientedGlyphContourRepresentation::SetActiveCursorShape ( vtkPolyData activeShape  ) 

Specify the shape of the cursor (handle) when it is active. This is the geometry that will be used when the mouse is close to the handle or if the user is manipulating the handle.

vtkPolyData* vtkOrientedGlyphContourRepresentation::GetActiveCursorShape (  ) 

Specify the shape of the cursor (handle) when it is active. This is the geometry that will be used when the mouse is close to the handle or if the user is manipulating the handle.

virtual vtkProperty* vtkOrientedGlyphContourRepresentation::GetProperty (  )  [virtual]

This is the property used when the handle is not active (the mouse is not near the handle)

virtual vtkProperty* vtkOrientedGlyphContourRepresentation::GetActiveProperty (  )  [virtual]

This is the property used when the user is interacting with the handle.

virtual vtkProperty* vtkOrientedGlyphContourRepresentation::GetLinesProperty (  )  [virtual]

This is the property used by the lines.

virtual void vtkOrientedGlyphContourRepresentation::SetRenderer ( vtkRenderer ren  )  [virtual]

Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkOrientedGlyphContourRepresentation::BuildRepresentation (  )  [virtual]

Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Implements vtkContourRepresentation.

virtual void vtkOrientedGlyphContourRepresentation::StartWidgetInteraction ( double  eventPos[2]  )  [virtual]

Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Implements vtkContourRepresentation.

virtual void vtkOrientedGlyphContourRepresentation::WidgetInteraction ( double  eventPos[2]  )  [virtual]

Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Implements vtkContourRepresentation.

virtual int vtkOrientedGlyphContourRepresentation::ComputeInteractionState ( int  X,
int  Y,
int  modified = 0 
) [virtual]

Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Implements vtkContourRepresentation.

virtual void vtkOrientedGlyphContourRepresentation::GetActors ( vtkPropCollection  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkOrientedGlyphContourRepresentation::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

virtual int vtkOrientedGlyphContourRepresentation::RenderOverlay ( vtkViewport viewport  )  [virtual]

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

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

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

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

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

virtual int vtkOrientedGlyphContourRepresentation::HasTranslucentPolygonalGeometry (  )  [virtual]

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

virtual vtkPolyData* vtkOrientedGlyphContourRepresentation::GetContourRepresentationAsPolyData (  )  [virtual]

Get the points in this contour as a vtkPolyData.

Implements vtkContourRepresentation.

virtual void vtkOrientedGlyphContourRepresentation::SetAlwaysOnTop ( int   )  [virtual]

Controls whether the contour widget should always appear on top of other actors in the scene. (In effect, this will disable OpenGL Depth buffer tests while rendering the contour). Default is to set it to false.

virtual int vtkOrientedGlyphContourRepresentation::GetAlwaysOnTop (  )  [virtual]

Controls whether the contour widget should always appear on top of other actors in the scene. (In effect, this will disable OpenGL Depth buffer tests while rendering the contour). Default is to set it to false.

virtual void vtkOrientedGlyphContourRepresentation::AlwaysOnTopOn (  )  [virtual]

Controls whether the contour widget should always appear on top of other actors in the scene. (In effect, this will disable OpenGL Depth buffer tests while rendering the contour). Default is to set it to false.

virtual void vtkOrientedGlyphContourRepresentation::AlwaysOnTopOff (  )  [virtual]

Controls whether the contour widget should always appear on top of other actors in the scene. (In effect, this will disable OpenGL Depth buffer tests while rendering the contour). Default is to set it to false.

void vtkOrientedGlyphContourRepresentation::SetLineColor ( double  r,
double  g,
double  b 
)

Convenience method to set the line color. Ideally one should use GetLinesProperty()->SetColor().

virtual void vtkOrientedGlyphContourRepresentation::SetShowSelectedNodes ( int   )  [virtual]

A flag to indicate whether to show the Selected nodes Default is to set it to false.

Reimplemented from vtkContourRepresentation.

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

Return the bounds of the representation

Reimplemented from vtkWidgetRepresentation.

void vtkOrientedGlyphContourRepresentation::CreateSelectedNodesRepresentation (  )  [protected]

void vtkOrientedGlyphContourRepresentation::Translate ( double  eventPos[2]  )  [protected]

void vtkOrientedGlyphContourRepresentation::Scale ( double  eventPos[2]  )  [protected]

void vtkOrientedGlyphContourRepresentation::ShiftContour ( double  eventPos[2]  )  [protected]

void vtkOrientedGlyphContourRepresentation::ScaleContour ( double  eventPos[2]  )  [protected]

void vtkOrientedGlyphContourRepresentation::ComputeCentroid ( double *  ioCentroid  )  [protected]

void vtkOrientedGlyphContourRepresentation::CreateDefaultProperties (  )  [protected]

virtual void vtkOrientedGlyphContourRepresentation::BuildLines (  )  [protected, virtual]


Member Data Documentation

Definition at line 137 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 138 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 139 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 140 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 141 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 142 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 143 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 144 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 145 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 146 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 147 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 148 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 150 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 151 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 152 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 153 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 154 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 155 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 158 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 159 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 160 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 163 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 164 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 176 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 177 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 178 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 184 of file vtkOrientedGlyphContourRepresentation.h.

Definition at line 186 of file vtkOrientedGlyphContourRepresentation.h.


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

Generated on Wed Aug 24 11:52:13 2011 for VTK by  doxygen 1.5.6