VTK  9.5.20250903
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
50
51VTK_ABI_NAMESPACE_BEGIN
52class vtkImageData;
53class vtkPlane;
54
56{
57public:
59
64 void PrintSelf(ostream& os, vtkIndent indent) override;
66
71
73
78 virtual void SetPlane(vtkPlane*);
79 vtkGetObjectMacro(Plane, vtkPlane);
81
83
87 vtkSetMacro(ComputeNormals, vtkTypeBool);
88 vtkGetMacro(ComputeNormals, vtkTypeBool);
89 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
91
93
98 vtkSetMacro(InterpolateAttributes, vtkTypeBool);
99 vtkGetMacro(InterpolateAttributes, vtkTypeBool);
100 vtkBooleanMacro(InterpolateAttributes, vtkTypeBool);
102
104
107 vtkSetMacro(ArrayComponent, int);
108 vtkGetMacro(ArrayComponent, int);
110
111protected:
114
119
122 int FillInputPortInformation(int port, vtkInformation* info) override;
123
124private:
126 void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
127};
128
129VTK_ABI_NAMESPACE_END
130#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:141
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287
#define VTK_MARSHALAUTO