15 #ifndef vtkSideAnnotation_p_h
16 #define vtkSideAnnotation_p_h
18 #include "vtkCornerAnnotation.h"
63 double m_Colours[4][3];
vtkSideAnnotation()
Constructs the vtkSideAnnotation object.
Definition: vtkSideAnnotation.cxx:29
virtual ~vtkSideAnnotation()
Destructs the vtkSideAnnotation object.
Definition: vtkSideAnnotation.cxx:39
vtkTypeMacro(vtkSideAnnotation, vtkCornerAnnotation)
virtual void SetTextActorsPosition(int vsize[2]) override
Overrides vtkCornerAnnotation::SetTextActorsPosition(int vsize[2]) to position the annotations on the...
Definition: vtkSideAnnotation.cxx:45
int RenderOpaqueGeometry(vtkViewport *viewport) override
Overrides vtkCornerAnnotation::RenderOpaqueGeometry(vtkViewPort*) to restore the colours after the an...
Definition: vtkSideAnnotation.cxx:76
Subclass of vtkCornerAnnotation to display annotations on the four sides of a render window...
Definition: vtkSideAnnotation_p.h:28
void GetColour(int i, double *colour)
Gets the colour of the text on the specified side.
Definition: vtkSideAnnotation.cxx:113
static vtkSideAnnotation * New()
virtual void SetTextActorsJustification() override
Overrides vtkCornerAnnotation::SetTextActorsJustification() to align the text to the inner side of th...
Definition: vtkSideAnnotation.cxx:55
void SetColour(int i, double *colour)
Sets the colour of the text on the specified side.
Definition: vtkSideAnnotation.cxx:93