32 #ifndef vtkLabeledContourMapper_h
33 #define vtkLabeledContourMapper_h
35 #include "vtkRenderingCoreModule.h"
71 void GetBounds(
double bounds[6])
override;
122 vtkSetMacro(LabelVisibility,
bool);
123 vtkGetMacro(LabelVisibility,
bool);
124 vtkBooleanMacro(LabelVisibility,
bool);
132 vtkSetMacro(SkipDistance,
double);
133 vtkGetMacro(SkipDistance,
double);
149 virtual void ComputeBounds();
159 bool ResolveLabels();
160 virtual bool CreateLabels(
vtkActor* actor);
161 bool BuildStencilQuads();
168 bool FreeTextActors();
185 void FreeStencilQuads();
vtkNew< vtkPolyDataMapper > PolyDataMapper
represents an object (geometry & properties) in a rendered scene
record modification and/or execution time
abstract specification for renderers
vtkIdType StencilQuadsSize
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkIdType StencilQuadIndicesSize
vtkIdType NumberOfTextActors
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
vtkIdType NumberOfUsedTextActors
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
unsigned int * StencilQuadIndices
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.
vtkTextActor3D ** TextActors
vtkTimeStamp LabelBuildTime
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.