69 #include "vtkObjectFactory.h"
70 #include "vtkTextProperty.h"
71 #include "vtkTextMapper.h"
90 this->TextActor[2]->SetPosition(5, vsize[1] / 2);
91 this->TextActor[3]->SetPosition(vsize[0] / 2, 5);
92 this->TextActor[0]->SetPosition(vsize[0] - 5, vsize[1] / 2);
93 this->TextActor[1]->SetPosition(vsize[0] / 2, vsize[1] - 5);
99 vtkTextProperty *tprop = this->TextMapper[2]->GetTextProperty();
101 tprop->SetJustificationToLeft();
102 tprop->SetVerticalJustificationToCentered();
104 tprop = this->TextMapper[3]->GetTextProperty();
105 tprop->SetJustificationToCentered();
106 tprop->SetVerticalJustificationToBottom();
108 tprop = this->TextMapper[0]->GetTextProperty();
109 tprop->SetJustificationToRight();
110 tprop->SetVerticalJustificationToCentered();
112 tprop = this->TextMapper[1]->GetTextProperty();
113 tprop->SetJustificationToCentered();
114 tprop->SetVerticalJustificationToTop();
~vtkOrientationAnnotation()
vtkCxxRevisionMacro(vtkFillImageWithPolyData,"$Revision: 490 $")
vtkOrientationAnnotation()
Text annotation in four corners.
virtual void SetTextActorsPosition(int vsize[2])
virtual void SetTextActorsJustification()
vtkStandardNewMacro(vtkFillImageWithPolyData)