VTK
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
37 #include "vtkPolyDataAlgorithm.h"
38 
39 class VTKFILTERSMODELING_EXPORT vtkCookieCutter : public vtkPolyDataAlgorithm
40 {
41 public:
43 
46  static vtkCookieCutter *New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
57  void SetLoopsConnection(vtkAlgorithmOutput* algOutput);
58  vtkAlgorithmOutput* GetLoopsConnection();
59 
61 
67  void SetLoopsData(vtkDataObject *loops);
68  vtkDataObject *GetLoops();
70 
71 protected:
73  ~vtkCookieCutter() override;
74 
76  vtkInformationVector *) override;
78  vtkInformationVector *) override;
79  int FillInputPortInformation(int, vtkInformation *) override;
80 
81 private:
82  vtkCookieCutter(const vtkCookieCutter&) = delete;
83  void operator=(const vtkCookieCutter&) = delete;
84 };
85 
86 
87 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:36
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:58
vtkCookieCutter
cut vtkPolyData defined on the 2D plane with one or more polygons
Definition: vtkCookieCutter.h:39
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41