20 #ifndef vtkLabeledContourMapper_h
21 #define vtkLabeledContourMapper_h
23 #include "vtkRenderingCoreModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
60 void GetBounds(
double bounds[6])
override;
111 vtkSetMacro(LabelVisibility,
bool);
112 vtkGetMacro(LabelVisibility,
bool);
113 vtkBooleanMacro(LabelVisibility,
bool);
121 vtkSetMacro(SkipDistance,
double);
122 vtkGetMacro(SkipDistance,
double);
138 virtual void ComputeBounds();
148 bool ResolveLabels();
149 virtual bool CreateLabels(
vtkActor* actor);
150 bool BuildStencilQuads();
157 bool FreeTextActors();
159 double SkipDistance =
false;
161 bool LabelVisibility =
true;
170 float* StencilQuads =
nullptr;
172 unsigned int* StencilQuadIndices =
nullptr;
174 void FreeStencilQuads();
186 VTK_ABI_NAMESPACE_END
vtkNew< vtkPolyDataMapper > PolyDataMapper
represents an object (geometry & properties) in a rendered scene
record modification and/or execution time
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
an ordered list of vtkTextProperty objects.
dynamic, self-adjusting array of double
window superclass for vtkRenderWindow
vtkSmartPointer< vtkDoubleArray > TextPropertyMapping
a simple class to control print indentation
vtkSmartPointer< vtkTextPropertyCollection > TextProperties
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An actor that displays text.
represent text properties.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
abstract class specifies interface to map data to graphics primitives
map vtkPolyData to graphics primitives
static vtkAlgorithm * New()
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
vtkDataSet * GetInput()
Get the input as a vtkDataSet.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
vtkTimeStamp LabelBuildTime
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.