VTK  9.4.20241217
vtkFlyingEdgesPlaneCutter.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
44#ifndef vtkFlyingEdgesPlaneCutter_h
45#define vtkFlyingEdgesPlaneCutter_h
46
47#include "vtkFiltersCoreModule.h" // For export macro
49
50VTK_ABI_NAMESPACE_BEGIN
51class vtkImageData;
52class vtkPlane;
53
54class VTKFILTERSCORE_EXPORT vtkFlyingEdgesPlaneCutter : public vtkPolyDataAlgorithm
55{
56public:
58
63 void PrintSelf(ostream& os, vtkIndent indent) override;
65
70
72
77 virtual void SetPlane(vtkPlane*);
78 vtkGetObjectMacro(Plane, vtkPlane);
80
82
86 vtkSetMacro(ComputeNormals, vtkTypeBool);
87 vtkGetMacro(ComputeNormals, vtkTypeBool);
88 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
90
92
97 vtkSetMacro(InterpolateAttributes, vtkTypeBool);
98 vtkGetMacro(InterpolateAttributes, vtkTypeBool);
99 vtkBooleanMacro(InterpolateAttributes, vtkTypeBool);
101
103
106 vtkSetMacro(ArrayComponent, int);
107 vtkGetMacro(ArrayComponent, int);
109
110protected:
113
118
121 int FillInputPortInformation(int port, vtkInformation* info) override;
122
123private:
125 void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
126};
127
128VTK_ABI_NAMESPACE_END
129#endif
cut a volume with a plane and generate a polygonal cut surface
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual void SetPlane(vtkPlane *)
Specify the plane (an implicit function) to perform the cutting.
~vtkFlyingEdgesPlaneCutter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkMTimeType GetMTime() override
The modified time depends on the delegated cut plane.
static vtkFlyingEdgesPlaneCutter * New()
Standard construction and print methods.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard construction and print methods.
topologically and geometrically regular array of 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:138
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270