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 =========================================================================*/
36 #ifndef vtkCookieCutter_h
37 #define vtkCookieCutter_h
38 
39 #include "vtkFiltersModelingModule.h" // For export macro
40 #include "vtkPolyDataAlgorithm.h"
41 
42 class VTKFILTERSMODELING_EXPORT vtkCookieCutter : public vtkPolyDataAlgorithm
43 {
44 public:
46 
49  static vtkCookieCutter *New();
51  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
62 
64 
73 
74 protected:
76  ~vtkCookieCutter() override;
77 
79  vtkInformationVector *) override;
81  vtkInformationVector *) override;
83 
84 private:
85  vtkCookieCutter(const vtkCookieCutter&) = delete;
86  void operator=(const vtkCookieCutter&) = delete;
87 };
88 
89 
90 #endif
vtkCookieCutter::New
static vtkCookieCutter * New()
Standard methods to instantiate, print and provide type information.
vtkCookieCutter::FillInputPortInformation
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkCookieCutter::GetLoopsConnection
vtkAlgorithmOutput * GetLoopsConnection()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkCookieCutter::SetLoopsData
void SetLoopsData(vtkDataObject *loops)
Specify the a second vtkPolyData input which defines loops used to cut the input polygonal data.
vtkCookieCutter::GetLoops
vtkDataObject * GetLoops()
vtkCookieCutter::vtkCookieCutter
vtkCookieCutter()
vtkPolyDataAlgorithm.h
vtkCookieCutter::~vtkCookieCutter
~vtkCookieCutter() override
vtkCookieCutter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkCookieCutter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:40
vtkCookieCutter::SetLoopsConnection
void SetLoopsConnection(vtkAlgorithmOutput *algOutput)
Specify the a second vtkPolyData input which defines loops used to cut the input polygonal data.
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkCookieCutter
cut vtkPolyData defined on the 2D plane with one or more polygons
Definition: vtkCookieCutter.h:43
vtkCookieCutter::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:45