1 #ifndef __vtkMRMLInteractionNode_h 2 #define __vtkMRMLInteractionNode_h 11 void PrintSelf(ostream& os, vtkIndent indent)
override;
19 void WriteXML(ostream& of,
int indent)
override;
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,
67 const char *GetInteractionModeAsString(
int mode);
71 int GetInteractionModeByString (
const char * modeString );
74 void SwitchToPersistentPlaceMode();
75 void SwitchToSinglePlaceMode();
76 void SwitchToViewTransformMode();
79 vtkGetMacro(EnableFiberEdit,
int);
80 vtkSetMacro(EnableFiberEdit,
int);
const char * GetInteractionModeAsString()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
int TransformModePersistence
virtual void ReadXMLAttributes(const char **atts)
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
virtual void Copy(vtkMRMLNode *node)
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
virtual void WriteXML(ostream &of, int indent)
int CurrentInteractionMode
void PrintSelf(ostream &os, vtkIndent indent) override
Abstract Superclass for all specific types of MRML nodes.