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:
117 
122 
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
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
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
perform various plane computations
Definition: vtkPlane.h:32
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293