 |
VTK
9.0.1
|
Go to the documentation of this file.
29 #ifndef vtkLabeledContourMapper_h
30 #define vtkLabeledContourMapper_h
32 #include "vtkRenderingCoreModule.h"
119 vtkSetMacro(LabelVisibility,
bool);
120 vtkGetMacro(LabelVisibility,
bool);
121 vtkBooleanMacro(LabelVisibility,
bool);
129 vtkSetMacro(SkipDistance,
double);
130 vtkGetMacro(SkipDistance,
double);
map vtkPolyData to graphics primitives
vtkIdType StencilQuadsSize
virtual void SetTextProperty(vtkTextProperty *tprop)
The text property used to label the lines.
bool RenderPolyData(vtkRenderer *ren, vtkActor *act)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned int * StencilQuadIndices
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
vtkTextActor3D ** TextActors
void SetInputData(vtkPolyData *in)
Specify the input data to map.
An actor that displays text.
vtkTimeStamp LabelBuildTime
record modification and/or execution time
vtkLabeledContourMapper()
vtkIdType NumberOfUsedTextActors
an ordered list of vtkTextProperty objects.
virtual bool ApplyStencil(vtkRenderer *ren, vtkActor *act)
bool RenderLabels(vtkRenderer *ren, vtkActor *act)
void Render(vtkRenderer *ren, vtkActor *act) override
Method initiates the mapping process.
vtkSmartPointer< vtkTextPropertyCollection > TextProperties
bool AllocateTextActors(vtkIdType num)
window superclass for vtkRenderWindow
virtual vtkDoubleArray * GetTextPropertyMapping()
Values in this array correspond to vtkTextProperty objects in the TextProperties collection.
vtkGetNewMacro(PolyDataMapper, vtkPolyDataMapper)
The polydata mapper used to render the contours.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
bool PrepareRender(vtkRenderer *ren, vtkActor *act)
static vtkLabeledContourMapper * New()
abstract class specifies interface to map data to graphics primitives
vtkIdType StencilQuadIndicesSize
vtkIdType NumberOfTextActors
represents an object (geometry & properties) in a rendered scene
bool CheckRebuild(vtkRenderer *ren, vtkActor *act)
a simple class to control print indentation
~vtkLabeledContourMapper() override
virtual void ComputeBounds()
virtual bool RemoveStencil(vtkRenderer *ren)
bool CheckInputs(vtkRenderer *ren)
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
virtual void SetTextProperties(vtkTextPropertyCollection *coll)
The text properties used to label the lines.
represent text properties.
vtkSmartPointer< vtkDoubleArray > TextPropertyMapping
virtual void SetTextPropertyMapping(vtkDoubleArray *mapping)
virtual bool CreateLabels(vtkActor *actor)
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual vtkTextPropertyCollection * GetTextProperties()
dynamic, self-adjusting array of double
vtkNew< vtkPolyDataMapper > PolyDataMapper
void GetBounds(double bounds[6]) override
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).