9#ifndef __vtkMRMLAnnotationLinesNode_h
10#define __vtkMRMLAnnotationLinesNode_h
41 void WriteXML(ostream& of,
int indent)
override;
62 int AddLine(
int ctrlPtIdStart,
int ctrlPtIdEnd,
int selectedFlag,
int visibleFlag);
63 int SetLine(
int id,
int ctrlPtIdStart,
int ctrlPtIdEnd,
int selectedFlag,
int visibleFlag);
65 int SetControlPoint(
int id,
double newControl[3],
int selectedFlag,
int visibleFlag);
69 double localPoint[4] = { 0, 0, 0, 1 };
71 return this->
SetControlPoint(
id, localPoint, selectedFlag, visibleFlag);
vtkMRMLAnnotationControlPointsNode()
int SetControlPoint(int id, double newControl[3], int selectedFlag, int visibleFlag)
int SetControlPoint(int id, double newControl[3], int selectedFlag, int visibleFlag)
~vtkMRMLAnnotationLinesNode() override
void ReadXMLAttributes(const char **atts) override
int SetControlPointWorldCoordinates(int id, double newControl[3], int selectedFlag, int visibleFlag)
vtkMRMLStorageNode * CreateDefaultStorageNode() override
vtkMRMLCopyContentDefaultMacro(vtkMRMLAnnotationLinesNode)
void Initialize(vtkMRMLScene *mrmlScene) override
void ResetAnnotations() override
int SetLine(int id, int ctrlPtIdStart, int ctrlPtIdEnd, int selectedFlag, int visibleFlag)
void WriteXML(ostream &of, int indent) override
void CreateAnnotationLineDisplayNode()
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
vtkMRMLAnnotationLineDisplayNode * GetAnnotationLineDisplayNode()
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
Propagate events generated in mrml.
vtkMRMLAnnotationLinesNode(const vtkMRMLAnnotationLinesNode &)
void PrintAnnotationInfo(ostream &os, vtkIndent indent, int titleFlag=1) override
void operator=(const vtkMRMLAnnotationLinesNode &)
void ResetLinesAttributesAll()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
static vtkMRMLAnnotationLinesNode * New()
int AddLine(int ctrlPtIdStart, int ctrlPtIdEnd, int selectedFlag, int visibleFlag)
@ NUM_LINE_ATTRIBUTE_TYPES
int GetEndPointsId(vtkIdType lineID, vtkIdType ctrlPtID[2])
void UpdateScene(vtkMRMLScene *scene) override
const char * GetAttributeTypesEnumAsString(int val) override
vtkMRMLAnnotationLinesNode()
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.
A superclass for other storage nodes.