1#ifndef __vtkMRMLInteractionNode_h
2#define __vtkMRMLInteractionNode_h
13 void PrintSelf(ostream& os, vtkIndent indent)
override;
21 void WriteXML(ostream& of,
int indent)
override;
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void SetCurrentInteractionMode(int mode)
const char * GetInteractionModeAsString(int mode)
Return a text string describing the mode.
virtual void NormalizeAllMouseModes()
virtual void SetPlaceModePersistence(int val)
void SetLastInteractionMode(int mode)
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
int TransformModePersistence
void SwitchToViewTransformMode()
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void operator=(const vtkMRMLInteractionNode &)
vtkMRMLInteractionNode(const vtkMRMLInteractionNode &)
~vtkMRMLInteractionNode() override
int CurrentInteractionMode
static vtkMRMLInteractionNode * New()
void SwitchToSinglePlaceMode()
void PrintSelf(ostream &os, vtkIndent indent) override
void ShowViewContextMenu(vtkMRMLInteractionEventData *eventData)
Request the application to display view menu.
int GetInteractionModeByString(const char *modeString)
Return the mode given a text string.
const char * GetInteractionModeAsString()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file.
void EditNode(vtkMRMLNode *node)
virtual void SetTransformModePersistence(int val)
@ ShowViewContextMenuEvent
@ InteractionModeChangedEvent
@ InteractionModePersistenceChangedEvent
void SwitchToPersistentPlaceMode()
Convenience methods for the mouse mode tool bar to call.