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/MarkupsLineMouseModePlace.png";}
58 void WriteXML(ostream& of,
int indent)
override;
65 virtual double GetLineLengthWorld();
static vtkMRMLMarkupsNode * New()
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
MRMLNode methods.
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.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void PrintSelf(ostream &os, vtkIndent indent) override