Go to the documentation of this file.
39 #ifndef vtkCornerAnnotation_h
40 #define vtkCornerAnnotation_h
42 #include "vtkRenderingAnnotationModule.h"
83 vtkGetMacro(MaximumLineHeight,
double);
92 vtkGetMacro(MinimumFontSize,
int);
94 vtkGetMacro(MaximumFontSize,
int);
108 vtkGetMacro( LinearFontScaleFactor,
double );
110 vtkGetMacro( NonlinearFontScaleFactor,
double );
136 static const int NumTextPositions = 8;
144 void SetText(
int i,
const char *text);
145 const char* GetText(
int i);
146 void ClearAllTexts();
172 vtkGetMacro(LevelShift,
double);
180 vtkGetMacro(LevelScale,
double);
197 vtkGetMacro(ShowSliceAndImage,
int);
214 char *CornerText[NumTextPositions];
233 virtual void TextReplace(
240 virtual void SetTextActorsPosition(
int vsize[2]);
241 virtual void SetTextActorsJustification();
@ LeftEdge
Uses the left edge center.
vtkTextProperty * TextProperty
record modification and/or execution time
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageActor * ImageActor
window superclass for vtkRenderWindow
@ UpperRight
Uses the upper right corner.
vtkImageActor * LastImageActor
@ LowerRight
Uses the lower right corner.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
@ RightEdge
Uses the right edge center.
@ LowerEdge
Uses the lower edge center.
map the input image through a lookup table and window / level it
text annotation in four corners
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
@ UpperLeft
Uses the upper left corner.
virtual int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
abstract specification for Viewports
virtual int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
double NonlinearFontScaleFactor
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
a actor that draws 2D data
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
TextPosition
Position used to get or set the corner annotation text.
vtkImageMapToWindowLevelColors * WindowLevel
draw an image in a rendered 3D scene
double LinearFontScaleFactor