62#ifndef vtkPlaneCutter_h
63#define vtkPlaneCutter_h
66#include "vtkFiltersCoreModule.h"
70VTK_ABI_NAMESPACE_BEGIN
110 vtkSetMacro(ComputeNormals,
bool);
111 vtkGetMacro(ComputeNormals,
bool);
112 vtkBooleanMacro(ComputeNormals,
bool);
121 vtkSetMacro(InterpolateAttributes,
bool);
122 vtkGetMacro(InterpolateAttributes,
bool);
123 vtkBooleanMacro(InterpolateAttributes,
bool);
132 vtkSetMacro(GeneratePolygons,
bool);
133 vtkGetMacro(GeneratePolygons,
bool);
134 vtkBooleanMacro(GeneratePolygons,
bool);
144 vtkSetMacro(BuildTree,
bool);
145 vtkGetMacro(BuildTree,
bool);
146 vtkBooleanMacro(BuildTree,
bool);
156 vtkSetMacro(BuildHierarchy,
bool);
157 vtkGetMacro(BuildHierarchy,
bool);
158 vtkBooleanMacro(BuildHierarchy,
bool);
170 vtkSetMacro(MergePoints,
bool);
171 vtkGetMacro(MergePoints,
bool);
172 vtkBooleanMacro(MergePoints,
bool);
181 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
182 vtkGetMacro(OutputPointsPrecision,
int);
201 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