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];
represents an object (geometry & properties) in a rendered scene
Renders a flagpole (line) with a label at the top that faces the camera.
void ReleaseGraphicsResources(vtkWindow *win) override
Release any graphics resources that are being consumed by this actor.
void SetTextProperty(vtkTextProperty *tprop)
The vtkTextProperty object that controls the rendered text.
vtkSmartPointer< vtkRenderer > RenderedRenderer
void GenerateQuad(vtkRenderer *ren)
vtkNew< vtkActor > QuadActor
vtkNew< vtkPolyDataMapper > PoleMapper
void ForceOpaqueOff() override
Force the actor to render during the opaque or translucent pass.
void SetInput(const char *in)
The UTF-8 encoded string to display.
vtkNew< vtkLineSource > LineSource
int RenderTranslucentPolygonalGeometry(vtkViewport *vp) override
Just render in translucent pass, since it can execute multiple times (depth peeling,...
vtkTextProperty * TextProperty
vtkNew< vtkActor > PoleActor
vtkNew< vtkPolyDataMapper > QuadMapper
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkImageData > Image
vtkNew< vtkTextRenderer > TextRenderer
int RenderOpaqueGeometry(vtkViewport *vp) override
Check/update geometry/texture in opaque pass, since it only happens once.
void SetTopPosition(double x, double y, double z)
void GenerateTexture(vtkRenderer *ren)
void ForceOpaqueOn() override
Force the actor to render during the opaque or translucent pass.
~vtkFlagpoleLabel() override
double * GetBounds() override
Return a reference to the Prop3D's composite transform.
bool GetForceTranslucent() override
Force the actor to render during the opaque or translucent pass.
void UpdateInternals(vtkRenderer *ren)
void SetForceOpaque(bool opaque) override
Force the actor to render during the opaque or translucent pass.
void ForceTranslucentOn() override
Force the actor to render during the opaque or translucent pass.
vtkNew< vtkPolyData > Quad
static vtkFlagpoleLabel * New()
void SetForceTranslucent(bool trans) override
Force the actor to render during the opaque or translucent pass.
bool QuadIsStale(vtkRenderer *ren)
bool TextureIsStale(vtkRenderer *ren)
bool GetForceOpaque() override
Force the actor to render during the opaque or translucent pass.
void SetBasePosition(double x, double y, double z)
vtkTypeBool HasTranslucentPolygonalGeometry() override
Defers to internal actor.
void ForceTranslucentOff() override
Force the actor to render during the opaque or translucent pass.
topologically and geometrically regular array of data
a simple class to control print indentation
create a line defined by two end points
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract specification for renderers
represent text properties.
Interface for generating images and path data from string data, using multiple backends.
record modification and/or execution time
abstract specification for Viewports
window superclass for vtkRenderWindow
void GetBounds(T a, double bds[6])