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

widget for vtkSplineRepresentation. More...

#include <vtkSplineWidget2.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 ()
- Public Member Functions inherited from vtkInteractorObserver
virtual void OnChar ()
int GetEnabled ()
void EnabledOn ()
void EnabledOff ()
void On ()
void Off ()
virtual void SetInteractor (vtkRenderWindowInteractor *iren)
virtual vtkRenderWindowInteractorGetInteractor ()
virtual float GetPriority ()
virtual void SetKeyPressActivation (int)
virtual int GetKeyPressActivation ()
virtual void KeyPressActivationOn ()
virtual void KeyPressActivationOff ()
virtual void SetKeyPressActivationValue (char)
virtual char GetKeyPressActivationValue ()
virtual vtkRendererGetDefaultRenderer ()
virtual void SetDefaultRenderer (vtkRenderer *)
virtual vtkRendererGetCurrentRenderer ()
virtual void SetCurrentRenderer (vtkRenderer *)
void GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void ReleaseFocus ()
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char debugFlag)
virtual void Modified ()
virtual unsigned long GetMTime ()
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
vtkCommandGetCommand (unsigned long tag)
void RemoveObserver (vtkCommand *)
void RemoveObservers (unsigned long event, vtkCommand *)
void RemoveObservers (const char *event, vtkCommand *)
int HasObserver (unsigned long event, vtkCommand *)
int HasObserver (const char *event, vtkCommand *)
void RemoveObserver (unsigned long tag)
void RemoveObservers (unsigned long event)
void RemoveObservers (const char *event)
void RemoveAllObservers ()
int HasObserver (unsigned long event)
int HasObserver (const char *event)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
int InvokeEvent (unsigned long event, void *callData)
int InvokeEvent (const char *event, void *callData)
int InvokeEvent (unsigned long event)
int InvokeEvent (const char *event)
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
virtual void Delete ()
virtual void FastDelete ()
void Print (ostream &os)
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
void SetReferenceCount (int)
void PrintRevisions (ostream &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

Static Public Member Functions

static vtkSplineWidget2New ()
static int IsTypeOf (const char *type)
static vtkSplineWidget2SafeDownCast (vtkObject *o)
- Static Public Member Functions inherited from vtkInteractorObserver
static void ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4])
static void ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3])
- Static Public Member Functions inherited from vtkObject
static void BreakOnError ()
static void SetGlobalWarningDisplay (int val)
static void GlobalWarningDisplayOn ()
static void GlobalWarningDisplayOff ()
static int GetGlobalWarningDisplay ()

Protected Types

enum  _WidgetState { Start = 0, Active }
- Protected Member Functions inherited from vtkAbstractWidget
 vtkAbstractWidget ()
 ~vtkAbstractWidget ()
void SetWidgetRepresentation (vtkWidgetRepresentation *r)
virtual void SetCursor (int vtkNotUsed(state))
- Protected Member Functions inherited from vtkInteractorObserver
 vtkInteractorObserver ()
 ~vtkInteractorObserver ()
int RequestCursorShape (int requestedShape)
virtual void StartInteraction ()
virtual void EndInteraction ()
void ComputeDisplayToWorld (double x, double y, double z, double worldPt[4])
void ComputeWorldToDisplay (double x, double y, double z, double displayPt[3])
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
virtual void ReportReferences (vtkGarbageCollector *)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

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)
- Static Protected Member Functions inherited from vtkInteractorObserver
static void ProcessEvents (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
- Protected Attributes inherited from vtkInteractorObserver
int Enabled
vtkCallbackCommandEventCallbackCommand
vtkCallbackCommandKeyPressCallbackCommand
float Priority
int KeyPressActivation
char KeyPressActivationValue
vtkRenderWindowInteractorInteractor
vtkRendererCurrentRenderer
vtkRendererDefaultRenderer
unsigned long CharObserverTag
unsigned long DeleteObserverTag
vtkObserverMediatorObserverMediator
- Protected Attributes inherited from vtkObject
unsigned char Debug
vtkTimeStamp MTime
vtkSubjectHelper * SubjectHelper
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
vtkWeakPointerBase ** WeakPointers
void CreateDefaultRepresentation ()
 vtkSplineWidget2 ()
 ~vtkSplineWidget2 ()

Additional Inherited 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.


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


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