9#ifndef __vtkMRMLAnnotationControlPointsNode_h
10#define __vtkMRMLAnnotationControlPointsNode_h
43 void WriteXML(ostream& of,
int indent)
override;
49 void WriteCLI(std::vector<std::string>& commandLine,
50 std::string prefix,
int coordinateSystem = 0,
51 int multipleFlag = 1)
override;
void WriteXML(ostream &of, int indent) override
int AddControlPoint(double newControl[3], int selectedFlag, int visibleFlag)
vtkMRMLAnnotationControlPointsNode()
const char * GetNumberingSchemeAsString()
Return a string representing the numbering scheme, set it from a string.
void ResetControlPointsAttributesAll()
int InvokePendingModifiedEvent() override
double * GetControlPointCoordinates(vtkIdType id)
int NumberingScheme
How the next annotation will be numbered in it's Text field.
static vtkMRMLAnnotationControlPointsNode * New()
virtual void SetNumberingScheme(int numberingScheme)
Flag determining how to number the next added fiducial.
void WriteCLI(std::vector< std::string > &commandLine, std::string prefix, int coordinateSystem=0, int multipleFlag=1) override
int GetNumberOfControlPoints()
int SetControlPoint(int id, double newControl[3])
void UpdateScene(vtkMRMLScene *scene) override
int SetControlPointWorldCoordinates(int id, double newControl[3], int selectedFlag, int visibleFlag)
vtkMRMLAnnotationPointDisplayNode * GetAnnotationPointDisplayNode()
~vtkMRMLAnnotationControlPointsNode() override=default
void CreateAnnotationPointDisplayNode()
void operator=(const vtkMRMLAnnotationControlPointsNode &)
void ResetControlPoints()
int SetControlPointWorldCoordinates(int id, double newControl[3])
const char * GetNumberingSchemeAsString(int g)
vtkMRMLCopyContentDefaultMacro(vtkMRMLAnnotationControlPointsNode)
void ReadXMLAttributes(const char **atts) override
void PrintAnnotationInfo(ostream &os, vtkIndent indent, int titleFlag=1) override
vtkMRMLAnnotationControlPointsNode(const vtkMRMLAnnotationControlPointsNode &)
void DeleteControlPoint(int id)
int SetControlPoint(int id, double newControl[3], int selectedFlag, int visibleFlag)
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
const char * GetAttributeTypesEnumAsString(int val) override
void SetNumberingSchemeFromString(const char *schemeString)
@ ControlPointModifiedEvent
void Initialize(vtkMRMLScene *mrmlScene) override
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void GetControlPointWorldCoordinates(vtkIdType id, double *point)
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
Propagate events generated in mrml.
vtkMRMLStorageNode * CreateDefaultStorageNode() override
NumberingSchemes
flags to determine how the next fiducial added to the list is labelled
void ResetAnnotations() override
@ NUM_TEXT_ATTRIBUTE_TYPES
Abstract Superclass for all specific types of MRML nodes.
virtual int GetModifiedEventPending()
virtual int InvokePendingModifiedEvent()
Invokes any modified events that are pending.
virtual int GetDisableModifiedEvent()
Turn on/off generating InvokeEvent for set macros.
void Modified() override
Customized version of Modified() allowing to compress vtkCommand::ModifiedEvent.
A set of MRML Nodes that supports serialization and undo/redo.
A superclass for other storage nodes.