VTK  9.3.0
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
48 #include "vtkPolyDataAlgorithm.h"
49 
50 VTK_ABI_NAMESPACE_BEGIN
51 class vtkImageData;
52 class vtkPlane;
53 
54 class VTKFILTERSCORE_EXPORT vtkFlyingEdgesPlaneCutter : public vtkPolyDataAlgorithm
55 {
56 public:
58 
63  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
69  vtkMTimeType GetMTime() override;
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 
110 protected:
113 
118 
122 
123 private:
125  void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
126 };
127 
128 VTK_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.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkFlyingEdgesPlaneCutter * New()
Standard construction and print methods.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard construction and print methods.
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
perform various plane computations
Definition: vtkPlane.h:35
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270