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

widget for vtkSplineRepresentation. More...

#include <vtkSplineWidget2.h>

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

Public Types

typedef vtkAbstractWidget Superclass
 
- Public Types inherited from vtkAbstractWidget
typedef vtkInteractorObserver Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkSplineWidget2NewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetRepresentation (vtkSplineRepresentation *r)
 
- 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 vtkSplineWidget2New ()
 
static int IsTypeOf (const char *type)
 
static vtkSplineWidget2SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractWidget
static int IsTypeOf (const char *type)
 
static vtkAbstractWidgetSafeDownCast (vtkObjectBase *o)
 

Protected Types

enum  _WidgetState { Start =0, Active }
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
- 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 EndSelectAction (vtkAbstractWidget *)
 
static void TranslateAction (vtkAbstractWidget *)
 
static void ScaleAction (vtkAbstractWidget *)
 
static void MoveAction (vtkAbstractWidget *)
 
- Static Protected Member Functions inherited from vtkAbstractWidget
static void ProcessEventsHandler (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 

Protected Attributes

int WidgetState
 
- Protected Attributes inherited from vtkAbstractWidget
vtkWidgetRepresentationWidgetRep
 
int ManagesCursor
 
vtkWidgetEventTranslatorEventTranslator
 
vtkWidgetCallbackMapperCallbackMapper
 
vtkAbstractWidgetParent
 
void * CallData
 
int ProcessEvents
 
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

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

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
static int vtkSplineWidget2::IsTypeOf ( const char *  type)
static
virtual int vtkSplineWidget2::IsA ( const char *  type)
virtual

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

static vtkSplineWidget2* vtkSplineWidget2::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkSplineWidget2::NewInstanceInternal ( ) const
protectedvirtual

Standard macros implementing standard VTK methods.

Reimplemented from vtkAbstractWidget.

vtkSplineWidget2* vtkSplineWidget2::NewInstance ( ) const
void vtkSplineWidget2::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 50 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 )
staticprotected
static void vtkSplineWidget2::EndSelectAction ( vtkAbstractWidget )
staticprotected
static void vtkSplineWidget2::TranslateAction ( vtkAbstractWidget )
staticprotected
static void vtkSplineWidget2::ScaleAction ( vtkAbstractWidget )
staticprotected
static void vtkSplineWidget2::MoveAction ( vtkAbstractWidget )
staticprotected

Member Data Documentation

int vtkSplineWidget2::WidgetState
protected

Definition at line 67 of file vtkSplineWidget2.h.


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