62#ifndef vtkPlaneCutter_h
63#define vtkPlaneCutter_h
66#include "vtkFiltersCoreModule.h"
115 vtkSetMacro(ComputeNormals,
bool);
116 vtkGetMacro(ComputeNormals,
bool);
117 vtkBooleanMacro(ComputeNormals,
bool);
126 vtkSetMacro(InterpolateAttributes,
bool);
127 vtkGetMacro(InterpolateAttributes,
bool);
128 vtkBooleanMacro(InterpolateAttributes,
bool);
137 vtkSetMacro(GeneratePolygons,
bool);
138 vtkGetMacro(GeneratePolygons,
bool);
139 vtkBooleanMacro(GeneratePolygons,
bool);
149 vtkSetMacro(BuildTree,
bool);
150 vtkGetMacro(BuildTree,
bool);
151 vtkBooleanMacro(BuildTree,
bool);
161 vtkSetMacro(BuildHierarchy,
bool);
162 vtkGetMacro(BuildHierarchy,
bool);
163 vtkBooleanMacro(BuildHierarchy,
bool);
179 std::map<vtkDataSet*, vtkSmartPointer<vtkSphereTree>>
SphereTrees;
object to represent cell connectivity
represent and manipulate cell attribute data
Superclass for algorithms that produce only data object as output.
abstract class to specify dataset behavior
topologically and geometrically regular array of data
a simple class to control print indentation
composite dataset to encapsulates pieces of dataset.
cut any dataset with a plane and generate a polygonal cut surface
static void InitializeOutput(vtkMultiPieceDataSet *output)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard construction and print methods.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual int ExecuteDataSet(vtkDataSet *input, vtkSphereTree *tree, vtkMultiPieceDataSet *output)
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
bool InterpolateAttributes
static void AddNormalArray(double *planeNormal, vtkDataSet *ds)
static vtkPlaneCutter * New()
Standard construction and print methods.
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.
vtkSphereTree * GetSphereTree(vtkDataSet *)
perform various plane computations
represent and manipulate point attribute data
represent and manipulate 3D points
class to build and traverse sphere trees
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType