VTK
Public Member Functions | Protected Member Functions
vtkFocalPlaneContourRepresentation Class Reference

represent a contour drawn on the focal plane. More...

#include <vtkFocalPlaneContourRepresentation.h>

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

List of all members.

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 ()
typedef vtkContourRepresentation Superclass
static int IsTypeOf (const char *type)
static
vtkFocalPlaneContourRepresentation
SafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkFocalPlaneContourRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

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 40 of file vtkFocalPlaneContourRepresentation.h.


Member Typedef Documentation

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

Definition at line 45 of file vtkFocalPlaneContourRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

Standard VTK methods.

Reimplemented from vtkContourRepresentation.

Reimplemented in vtkOrientedGlyphFocalPlaneContourRepresentation.

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.

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.

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.

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.

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.

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.

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: