1 #ifndef __vtkMRMLInteractionNode_h 2 #define __vtkMRMLInteractionNode_h 13 void PrintSelf(ostream& os, vtkIndent indent)
override;
21 void WriteXML(ostream& of,
int indent)
override;
30 vtkGetMacro(CurrentInteractionMode,
int);
31 void SetCurrentInteractionMode(
int mode);
32 vtkGetMacro(LastInteractionMode,
int);
33 void SetLastInteractionMode(
int mode);
35 vtkGetMacro(PlaceModePersistence,
int);
36 vtkGetMacro(TransformModePersistence,
int);
43 virtual void SetPlaceModePersistence(
int val);
44 virtual void SetTransformModePersistence(
int val);
45 virtual void NormalizeAllMouseModes();
62 InteractionModeChangedEvent = 19001,
70 const char *GetInteractionModeAsString(
int mode);
74 int GetInteractionModeByString (
const char * modeString );
77 void SwitchToPersistentPlaceMode();
78 void SwitchToSinglePlaceMode();
79 void SwitchToViewTransformMode();
82 vtkGetMacro(EnableFiberEdit,
int);
83 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.