VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkTensorProbeWidget Class Reference

a widget to probe tensors on a polyline More...

#include <vtkTensorProbeWidget.h>

Inheritance diagram for vtkTensorProbeWidget:
[legend]
Collaboration diagram for vtkTensorProbeWidget:
[legend]

Public Member Functions

virtual void CreateDefaultRepresentation ()
 
void SetRepresentation (vtkTensorProbeRepresentation *r)
 
vtkTensorProbeRepresentationGetTensorProbeRepresentation ()
 
- Public Member Functions inherited from vtkAbstractWidget
virtual void SetEnabled (int)
 
void Render ()
 
virtual void SetPriority (float)
 
virtual void SetProcessEvents (int)
 
virtual int GetProcessEvents ()
 
virtual void ProcessEventsOn ()
 
virtual void ProcessEventsOff ()
 
vtkWidgetEventTranslatorGetEventTranslator ()
 
void SetParent (vtkAbstractWidget *parent)
 
virtual vtkAbstractWidgetGetParent ()
 
vtkWidgetRepresentationGetRepresentation ()
 
virtual void SetManagesCursor (int)
 
virtual int GetManagesCursor ()
 
virtual void ManagesCursorOn ()
 
virtual void ManagesCursorOff ()
 
vtkAbstractWidgetNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkTensorProbeWidgetNew ()
 
- Static Public Member Functions inherited from vtkAbstractWidget
static int IsTypeOf (const char *type)
 
static vtkAbstractWidgetSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

 vtkTensorProbeWidget ()
 
 ~vtkTensorProbeWidget ()
 
- Protected Member Functions inherited from vtkAbstractWidget
 vtkAbstractWidget ()
 
 ~vtkAbstractWidget ()
 
void SetWidgetRepresentation (vtkWidgetRepresentation *r)
 
virtual void SetCursor (int vtkNotUsed(state))
 

Static Protected Member Functions

static void SelectAction (vtkAbstractWidget *)
 
static void MoveAction (vtkAbstractWidget *)
 
static void EndSelectAction (vtkAbstractWidget *)
 
- Static Protected Member Functions inherited from vtkAbstractWidget
static void ProcessEventsHandler (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 

Protected Attributes

int Selected
 
int LastEventPosition [2]
 
- Protected Attributes inherited from vtkAbstractWidget
vtkWidgetRepresentationWidgetRep
 
int ManagesCursor
 
vtkWidgetEventTranslatorEventTranslator
 
vtkWidgetCallbackMapperCallbackMapper
 
vtkAbstractWidgetParent
 
void * CallData
 
int ProcessEvents
 
typedef vtkAbstractWidget Superclass
 
static int IsTypeOf (const char *type)
 
static vtkTensorProbeWidgetSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkTensorProbeWidgetNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

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 42 of file vtkTensorProbeWidget.h.

Member Typedef Documentation

Standard VTK class macros.

Definition at line 50 of file vtkTensorProbeWidget.h.

Constructor & Destructor Documentation

vtkTensorProbeWidget::vtkTensorProbeWidget ( )
protected
vtkTensorProbeWidget::~vtkTensorProbeWidget ( )
protected

Member Function Documentation

static vtkTensorProbeWidget* vtkTensorProbeWidget::New ( )
static

Instantiate this class.

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

Standard VTK class macros.

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

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

static vtkTensorProbeWidget* vtkTensorProbeWidget::SafeDownCast ( vtkObjectBase *  o)
static

Standard VTK class macros.

virtual vtkObjectBase* vtkTensorProbeWidget::NewInstanceInternal ( ) const
protectedvirtual

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

vtkTensorProbeWidget* vtkTensorProbeWidget::NewInstance ( ) const

Standard VTK class macros.

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

Standard VTK class macros.

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 58 of file vtkTensorProbeWidget.h.

vtkTensorProbeRepresentation* vtkTensorProbeWidget::GetTensorProbeRepresentation ( )
inline

Return the representation as a vtkTensorProbeRepresentation.

Definition at line 67 of file vtkTensorProbeWidget.h.

virtual void vtkTensorProbeWidget::CreateDefaultRepresentation ( )
virtual

See vtkWidgetRepresentation for details.

Implements vtkAbstractWidget.

static void vtkTensorProbeWidget::SelectAction ( vtkAbstractWidget )
staticprotected
static void vtkTensorProbeWidget::MoveAction ( vtkAbstractWidget )
staticprotected
static void vtkTensorProbeWidget::EndSelectAction ( vtkAbstractWidget )
staticprotected

Member Data Documentation

int vtkTensorProbeWidget::Selected
protected

Definition at line 79 of file vtkTensorProbeWidget.h.

int vtkTensorProbeWidget::LastEventPosition[2]
protected

Definition at line 81 of file vtkTensorProbeWidget.h.


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