VTK  9.7.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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
50 
51 VTK_ABI_NAMESPACE_BEGIN
52 class vtkImageData;
53 class vtkPlane;
54 
56 {
57 public:
59 
64  void PrintSelf(ostream& os, vtkIndent indent) override;
66 
70  vtkMTimeType GetMTime() override;
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 
111 protected:
113  ~vtkFlyingEdgesPlaneCutter() override;
114 
119 
122  int FillInputPortInformation(int port, vtkInformation* info) override;
123 
124 private:
126  void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
127 };
128 
129 VTK_ABI_NAMESPACE_END
130 #endif
cut a volume with a plane and generate a polygonal cut surface
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:318
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:45
virtual vtkMTimeType GetMTime()
Return this object's modified time.
perform various plane computations
Definition: vtkPlane.h:31
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.