38 #ifndef vtkCornerAnnotation_h
39 #define vtkCornerAnnotation_h
72 vtkSetMacro(MaximumLineHeight,
double);
73 vtkGetMacro(MaximumLineHeight,
double);
79 vtkSetMacro(MinimumFontSize,
int);
80 vtkGetMacro(MinimumFontSize,
int);
81 vtkSetMacro(MaximumFontSize,
int);
82 vtkGetMacro(MaximumFontSize,
int);
92 vtkSetMacro( LinearFontScaleFactor,
double );
93 vtkGetMacro( LinearFontScaleFactor,
double );
94 vtkSetMacro( NonlinearFontScaleFactor,
double );
95 vtkGetMacro( NonlinearFontScaleFactor,
double );
117 static const int NumTextPositions = 8;
122 void SetText(
int i,
const char *text);
123 const char* GetText(
int i);
124 void ClearAllTexts();
143 vtkSetMacro(LevelShift,
double);
144 vtkGetMacro(LevelShift,
double);
149 vtkSetMacro(LevelScale,
double);
150 vtkGetMacro(LevelScale,
double);
162 vtkBooleanMacro(ShowSliceAndImage,
int);
163 vtkSetMacro(ShowSliceAndImage,
int);
164 vtkGetMacro(ShowSliceAndImage,
int);
181 char *CornerText[NumTextPositions];
199 virtual void TextReplace(
205 virtual void SetTextActorsPosition(
int vsize[2]);
206 virtual void SetTextActorsJustification();
text annotation in four corners
Uses the left edge center.
vtkTextProperty * TextProperty
Uses the lower edge center.
virtual void ReleaseGraphicsResources(vtkWindow *)
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
vtkImageMapToWindowLevelColors * WindowLevel
#define VTKRENDERINGANNOTATION_EXPORT
window superclass for vtkRenderWindow
double NonlinearFontScaleFactor
virtual int HasTranslucentPolygonalGeometry()
draw an image in a rendered 3D scene
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkImageActor * ImageActor
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
static vtkActor2D * New()
Uses the upper right corner.
represent text properties.
virtual int RenderOverlay(vtkViewport *viewport)
double LinearFontScaleFactor
Uses the right edge center.
Uses the lower right corner.
vtkImageActor * LastImageActor
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)