9 #ifndef __vtkMRMLAnnotationTextDisplayNode_h 10 #define __vtkMRMLAnnotationTextDisplayNode_h 14 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 22 void PrintSelf ( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
32 virtual
void ReadXMLAttributes ( const
char** atts ) VTK_OVERRIDE;
36 virtual
void WriteXML ( ostream& of,
int indent ) VTK_OVERRIDE;
41 virtual
void Copy (
vtkMRMLNode *node ) VTK_OVERRIDE;
45 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "AnnotationTextDisplay";}
55 void * ) VTK_OVERRIDE;
59 void SetTextScale(
double scale);
60 vtkGetMacro(TextScale,
double);
63 vtkSetMacro(UseLineWrap,
int);
64 vtkGetMacro(UseLineWrap,
int);
65 vtkBooleanMacro(UseLineWrap,
int);
68 vtkSetMacro(MaxCharactersPerLine,
unsigned int);
69 vtkGetMacro(MaxCharactersPerLine,
unsigned int);
74 vtkSetMacro(ShowBorder,
int);
75 vtkGetMacro(ShowBorder,
int);
76 vtkBooleanMacro(ShowBorder,
int);
80 vtkSetMacro(ShowLeader,
int);
81 vtkGetMacro(ShowLeader,
int);
82 vtkBooleanMacro(ShowLeader,
int);
86 vtkSetMacro(UseThreeDimensionalLeader,
int);
87 vtkGetMacro(UseThreeDimensionalLeader,
int);
88 vtkBooleanMacro(UseThreeDimensionalLeader,
int);
91 vtkSetMacro(ShowArrowHead,
int);
92 vtkGetMacro(ShowArrowHead,
int);
93 vtkBooleanMacro(ShowArrowHead,
int);
100 vtkSetClampMacro(LeaderGlyphSize,
double,0.0,0.1);
101 vtkGetMacro(LeaderGlyphSize,
double);
106 vtkSetClampMacro(MaximumLeaderGlyphSize,
int,1,1000);
107 vtkGetMacro(MaximumLeaderGlyphSize,
int);
111 vtkSetClampMacro(Padding,
int, 0, 50);
112 vtkGetMacro(Padding,
int);
116 vtkSetMacro(AttachEdgeOnly,
int);
117 vtkGetMacro(AttachEdgeOnly,
int);
118 vtkBooleanMacro(AttachEdgeOnly,
int);
129 std::string GetLineWrappedText(std::string inputText);
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
int MaximumLeaderGlyphSize
virtual void CreateBackup()
Creates a backup of the current MRML state of this node and keeps a reference.
A set of MRML Nodes that supports serialization and undo/redo.
virtual void RestoreBackup()
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
~vtkMRMLAnnotationTextDisplayNode()
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
void operator=(const vtkMRMLAnnotationDisplayNode &)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
static vtkMRMLAnnotationDisplayNode * New()
Abstract Superclass for all specific types of MRML nodes.
unsigned int MaxCharactersPerLine
int UseThreeDimensionalLeader