vtkOrientedGlyphFocalPlaneContourRepresentation Class Reference

#include <vtkOrientedGlyphFocalPlaneContourRepresentation.h>

Inheritance diagram for vtkOrientedGlyphFocalPlaneContourRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkOrientedGlyphFocalPlaneContourRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

Contours constrained to a focal plane.

This class is used to represent a contour drawn on the focal plane (usually overlayed on top of an image or volume widget). The class was written in order to be able to draw contours on a volume widget and have the contours overlayed on the focal plane in order to do contour segmentation.

See also:
vtkOrientedGlyphContourRepresentation

Definition at line 43 of file vtkOrientedGlyphFocalPlaneContourRepresentation.h.

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

Public Member Functions

virtual vtkPolyDataGetContourRepresentationAsPolyData ()
vtkMatrix4x4GetContourPlaneDirectionCosines (const double origin[3])
void SetCursorShape (vtkPolyData *cursorShape)
vtkPolyDataGetCursorShape ()
void SetActiveCursorShape (vtkPolyData *activeShape)
vtkPolyDataGetActiveCursorShape ()
virtual vtkProperty2DGetProperty ()
virtual vtkProperty2DGetActiveProperty ()
virtual vtkProperty2DGetLinesProperty ()
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 GetActors2D (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *viewport)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()

Static Public Member Functions

static
vtkOrientedGlyphFocalPlaneContourRepresentation
New ()

Protected Member Functions

 vtkOrientedGlyphFocalPlaneContourRepresentation ()
 ~vtkOrientedGlyphFocalPlaneContourRepresentation ()
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 ()
void BuildLines ()

Protected Attributes

vtkActor2DActor
vtkPolyDataMapper2DMapper
vtkGlyph2DGlypher
vtkActor2DActiveActor
vtkPolyDataMapper2DActiveMapper
vtkGlyph2DActiveGlypher
vtkPolyDataCursorShape
vtkPolyDataActiveCursorShape
vtkPolyDataFocalData
vtkPointsFocalPoint
vtkPolyDataActiveFocalData
vtkPointsActiveFocalPoint
vtkPolyDataLines
vtkPolyDataMapper2DLinesMapper
vtkActor2DLinesActor
vtkPolyDataLinesWorldCoordinates
double LastPickPosition [3]
double LastEventPosition [2]
vtkProperty2DProperty
vtkProperty2DActiveProperty
vtkProperty2DLinesProperty
vtkMatrix4x4ContourPlaneDirectionCosines
double InteractionOffset [2]

Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

Definition at line 53 of file vtkOrientedGlyphFocalPlaneContourRepresentation.h.


Constructor & Destructor Documentation

vtkOrientedGlyphFocalPlaneContourRepresentation::vtkOrientedGlyphFocalPlaneContourRepresentation (  )  [protected]

vtkOrientedGlyphFocalPlaneContourRepresentation::~vtkOrientedGlyphFocalPlaneContourRepresentation (  )  [protected]


Member Function Documentation

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

Instantiate this class.

Reimplemented from vtkObject.

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

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

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

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

void vtkOrientedGlyphFocalPlaneContourRepresentation::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* vtkOrientedGlyphFocalPlaneContourRepresentation::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 vtkOrientedGlyphFocalPlaneContourRepresentation::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* vtkOrientedGlyphFocalPlaneContourRepresentation::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 vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::GetProperty (  )  [virtual]

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

virtual vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::GetActiveProperty (  )  [virtual]

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

virtual vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::GetLinesProperty (  )  [virtual]

This is the property used by the lines.

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

Subclasses of vtkOrientedGlyphFocalPlaneContourRepresentation 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 vtkOrientedGlyphFocalPlaneContourRepresentation::BuildRepresentation (  )  [virtual]

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

Implements vtkContourRepresentation.

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

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

Implements vtkContourRepresentation.

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

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

Implements vtkContourRepresentation.

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

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

Implements vtkContourRepresentation.

virtual void vtkOrientedGlyphFocalPlaneContourRepresentation::GetActors2D ( vtkPropCollection  )  [virtual]

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

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

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

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

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

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

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

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

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::HasTranslucentPolygonalGeometry (  )  [virtual]

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

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

Get the points in this contour as a vtkPolyData.

Implements vtkContourRepresentation.

vtkMatrix4x4* vtkOrientedGlyphFocalPlaneContourRepresentation::GetContourPlaneDirectionCosines ( const double  origin[3]  ) 

Direction cosines of the plane on which the contour lies on in world co-ordinates. This would be the same matrix that would be set in vtkImageReslice or vtkImagePlaneWidget if there were a plane passing through the contour points. The origin must be the origin of the data under the contour.

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

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

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

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

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

void vtkOrientedGlyphFocalPlaneContourRepresentation::CreateDefaultProperties (  )  [protected]

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


Member Data Documentation


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

Generated on Wed Jun 3 19:21:36 2009 for VTK by  doxygen 1.5.6