vtkTensorProbeWidget Class Reference

#include <vtkTensorProbeWidget.h>

Inheritance diagram for vtkTensorProbeWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkTensorProbeWidget:

Collaboration graph
[legend]

List of all members.


Detailed Description

a widget to probe tensors on a polyline

The class is used to probe tensors on a trajectory. The representation (vtkTensorProbeRepresentation) is free to choose its own method of rendering the tensors. For instance vtkEllipsoidTensorProbeRepresentation renders the tensors as ellipsoids. The interactions of the widget are controlled by the left mouse button. A left click on the tensor selects it. It can dragged around the trajectory to probe the tensors on it.

For instance dragging the ellipsoid around with vtkEllipsoidTensorProbeRepresentation will manifest itself with the ellipsoid shape changing as needed along the trajectory.

Tests:
vtkTensorProbeWidget (Tests)

Definition at line 41 of file vtkTensorProbeWidget.h.

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

Public Member Functions

virtual void CreateDefaultRepresentation ()
void SetRepresentation (vtkTensorProbeRepresentation *r)

Static Public Member Functions

static vtkTensorProbeWidgetNew ()

Protected Member Functions

 vtkTensorProbeWidget ()
 ~vtkTensorProbeWidget ()

Static Protected Member Functions

static void SelectAction (vtkAbstractWidget *)
static void MoveAction (vtkAbstractWidget *)
static void EndSelectAction (vtkAbstractWidget *)

Protected Attributes

int Selected
int LastEventPosition [2]

Member Typedef Documentation

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

Definition at line 49 of file vtkTensorProbeWidget.h.


Constructor & Destructor Documentation

vtkTensorProbeWidget::vtkTensorProbeWidget (  )  [protected]

vtkTensorProbeWidget::~vtkTensorProbeWidget (  )  [protected]


Member Function Documentation

static vtkTensorProbeWidget* vtkTensorProbeWidget::New (  )  [static]

Instantiate this class.

Reimplemented from vtkObject.

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

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

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

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

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

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

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

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

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

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

void vtkTensorProbeWidget::SetRepresentation ( vtkTensorProbeRepresentation r  )  [inline]

Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget.

Definition at line 57 of file vtkTensorProbeWidget.h.

virtual void vtkTensorProbeWidget::CreateDefaultRepresentation (  )  [virtual]

See vtkWidgetRepresentation for details.

Implements vtkAbstractWidget.

static void vtkTensorProbeWidget::SelectAction ( vtkAbstractWidget  )  [static, protected]

static void vtkTensorProbeWidget::MoveAction ( vtkAbstractWidget  )  [static, protected]

static void vtkTensorProbeWidget::EndSelectAction ( vtkAbstractWidget  )  [static, protected]


Member Data Documentation

Definition at line 72 of file vtkTensorProbeWidget.h.

Definition at line 74 of file vtkTensorProbeWidget.h.


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

Generated on Wed Jun 3 19:38:43 2009 for VTK by  doxygen 1.5.6