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 =========================================================================*/
52 #ifndef vtkFlyingEdgesPlaneCutter_h
53 #define vtkFlyingEdgesPlaneCutter_h
54 
55 #include "vtkFiltersCoreModule.h" // For export macro
56 #include "vtkPolyDataAlgorithm.h"
57 
58 class vtkImageData;
59 class vtkPlane;
60 
61 class VTKFILTERSCORE_EXPORT vtkFlyingEdgesPlaneCutter : public vtkPolyDataAlgorithm
62 {
63 public:
65 
70  void PrintSelf(ostream& os, vtkIndent indent) override;
72 
76  vtkMTimeType GetMTime() override;
77 
79 
84  virtual void SetPlane(vtkPlane*);
85  vtkGetObjectMacro(Plane,vtkPlane);
87 
89 
93  vtkSetMacro(ComputeNormals,vtkTypeBool);
94  vtkGetMacro(ComputeNormals,vtkTypeBool);
95  vtkBooleanMacro(ComputeNormals,vtkTypeBool);
97 
99 
104  vtkSetMacro(InterpolateAttributes,vtkTypeBool);
105  vtkGetMacro(InterpolateAttributes,vtkTypeBool);
106  vtkBooleanMacro(InterpolateAttributes,vtkTypeBool);
108 
110 
113  vtkSetMacro(ArrayComponent, int);
114  vtkGetMacro(ArrayComponent, int);
116 
117 protected:
119  ~vtkFlyingEdgesPlaneCutter() override;
120 
125 
127  vtkInformationVector *) override;
129  vtkInformationVector *) override;
130  int FillInputPortInformation(int port, vtkInformation *info) override;
131 
132 private:
134  void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
135 };
136 
137 #endif
cut a volume with a plane and generate a polygonal cut surface
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
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:39
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:37
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.