Go to the documentation of this file.
38 #ifndef vtkCornerAnnotation_h
39 #define vtkCornerAnnotation_h
117 static const int NumTextPositions = 8;
181 char *CornerText[NumTextPositions];
@ LeftEdge
Uses the left edge center.
#define vtkGetObjectMacro(name, type)
int RenderOpaqueGeometry(vtkViewport *viewport)
vtkTextProperty * TextProperty
record modification and/or execution time
virtual void SetTextProperty(vtkTextProperty *p)
virtual void ReleaseGraphicsResources(vtkWindow *)
#define vtkTypeMacro(thisClass, superclass)
vtkImageActor * ImageActor
window superclass for vtkRenderWindow
@ UpperRight
Uses the upper right corner.
vtkImageActor * LastImageActor
@ LowerRight
Uses the lower right corner.
void SetText(int i, const char *text)
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void SetTextActorsPosition(int vsize[2])
const char * GetText(int i)
@ RightEdge
Uses the right edge center.
@ LowerEdge
Uses the lower edge center.
void PrintSelf(ostream &os, vtkIndent indent)
map the input image through a lookup table and window / level it
text annotation in four corners
a simple class to control print indentation
@ UpperLeft
Uses the upper left corner.
#define vtkGetMacro(name, type)
virtual void SetTextActorsJustification()
abstract specification for Viewports
int RenderOverlay(vtkViewport *viewport)
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
double NonlinearFontScaleFactor
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void TextReplace(vtkImageActor *ia, vtkImageMapToWindowLevelColors *wl)
virtual int HasTranslucentPolygonalGeometry()
a actor that draws 2D data
static vtkCornerAnnotation * New()
vtkImageMapToWindowLevelColors * WindowLevel
draw an image in a rendered 3D scene
double LinearFontScaleFactor
void CopyAllTextsFrom(vtkCornerAnnotation *ca)
void SetImageActor(vtkImageActor *)
#define VTKRENDERINGANNOTATION_EXPORT
void SetWindowLevel(vtkImageMapToWindowLevelColors *)