62#ifndef vtkPlaneCutter_h
63#define vtkPlaneCutter_h
66#include "vtkFiltersCoreModule.h"
71VTK_ABI_NAMESPACE_BEGIN
111 vtkSetMacro(ComputeNormals,
bool);
112 vtkGetMacro(ComputeNormals,
bool);
113 vtkBooleanMacro(ComputeNormals,
bool);
122 vtkSetMacro(InterpolateAttributes,
bool);
123 vtkGetMacro(InterpolateAttributes,
bool);
124 vtkBooleanMacro(InterpolateAttributes,
bool);
133 vtkSetMacro(GeneratePolygons,
bool);
134 vtkGetMacro(GeneratePolygons,
bool);
135 vtkBooleanMacro(GeneratePolygons,
bool);
145 vtkSetMacro(BuildTree,
bool);
146 vtkGetMacro(BuildTree,
bool);
147 vtkBooleanMacro(BuildTree,
bool);
157 vtkSetMacro(BuildHierarchy,
bool);
158 vtkGetMacro(BuildHierarchy,
bool);
159 vtkBooleanMacro(BuildHierarchy,
bool);
171 vtkSetMacro(MergePoints,
bool);
172 vtkGetMacro(MergePoints,
bool);
173 vtkBooleanMacro(MergePoints,
bool);
182 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
183 vtkGetMacro(OutputPointsPrecision,
int);
202 std::map<vtkDataSet*, vtkSmartPointer<vtkSphereTree>>
SphereTrees;
Superclass for algorithms that produce only data object as output.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
abstract class to specify dataset behavior
Detect and break reference loops.
a simple class to control print indentation
cut any dataset with a plane and generate a polygonal cut surface
int ExecuteDataSet(vtkDataSet *input, vtkPolyData *output)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static void AddNormalArray(double *planeNormal, vtkPolyData *polyData)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard construction and print methods.
int OutputPointsPrecision
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int ExecuteDataObjectTree(vtkDataObjectTree *input, vtkDataObjectTree *output)
bool InterpolateAttributes
void ReportReferences(vtkGarbageCollector *) override
static vtkPlaneCutter * New()
Standard construction and print methods.
std::map< vtkDataSet *, bool > CanBeFullyProcessed
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
std::map< vtkDataSet *, vtkSmartPointer< vtkSphereTree > > SphereTrees
~vtkPlaneCutter() override
virtual void SetPlane(vtkPlane *)
Specify the plane (an implicit function) to perform the cutting.
vtkMTimeType GetMTime() override
The modified time depends on the delegated cut plane.
perform various plane computations
concrete dataset represents vertices, lines, polygons, and triangle strips
class to build and traverse sphere trees
vtkTypeUInt32 vtkMTimeType