VTK  9.1.0
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
54
55class vtkImageData;
56class vtkPlane;
57
58class VTKFILTERSCORE_EXPORT vtkFlyingEdgesPlaneCutter : public vtkPolyDataAlgorithm
59{
60public:
62
67 void PrintSelf(ostream& os, vtkIndent indent) override;
69
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
114protected:
117
122
126
127private:
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.
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:157
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
perform various plane computations
Definition: vtkPlane.h:143
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:287