VTK  9.2.6
vtkCookieCutter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCookieCutter.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=========================================================================*/
51
52#ifndef vtkCookieCutter_h
53#define vtkCookieCutter_h
54
55#include "vtkFiltersModelingModule.h" // For export macro
57
58class VTKFILTERSMODELING_EXPORT vtkCookieCutter : public vtkPolyDataAlgorithm
59{
60public:
62
67 void PrintSelf(ostream& os, vtkIndent indent) override;
69
79
81
90
92
96 vtkSetMacro(PassCellData, bool);
97 vtkGetMacro(PassCellData, bool);
98 vtkBooleanMacro(PassCellData, bool);
100
102
110 vtkSetMacro(PassPointData, bool);
111 vtkGetMacro(PassPointData, bool);
112 vtkBooleanMacro(PassPointData, bool);
114
120
122
129 vtkGetMacro(PointInterpolation, int);
133
135
142
148
149protected:
152
156
160
162
163private:
164 vtkCookieCutter(const vtkCookieCutter&) = delete;
165 void operator=(const vtkCookieCutter&) = delete;
166};
167
168#endif
Proxy object to connect input/output ports.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void CreateDefaultLocator()
Create default locator.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods to instantiate, print and provide type information.
vtkIncrementalPointLocator * Locator
vtkDataObject * GetLoops()
Specify the a second vtkPolyData input which defines trim loops used to cut the input polygonal data.
vtkAlgorithmOutput * GetLoopsConnection()
void SetLoopsConnection(vtkAlgorithmOutput *algOutput)
Specify the a second vtkPolyData input which defines trim loops used to cut the input polygonal data.
static vtkCookieCutter * New()
Standard methods to instantiate, print and provide type information.
void SetPointInterpolationToMeshEdges()
If PassPointData is on, indicate how new point data is to generated at the intersection points betwee...
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
virtual void SetPointInterpolation(int)
If PassPointData is on, indicate how new point data is to generated at the intersection points betwee...
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
~vtkCookieCutter() override
void SetLoopsData(vtkDataObject *loops)
Specify the a second vtkPolyData input which defines trim loops used to cut the input polygonal data.
void SetPointInterpolationToLoopEdges()
If PassPointData is on, indicate how new point data is to generated at the intersection points betwee...
general representation of visualization data
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.