vtkSplineWidget2 Class Reference

#include <vtkSplineWidget2.h>

Inheritance diagram for vtkSplineWidget2:

Inheritance graph
[legend]
Collaboration diagram for vtkSplineWidget2:

Collaboration graph
[legend]

List of all members.


Detailed Description

widget for vtkSplineRepresentation.

vtkSplineWidget2 is the vtkAbstractWidget subclass for vtkSplineRepresentation which manages the interactions with vtkSplineRepresentation. This is based on vtkSplineWidget.

See also:
vtkSplineRepresentation, vtkSplineWidget2
Events:
vtkCommand::EndInteractionEvent vtkCommand::InteractionEvent vtkCommand::StartInteractionEvent
Tests:
vtkSplineWidget2 (Tests)

Definition at line 38 of file vtkSplineWidget2.h.

void CreateDefaultRepresentation ()
 vtkSplineWidget2 ()
 ~vtkSplineWidget2 ()

Public Types

typedef vtkAbstractWidget Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetRepresentation (vtkSplineRepresentation *r)

Static Public Member Functions

static vtkSplineWidget2New ()
static int IsTypeOf (const char *type)
static vtkSplineWidget2SafeDownCast (vtkObject *o)

Protected Types

enum  _WidgetState { Start = 0, Active }

Static Protected Member Functions

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

Protected Attributes

int WidgetState

Member Typedef Documentation

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

Definition at line 42 of file vtkSplineWidget2.h.


Member Enumeration Documentation

Enumerator:
Start 
Active 

Definition at line 67 of file vtkSplineWidget2.h.


Constructor & Destructor Documentation

vtkSplineWidget2::vtkSplineWidget2 (  )  [protected]

Create the default widget representation if one is not set. By default, this is an instance of the vtkSplineRepresentation class.

vtkSplineWidget2::~vtkSplineWidget2 (  )  [protected]

Create the default widget representation if one is not set. By default, this is an instance of the vtkSplineRepresentation class.


Member Function Documentation

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

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

Reimplemented from vtkObject.

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

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

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

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

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

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

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

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

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

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

void vtkSplineWidget2::SetRepresentation ( vtkSplineRepresentation 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 49 of file vtkSplineWidget2.h.

void vtkSplineWidget2::CreateDefaultRepresentation (  )  [virtual]

Create the default widget representation if one is not set. By default, this is an instance of the vtkSplineRepresentation class.

Implements vtkAbstractWidget.

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

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

static void vtkSplineWidget2::TranslateAction ( vtkAbstractWidget  )  [static, protected]

static void vtkSplineWidget2::ScaleAction ( vtkAbstractWidget  )  [static, protected]

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


Member Data Documentation

Definition at line 66 of file vtkSplineWidget2.h.


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

Generated on Wed Aug 24 12:08:14 2011 for VTK by  doxygen 1.5.6