VTK
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 (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkOrientedGlyphFocalPlaneContourRepresentation * NewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBase * NewInstanceInternal () const

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 44 of file vtkOrientedGlyphFocalPlaneContourRepresentation.h.


Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

Definition at line 54 of file vtkOrientedGlyphFocalPlaneContourRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate this class.

Reimplemented from vtkObject.

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.

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

Standard methods for instances of this class.

Reimplemented from vtkFocalPlaneContourRepresentation.

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.

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.

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.

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.

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.

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

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

This is the property used by the lines.

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.

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.

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.

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.

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.

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

Methods to make this class behave as a vtkProp.

Implements vtkContourRepresentation.

Get the points in this contour as a vtkPolyData.

Implements vtkContourRepresentation.

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.


Member Data Documentation


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