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

widget for vtkSplineRepresentation. More...

#include <vtkSplineWidget2.h>

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

List of all members.

Public Types

typedef vtkAbstractWidget Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Types

enum  _WidgetState { Start = 0, Active }

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const

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
void CreateDefaultRepresentation ()
 vtkSplineWidget2 ()
 ~vtkSplineWidget2 ()

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 39 of file vtkSplineWidget2.h.


Member Typedef Documentation

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

Definition at line 43 of file vtkSplineWidget2.h.


Member Enumeration Documentation

Enumerator:
Start 
Active 

Definition at line 68 of file vtkSplineWidget2.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Reimplemented from vtkObject.

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.

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

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

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

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.

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 50 of file vtkSplineWidget2.h.

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 67 of file vtkSplineWidget2.h.


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