VTK  9.3.1
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:
112  ~vtkFlyingEdgesPlaneCutter() override;
113 
118 
121  int FillInputPortInformation(int port, vtkInformation* info) override;
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
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
virtual vtkMTimeType GetMTime()
Return this object's modified time.
perform various plane computations
Definition: vtkPlane.h:25
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.