1 #ifndef __vtkMRMLInteractionNode_h 2 #define __vtkMRMLInteractionNode_h 11 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
16 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
19 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
25 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "Interaction";}
28 vtkGetMacro(CurrentInteractionMode,
int);
29 void SetCurrentInteractionMode(
int mode);
30 vtkGetMacro(LastInteractionMode,
int);
31 void SetLastInteractionMode(
int mode);
33 vtkGetMacro(PlaceModePersistence,
int);
34 vtkGetMacro(TransformModePersistence,
int);
41 virtual void SetPlaceModePersistence(
int val);
42 virtual void SetTransformModePersistence(
int val);
43 virtual void NormalizeAllMouseModes();
60 InteractionModeChangedEvent = 19001,
66 const char *GetInteractionModeAsString(
int mode);
70 int GetInteractionModeByString (
const char * modeString );
73 void SwitchToPersistentPlaceMode();
74 void SwitchToSinglePlaceMode();
75 void SwitchToViewTransformMode();
78 vtkGetMacro(EnableFiberEdit,
int);
79 vtkSetMacro(EnableFiberEdit,
int);
const char * GetInteractionModeAsString()
int TransformModePersistence
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
int CurrentInteractionMode
Abstract Superclass for all specific types of MRML nodes.