 |
VTK
9.0.1
|
Go to the documentation of this file.
25 #ifndef vtkFlagpoleLabel_h
26 #define vtkFlagpoleLabel_h
30 #include "vtkRenderingCoreModule.h"
54 vtkGetStringMacro(Input);
102 vtkGetVector3Macro(BasePosition,
double);
108 vtkGetVector3Macro(TopPosition,
double);
116 vtkGetMacro(FlagSize,
double);
117 vtkSetMacro(FlagSize,
double);
162 double TopPosition[3];
163 double BasePosition[3];
171 #endif // vtkFlagpoleLabel_h
map vtkPolyData to graphics primitives
vtkSmartPointer< vtkRenderer > RenderedRenderer
vtkNew< vtkLineSource > LineSource
double * GetBounds() override
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
int RenderTranslucentPolygonalGeometry(vtkViewport *vp) override
Just render in translucent pass, since it can execute multiple times (depth peeling,...
void SetForceOpaque(bool opaque) override
Force the actor to render during the opaque or translucent pass.
void ReleaseGraphicsResources(vtkWindow *win) override
Release any graphics resources that are being consumed by this actor.
bool TextureIsStale(vtkRenderer *ren)
record modification and/or execution time
bool QuadIsStale(vtkRenderer *ren)
vtkNew< vtkImageData > Image
void SetInput(const char *in)
The UTF-8 encoded string to display.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetTopPosition(double x, double y, double z)
vtkNew< vtkPolyData > Quad
static vtkFlagpoleLabel * New()
vtkTypeBool HasTranslucentPolygonalGeometry() override
Defers to internal actor.
void GenerateQuad(vtkRenderer *ren)
double * GetBounds() override=0
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
window superclass for vtkRenderWindow
vtkNew< vtkPolyDataMapper > PoleMapper
void UpdateInternals(vtkRenderer *ren)
bool GetForceTranslucent() override
Force the actor to render during the opaque or translucent pass.
void ForceOpaqueOn() override
Force the actor to render during the opaque or translucent pass.
vtkNew< vtkActor > QuadActor
void SetBasePosition(double x, double y, double z)
bool GetForceOpaque() override
Force the actor to render during the opaque or translucent pass.
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
void ForceTranslucentOn() override
Force the actor to render during the opaque or translucent pass.
void ForceOpaqueOff() override
Force the actor to render during the opaque or translucent pass.
void GenerateTexture(vtkRenderer *ren)
create a line defined by two end points
abstract specification for Viewports
vtkTextProperty * TextProperty
represent text properties.
Renders a flagpole (line) with a label at the top that faces the camera.
void SetTextProperty(vtkTextProperty *tprop)
The vtkTextProperty object that controls the rendered text.
vtkNew< vtkActor > PoleActor
int RenderOpaqueGeometry(vtkViewport *vp) override
Check/update geometry/texture in opaque pass, since it only happens once.
Interface for generating images and path data from string data, using multiple backends.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
void ForceTranslucentOff() override
Force the actor to render during the opaque or translucent pass.
~vtkFlagpoleLabel() override
void SetForceTranslucent(bool trans) override
Force the actor to render during the opaque or translucent pass.
vtkNew< vtkTextRenderer > TextRenderer
vtkNew< vtkPolyDataMapper > QuadMapper