36 #ifndef vtkCornerAnnotation_h 37 #define vtkCornerAnnotation_h 39 #include "vtkRenderingAnnotationModule.h" 80 vtkGetMacro(MaximumLineHeight,
double);
89 vtkGetMacro(MinimumFontSize,
int);
91 vtkGetMacro(MaximumFontSize,
int);
105 vtkGetMacro( LinearFontScaleFactor,
double );
107 vtkGetMacro( NonlinearFontScaleFactor,
double );
133 static const int NumTextPositions = 8;
141 void SetText(
int i,
const char *text);
142 const char* GetText(
int i);
143 void ClearAllTexts();
169 vtkGetMacro(LevelShift,
double);
177 vtkGetMacro(LevelScale,
double);
194 vtkGetMacro(ShowSliceAndImage,
int);
201 double MaximumLineHeight;
211 char *CornerText[NumTextPositions];
222 double LinearFontScaleFactor;
223 double NonlinearFontScaleFactor;
225 int ShowSliceAndImage;
230 virtual
void TextReplace(
237 virtual
void SetTextActorsPosition(
int vsize[2]);
238 virtual
void SetTextActorsJustification();
text annotation in four corners
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the scalar bar and annotation text to the screen.
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
Uses the left edge center.
Uses the lower edge center.
abstract specification for Viewports
Uses the upper left corner.
map the input image through a lookup table and window / level it
a actor that draws 2D data
record modification and/or execution time
window superclass for vtkRenderWindow
TextPosition
Position used to get or set the corner annotation text.
draw an image in a rendered 3D scene
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
a simple class to control print indentation
int HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
Uses the upper right corner.
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Uses the right edge center.
Uses the lower right corner.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.