VTK  9.2.5
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
57
58class vtkImageData;
59class vtkPlane;
60
61class VTKFILTERSCORE_EXPORT vtkFlyingEdgesPlaneCutter : public vtkPolyDataAlgorithm
62{
63public:
65
70 void PrintSelf(ostream& os, vtkIndent indent) override;
72
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
117protected:
120
125
128 int FillInputPortInformation(int port, vtkInformation* info) override;
129
130private:
132 void operator=(const vtkFlyingEdgesPlaneCutter&) = delete;
133};
134
135#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.
static vtkFlyingEdgesPlaneCutter * New()
Standard construction and print methods.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard construction and print methods.
topologically and geometrically regular array of data
Definition: vtkImageData.h:54
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
perform various plane computations
Definition: vtkPlane.h:37
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287