VTK  9.0.1
vtkFlyingEdgesPlaneCutter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFlyingEdgesPlaneCutter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
49 #ifndef vtkFlyingEdgesPlaneCutter_h
50 #define vtkFlyingEdgesPlaneCutter_h
51 
52 #include "vtkFiltersCoreModule.h" // For export macro
53 #include "vtkPolyDataAlgorithm.h"
54 
55 class vtkImageData;
56 class vtkPlane;
57 
58 class VTKFILTERSCORE_EXPORT vtkFlyingEdgesPlaneCutter : public vtkPolyDataAlgorithm
59 {
60 public:
62 
67  void PrintSelf(ostream& os, vtkIndent indent) override;
69 
73  vtkMTimeType GetMTime() override;
74 
76 
81  virtual void SetPlane(vtkPlane*);
82  vtkGetObjectMacro(Plane, vtkPlane);
84 
86 
90  vtkSetMacro(ComputeNormals, vtkTypeBool);
91  vtkGetMacro(ComputeNormals, vtkTypeBool);
92  vtkBooleanMacro(ComputeNormals, vtkTypeBool);
94 
96 
101  vtkSetMacro(InterpolateAttributes, vtkTypeBool);
102  vtkGetMacro(InterpolateAttributes, vtkTypeBool);
103  vtkBooleanMacro(InterpolateAttributes, vtkTypeBool);
105 
107 
110  vtkSetMacro(ArrayComponent, int);
111  vtkGetMacro(ArrayComponent, int);
113 
114 protected:
116  ~vtkFlyingEdgesPlaneCutter() override;
117 
122 
125  int FillInputPortInformation(int port, vtkInformation* info) override;
126 
127 private:
129  void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
130 };
131 
132 #endif
cut a volume with a plane and generate a polygonal cut surface
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
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:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.