20#ifndef vtkLabeledContourMapper_h 
   21#define vtkLabeledContourMapper_h 
   23#include "vtkRenderingCoreModule.h"  
   29VTK_ABI_NAMESPACE_BEGIN
 
  111  vtkSetMacro(LabelVisibility, 
bool);
 
  112  vtkGetMacro(LabelVisibility, 
bool);
 
  113  vtkBooleanMacro(LabelVisibility, 
bool);
 
  121  vtkSetMacro(SkipDistance, 
double);
 
  122  vtkGetMacro(SkipDistance, 
double);
 
  159  double SkipDistance = 
false;
 
  161  bool LabelVisibility = 
true;
 
  170  float* StencilQuads = 
nullptr;
 
  172  unsigned int* StencilQuadIndices = 
nullptr;
 
represents an object (geometry & properties) in a rendered scene
 
dynamic, self-adjusting array of double
 
a simple class to control print indentation
 
void Render(vtkRenderer *ren, vtkActor *act) override
Method initiates the mapping process.
 
bool PrepareRender(vtkRenderer *ren, vtkActor *act)
 
~vtkLabeledContourMapper() override
 
bool RenderLabels(vtkRenderer *ren, vtkActor *act)
 
vtkPolyData * GetInput()
Specify the input data to map.
 
vtkNew< vtkPolyDataMapper > PolyDataMapper
 
vtkLabeledContourMapper()
 
virtual void SetTextProperty(vtkTextProperty *tprop)
The text property used to label the lines.
 
bool AllocateTextActors(vtkIdType num)
 
void GetBounds(double bounds[6]) override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
 
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
virtual bool ApplyStencil(vtkRenderer *ren, vtkActor *act)
 
virtual vtkTextPropertyCollection * GetTextProperties()
The text properties used to label the lines.
 
void SetInputData(vtkPolyData *in)
Specify the input data to map.
 
vtkSmartPointer< vtkDoubleArray > TextPropertyMapping
 
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
 
vtkSmartPointer< vtkTextPropertyCollection > TextProperties
 
virtual bool CreateLabels(vtkActor *actor)
 
virtual void ComputeBounds()
 
bool CheckInputs(vtkRenderer *ren)
 
virtual void SetTextProperties(vtkTextPropertyCollection *coll)
The text properties used to label the lines.
 
static vtkLabeledContourMapper * New()
 
bool CheckRebuild(vtkRenderer *ren, vtkActor *act)
 
bool RenderPolyData(vtkRenderer *ren, vtkActor *act)
 
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
 
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.
 
vtkTimeStamp LabelBuildTime
 
virtual void SetTextPropertyMapping(vtkDoubleArray *mapping)
Values in this array correspond to vtkTextProperty objects in the TextProperties collection.
 
virtual bool RemoveStencil(vtkRenderer *ren)
 
abstract class specifies interface to map data to graphics primitives
 
Allocate and hold a VTK object.
 
map vtkPolyData to graphics primitives
 
concrete dataset represents vertices, lines, polygons, and triangle strips
 
abstract specification for renderers
 
Hold a reference to a vtkObjectBase instance.
 
An actor that displays text.
 
an ordered list of vtkTextProperty objects.
 
represent text properties.
 
record modification and/or execution time
 
window superclass for vtkRenderWindow