VTK  9.1.0
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=========================================================================*/
33#ifndef vtkCookieCutter_h
34#define vtkCookieCutter_h
35
36#include "vtkFiltersModelingModule.h" // For export macro
38
39class VTKFILTERSMODELING_EXPORT vtkCookieCutter : public vtkPolyDataAlgorithm
40{
41public:
43
48 void PrintSelf(ostream& os, vtkIndent indent) override;
50
59
61
70
72
77 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
79
85
86protected:
88 ~vtkCookieCutter() override;
89
93
95
96private:
97 vtkCookieCutter(const vtkCookieCutter&) = delete;
98 void operator=(const vtkCookieCutter&) = delete;
99};
100
101#endif
Proxy object to connect input/output ports.
cut vtkPolyData defined on the 2D plane with one or more polygons
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 loops used to cut the input polygonal data.
vtkAlgorithmOutput * GetLoopsConnection()
void SetLoopsConnection(vtkAlgorithmOutput *algOutput)
Specify the a second vtkPolyData input which defines loops used to cut the input polygonal data.
static vtkCookieCutter * New()
Standard methods to instantiate, print and provide type information.
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.
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 loops used to cut the input polygonal data.
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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.