vtkFocalPlaneContourRepresentation Class Reference

#include <vtkFocalPlaneContourRepresentation.h>

Inheritance diagram for vtkFocalPlaneContourRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkFocalPlaneContourRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

represent a contour drawn on the focal plane.

The contour will stay on the focal plane irrespective of camera position/orientation changes. 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. The superclass, vtkContourRepresentation handles contours that are drawn in actual world position co-ordinates, so they would rotate with the camera position/ orientation changes

See also:
vtkContourWidget vtkHandleRepresentation vtkContourRepresentation

Definition at line 39 of file vtkFocalPlaneContourRepresentation.h.

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

Public Member Functions

virtual int GetNthNodeDisplayPosition (int n, double pos[2])
virtual int GetNthNodeWorldPosition (int n, double pos[3])
virtual void UpdateContourWorldPositionsBasedOnDisplayPositions ()
virtual int UpdateContour ()
virtual void UpdateLines (int index)
virtual int GetIntermediatePointWorldPosition (int n, int idx, double point[3])
virtual int GetIntermediatePointDisplayPosition (int n, int idx, double point[3])

Protected Member Functions

 vtkFocalPlaneContourRepresentation ()
 ~vtkFocalPlaneContourRepresentation ()

Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

Definition at line 44 of file vtkFocalPlaneContourRepresentation.h.


Constructor & Destructor Documentation

vtkFocalPlaneContourRepresentation::vtkFocalPlaneContourRepresentation (  )  [protected]

vtkFocalPlaneContourRepresentation::~vtkFocalPlaneContourRepresentation (  )  [protected]


Member Function Documentation

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

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

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

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

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

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

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

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

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

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

virtual int vtkFocalPlaneContourRepresentation::GetIntermediatePointWorldPosition ( int  n,
int  idx,
double  point[3] 
) [virtual]

Get the world position of the intermediate point at index idx between nodes n and (n+1) (or n and 0 if n is the last node and the loop is closed). Returns 1 on success or 0 if n or idx are out of range.

Reimplemented from vtkContourRepresentation.

virtual int vtkFocalPlaneContourRepresentation::GetIntermediatePointDisplayPosition ( int  n,
int  idx,
double  point[3] 
) [virtual]

Get the world position of the intermediate point at index idx between nodes n and (n+1) (or n and 0 if n is the last node and the loop is closed). Returns 1 on success or 0 if n or idx are out of range.

virtual int vtkFocalPlaneContourRepresentation::GetNthNodeDisplayPosition ( int  n,
double  pos[2] 
) [virtual]

Get the nth node's display position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).

Reimplemented from vtkContourRepresentation.

virtual int vtkFocalPlaneContourRepresentation::GetNthNodeWorldPosition ( int  n,
double  pos[3] 
) [virtual]

Get the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).

Reimplemented from vtkContourRepresentation.

virtual void vtkFocalPlaneContourRepresentation::UpdateContourWorldPositionsBasedOnDisplayPositions (  )  [virtual]

The class maintains its true contour locations based on display co-ords This method syncs the world co-ords data structure with the display co-ords.

virtual int vtkFocalPlaneContourRepresentation::UpdateContour (  )  [virtual]

The method must be called whenever the contour needs to be updated, usually from RenderOpaqueGeometry()

Reimplemented from vtkContourRepresentation.

virtual void vtkFocalPlaneContourRepresentation::UpdateLines ( int  index  )  [virtual]

Reimplemented from vtkContourRepresentation.


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

Generated on Wed Jun 3 19:03:27 2009 for VTK by  doxygen 1.5.6