VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageOrthoPlanes Class Reference

Connect three vtkImagePlaneWidgets together. More...

#include <vtkImageOrthoPlanes.h>

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

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageOrthoPlanesNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void ResetPlanes ()
vtkTransformGetTransform ()
void HandlePlaneEvent (vtkImagePlaneWidget *imagePlaneWidget)
void SetPlane (int i, vtkImagePlaneWidget *imagePlaneWidget)
vtkImagePlaneWidgetGetPlane (int i)

Static Public Member Functions

static vtkImageOrthoPlanesNew ()
static int IsTypeOf (const char *type)
static vtkImageOrthoPlanesSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageOrthoPlanes ()
 ~vtkImageOrthoPlanes ()
void HandlePlaneRotation (vtkImagePlaneWidget *imagePlaneWidget, int indexOfModifiedPlane)
void HandlePlanePush (vtkImagePlaneWidget *imagePlaneWidget, int indexOfModifiedPlane)
void HandlePlaneTranslate (vtkImagePlaneWidget *imagePlaneWidget, int indexOfModifiedPlane)
void HandlePlaneScale (vtkImagePlaneWidget *imagePlaneWidget, int indexOfModifiedPlane)
void SetTransformMatrix (vtkMatrix4x4 *matrix, vtkImagePlaneWidget *currentImagePlane, int indexOfModifiedPlane)
void GetBounds (double bounds[3])

Protected Attributes

double Origin [3][3]
double Point1 [3][3]
double Point2 [3][3]
vtkTransformTransform
vtkImagePlaneWidget ** Planes
int NumberOfPlanes
long * ObserverTags

Detailed Description

Connect three vtkImagePlaneWidgets together.

vtkImageOrthoPlanes is an event observer class that listens to the events from three vtkImagePlaneWidgets and keeps their orientations and scales synchronized.

See also:
vtkImagePlaneWidget
Thanks:
Thanks to Atamai Inc. for developing and contributing this class.
Tests:
vtkImageOrthoPlanes (Tests)

Definition at line 40 of file vtkImageOrthoPlanes.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 44 of file vtkImageOrthoPlanes.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkImageOrthoPlanes::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkImageOrthoPlanes::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkImageOrthoPlanes::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

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

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

void vtkImageOrthoPlanes::SetPlane ( int  i,
vtkImagePlaneWidget imagePlaneWidget 
)

You must set three planes for the widget.

You must set three planes for the widget.

Reset the planes to original scale, rotation, and location.

Get the transform for the planes.

Definition at line 57 of file vtkImageOrthoPlanes.h.

A public method to be used only by the event callback.

void vtkImageOrthoPlanes::HandlePlaneRotation ( vtkImagePlaneWidget imagePlaneWidget,
int  indexOfModifiedPlane 
) [protected]
void vtkImageOrthoPlanes::HandlePlanePush ( vtkImagePlaneWidget imagePlaneWidget,
int  indexOfModifiedPlane 
) [protected]
void vtkImageOrthoPlanes::HandlePlaneTranslate ( vtkImagePlaneWidget imagePlaneWidget,
int  indexOfModifiedPlane 
) [protected]
void vtkImageOrthoPlanes::HandlePlaneScale ( vtkImagePlaneWidget imagePlaneWidget,
int  indexOfModifiedPlane 
) [protected]
void vtkImageOrthoPlanes::SetTransformMatrix ( vtkMatrix4x4 matrix,
vtkImagePlaneWidget currentImagePlane,
int  indexOfModifiedPlane 
) [protected]
void vtkImageOrthoPlanes::GetBounds ( double  bounds[3]) [protected]

Member Data Documentation

Definition at line 82 of file vtkImageOrthoPlanes.h.

Definition at line 83 of file vtkImageOrthoPlanes.h.

Definition at line 84 of file vtkImageOrthoPlanes.h.

Definition at line 88 of file vtkImageOrthoPlanes.h.

Definition at line 91 of file vtkImageOrthoPlanes.h.

Definition at line 94 of file vtkImageOrthoPlanes.h.

Definition at line 97 of file vtkImageOrthoPlanes.h.


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