27 #ifndef vtkCornerAnnotation_h
28 #define vtkCornerAnnotation_h
31 #include "vtkRenderingAnnotationModule.h"
34 VTK_ABI_NAMESPACE_BEGIN
72 vtkSetMacro(MaximumLineHeight,
double);
73 vtkGetMacro(MaximumLineHeight,
double);
81 vtkSetMacro(MinimumFontSize,
int);
82 vtkGetMacro(MinimumFontSize,
int);
83 vtkSetMacro(MaximumFontSize,
int);
84 vtkGetMacro(MaximumFontSize,
int);
97 vtkSetMacro(LinearFontScaleFactor,
double);
98 vtkGetMacro(LinearFontScaleFactor,
double);
99 vtkSetMacro(NonlinearFontScaleFactor,
double);
100 vtkGetMacro(NonlinearFontScaleFactor,
double);
126 static const int NumTextPositions = 8;
134 void SetText(
int i,
const char* text);
135 const char* GetText(
int i);
136 void ClearAllTexts();
138 std::vector<std::string> GetAllTexts()
const;
139 void SetAllTexts(
const std::vector<std::string>& values);
163 vtkSetMacro(LevelShift,
double);
164 vtkGetMacro(LevelShift,
double);
171 vtkSetMacro(LevelScale,
double);
172 vtkGetMacro(LevelScale,
double);
206 char* CornerText[NumTextPositions];
231 virtual void SetTextActorsPosition(
const int vsize[2]);
232 virtual void SetTextActorsJustification();
240 VTK_ABI_NAMESPACE_END
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.
vtkTextProperty * TextProperty
Uses the lower edge center.
abstract specification for Viewports
Uses the upper left corner.
Map an image through a lookup table and/or a window/level.
a actor that draws 2D data
record modification and/or execution time
vtkImageMapToWindowLevelColors * WindowLevel
window superclass for vtkRenderWindow
TextPosition
Position used to get or set the corner annotation text.
double NonlinearFontScaleFactor
draw an image in a rendered 3D scene
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
vtkImageActor * ImageActor
a simple class to control print indentation
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.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
vtkTypeBool ShowSliceAndImage
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
double LinearFontScaleFactor
Uses the right edge center.
Uses the lower right corner.
vtkImageActor * LastImageActor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.