VTK
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) VTK_OVERRIDE;
69 
73  vtkMTimeType GetMTime() VTK_OVERRIDE;
74 
76 
81  virtual void SetPlane(vtkPlane*);
82  vtkGetObjectMacro(Plane,vtkPlane);
84 
86 
90  vtkSetMacro(ComputeNormals,int);
91  vtkGetMacro(ComputeNormals,int);
92  vtkBooleanMacro(ComputeNormals,int);
94 
96 
101  vtkSetMacro(InterpolateAttributes,int);
102  vtkGetMacro(InterpolateAttributes,int);
103  vtkBooleanMacro(InterpolateAttributes,int);
105 
107 
110  vtkSetMacro(ArrayComponent, int);
111  vtkGetMacro(ArrayComponent, int);
113 
114 protected:
116  ~vtkFlyingEdgesPlaneCutter() VTK_OVERRIDE;
117 
118  vtkPlane *Plane;
119  int ComputeNormals;
120  int InterpolateAttributes;
121  int ArrayComponent;
122 
123  int RequestData(vtkInformation *, vtkInformationVector **,
124  vtkInformationVector *) VTK_OVERRIDE;
125  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
126  vtkInformationVector *) VTK_OVERRIDE;
127  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
128 
129 private:
130  vtkFlyingEdgesPlaneCutter(const vtkFlyingEdgesPlaneCutter&) VTK_DELETE_FUNCTION;
131  void operator=(const vtkFlyingEdgesPlaneCutter&) VTK_DELETE_FUNCTION;
132 };
133 
134 #endif
cut a volume with a plane and generate a polygonal cut surface
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
static vtkPolyDataAlgorithm * New()
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:39
virtual vtkMTimeType GetMTime()
Return this object's modified time.
perform various plane computations
Definition: vtkPlane.h:31
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.