Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

vtkOrientedGlyphFocalPlaneContourRepresentation Class Reference

Contours constrained to a focal plane. More...

#include <vtkOrientedGlyphFocalPlaneContourRepresentation.h>

Inheritance diagram for vtkOrientedGlyphFocalPlaneContourRepresentation:
Inheritance graph
[legend]
Collaboration diagram for vtkOrientedGlyphFocalPlaneContourRepresentation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual vtkPolyData * GetContourRepresentationAsPolyData ()
vtkMatrix4x4 * GetContourPlaneDirectionCosines (const double origin[3])

void SetCursorShape (vtkPolyData *cursorShape)
vtkPolyData * GetCursorShape ()

void SetActiveCursorShape (vtkPolyData *activeShape)
vtkPolyData * GetActiveCursorShape ()

virtual vtkProperty2D * GetProperty ()

virtual vtkProperty2D * GetActiveProperty ()

virtual vtkProperty2D * GetLinesProperty ()

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

vtkActor2D * Actor
vtkPolyDataMapper2D * Mapper
vtkGlyph2D * Glypher
vtkActor2D * ActiveActor
vtkPolyDataMapper2D * ActiveMapper
vtkGlyph2D * ActiveGlypher
vtkPolyData * CursorShape
vtkPolyData * ActiveCursorShape
vtkPolyData * FocalData
vtkPoints * FocalPoint
vtkPolyData * ActiveFocalData
vtkPoints * ActiveFocalPoint
vtkPolyData * Lines
vtkPolyDataMapper2D * LinesMapper
vtkActor2D * LinesActor
vtkPolyData * LinesWorldCoordinates
double LastPickPosition [3]
double LastEventPosition [2]
vtkProperty2D * Property
vtkProperty2D * ActiveProperty
vtkProperty2D * LinesProperty
vtkMatrix4x4 * ContourPlaneDirectionCosines
double InteractionOffset [2]



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)

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.


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: