VTK  9.5.20250911
vtkPolyDataPlaneCutter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
36#ifndef vtkPolyDataPlaneCutter_h
37#define vtkPolyDataPlaneCutter_h
38
39#include "vtkFiltersCoreModule.h" // For export macro
40#include "vtkPlane.h" // For cutting plane
42#include "vtkSmartPointer.h" // For SmartPointer
43#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
44
45VTK_ABI_NAMESPACE_BEGIN
47{
48public:
50
55 void PrintSelf(ostream& os, vtkIndent indent) override;
57
59
65 vtkGetObjectMacro(Plane, vtkPlane);
67
69
74 vtkSetMacro(ComputeNormals, bool);
75 vtkGetMacro(ComputeNormals, bool);
76 vtkBooleanMacro(ComputeNormals, bool);
78
80
85 vtkSetMacro(InterpolateAttributes, bool);
86 vtkGetMacro(InterpolateAttributes, bool);
87 vtkBooleanMacro(InterpolateAttributes, bool);
89
91
97 vtkSetMacro(OutputPointsPrecision, int);
98 vtkGetMacro(OutputPointsPrecision, int);
100
105
107
114 vtkSetClampMacro(BatchSize, unsigned int, 1, VTK_INT_MAX);
115 vtkGetMacro(BatchSize, unsigned int);
117
128
129protected:
132
137 unsigned int BatchSize;
138
139 // Pipeline-related methods
141
142private:
144 void operator=(const vtkPolyDataPlaneCutter&) = delete;
145};
146VTK_ABI_NAMESPACE_END
147
148#endif
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
perform various plane computations
Definition vtkPlane.h:141
Superclass for algorithms that produce only polydata as output.
threaded (high-performance) cutting of a vtkPolyData with a plane
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPolyDataPlaneCutter() override
vtkSmartPointer< vtkPlane > Plane
void SetPlane(vtkPlane *)
Specify the plane (an implicit function) to perform the cutting.
vtkMTimeType GetMTime() override
The modified time depends on the delegated cutting plane.
static vtkPolyDataPlaneCutter * New()
Standard construction, type, and print methods.
static bool CanFullyProcessDataObject(vtkDataObject *object)
This helper method can be used to determine the if the input vtkPolyData contains convex polygonal ce...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard construction, type, and print methods.
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287
#define VTK_INT_MAX
Definition vtkType.h:161
#define VTK_MARSHALAUTO