VTK  9.2.6
vtkPolyDataPlaneCutter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPolyDataPlaneCutter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
44
45#ifndef vtkPolyDataPlaneCutter_h
46#define vtkPolyDataPlaneCutter_h
47
48#include "vtkFiltersCoreModule.h" // For export macro
49#include "vtkPlane.h" // For cutting plane
51#include "vtkSmartPointer.h" // For SmartPointer
52
53class VTKFILTERSCORE_EXPORT vtkPolyDataPlaneCutter : public vtkPolyDataAlgorithm
54{
55public:
57
62 void PrintSelf(ostream& os, vtkIndent indent) override;
64
66
72 vtkGetObjectMacro(Plane, vtkPlane);
74
76
81 vtkSetMacro(ComputeNormals, bool);
82 vtkGetMacro(ComputeNormals, bool);
83 vtkBooleanMacro(ComputeNormals, bool);
85
87
92 vtkSetMacro(InterpolateAttributes, bool);
93 vtkGetMacro(InterpolateAttributes, bool);
94 vtkBooleanMacro(InterpolateAttributes, bool);
96
98
104 vtkSetMacro(OutputPointsPrecision, int);
105 vtkGetMacro(OutputPointsPrecision, int);
107
112
114
121 vtkSetClampMacro(BatchSize, unsigned int, 1, VTK_INT_MAX);
122 vtkGetMacro(BatchSize, unsigned int);
124
135
136protected:
139
144 unsigned int BatchSize;
145
146 // Pipeline-related methods
148
149private:
151 void operator=(const vtkPolyDataPlaneCutter&) = delete;
152};
153
154#endif
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
perform various plane computations
Definition vtkPlane.h:34
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:155