18 #ifndef __vtkMRMLMarkupsLineNode_h 19 #define __vtkMRMLMarkupsLineNode_h 25 #include "vtkSlicerMarkupsModuleMRMLExport.h" 42 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 const char*
GetIcon()
override {
return ":/Icons/MarkupsLine.png";}
45 const char*
GetAddIcon()
override {
return ":/Icons/MarkupsLineMouseModePlace.png";}
46 const char*
GetPlaceAddIcon()
override {
return ":/Icons/MarkupsLineMouseModePlaceAdd.png";}
69 void WriteXML(ostream& of,
int indent)
override;
76 virtual double GetLineLengthWorld();
const char * GetMarkupType() override
Get markup type internal name.
void operator=(const vtkMRMLMarkupsNode &)
virtual void UpdateInteractionHandleToWorldMatrix()
Calculates the handle to world matrix based on the current control points.
MRML node to represent a line markup Line Markups nodes contain two control points. Visualization parameters are set in the vtkMRMLMarkupsDisplayNode class.
const char * GetIcon() override
vtkMRMLNode * CreateNodeInstance() override=0
MRMLNode methods.
const char * GetAddIcon() override
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
#define vtkMRMLCopyContentDefaultMacro(thisClassName)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file.
Abstract Superclass for all specific types of MRML nodes.
const char * GetPlaceAddIcon() override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
const char * GetTypeDisplayName() override
const char * GetDefaultNodeNamePrefix() override
Get markup short name.
void PrintSelf(ostream &os, vtkIndent indent) override