 |
VTK
9.0.1
|
Go to the documentation of this file.
20 #ifndef vtkBillboardTextActor3D_h
21 #define vtkBillboardTextActor3D_h
25 #include "vtkRenderingCoreModule.h"
49 vtkGetStringMacro(Input);
57 vtkGetVector2Macro(DisplayOffset,
int);
58 vtkSetVector2Macro(DisplayOffset,
int);
107 vtkGetVector3Macro(AnchorDC,
double);
135 int DisplayOffset[2];
161 #endif // vtkBillboardTextActor3D_h
map vtkPolyData to graphics primitives
virtual void SetForceTranslucent(bool trans)
Force the actor to render during the opaque or translucent pass.
virtual bool GetForceTranslucent()
Force the actor to render during the opaque or translucent pass.
vtkNew< vtkPolyDataMapper > QuadMapper
virtual void ForceOpaqueOn()
Force the actor to render during the opaque or translucent pass.
represents an 3D object for placement in a rendered scene
virtual void ForceOpaqueOff()
Force the actor to render during the opaque or translucent pass.
record modification and/or execution time
bool TextureIsStale(vtkRenderer *ren)
virtual bool GetForceOpaque()
Force the actor to render during the opaque or translucent pass.
Renders pixel-aligned text, facing the camera, anchored at a 3D point.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkImageData > Image
double * GetBounds() override
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetTextProperty(vtkTextProperty *tprop)
The vtkTextProperty object that controls the rendered text.
window superclass for vtkRenderWindow
bool QuadIsStale(vtkRenderer *ren)
vtkNew< vtkActor > QuadActor
vtkSmartPointer< vtkRenderer > RenderedRenderer
vtkBillboardTextActor3D()
static vtkBillboardTextActor3D * New()
handles properties associated with a texture map
void UpdateInternals(vtkRenderer *ren)
~vtkBillboardTextActor3D() override
void SetInput(const char *in)
The UTF-8 encoded string to display.
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void SetForceOpaque(bool opaque)
Force the actor to render during the opaque or translucent pass.
virtual double * GetBounds()
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void ReleaseGraphicsResources(vtkWindow *win) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
abstract specification for Viewports
int RenderOpaqueGeometry(vtkViewport *vp) override
Check/update geometry/texture in opaque pass, since it only happens once.
represent text properties.
vtkNew< vtkPolyData > Quad
vtkNew< vtkTextRenderer > TextRenderer
virtual void ForceTranslucentOff()
Force the actor to render during the opaque or translucent pass.
Interface for generating images and path data from string data, using multiple backends.
void GenerateTexture(vtkRenderer *ren)
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeBool HasTranslucentPolygonalGeometry() override
Defers to internal actor.
int RenderTranslucentPolygonalGeometry(vtkViewport *vp) override
Just render in translucent pass, since it can execute multiple times (depth peeling,...
virtual void ForceTranslucentOn()
Force the actor to render during the opaque or translucent pass.
vtkTextProperty * TextProperty
void GenerateQuad(vtkRenderer *ren)
vtkNew< vtkTexture > Texture