VTK
vtkPolyDataAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataAlgorithm.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 vtkPolyDataAlgorithm_h
34 #define vtkPolyDataAlgorithm_h
35 
36 #include "vtkCommonExecutionModelModule.h" // For export macro
37 #include "vtkAlgorithm.h"
38 #include "vtkPolyData.h" // makes things a bit easier
39 
40 class vtkDataSet;
41 class vtkPolyData;
42 
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
54  virtual void SetOutput(vtkDataObject* d);
56 
58 
63 
64  // this method is not recommended for use, but lots of old style filters
65  // use it
69 
71 
77 
79 
85 
86 protected:
89 
90  // convenience method
91  virtual int RequestInformation(vtkInformation* request,
92  vtkInformationVector** inputVector,
93  vtkInformationVector* outputVector);
94 
96 
98  virtual int RequestData(vtkInformation* request,
99  vtkInformationVector** inputVector,
100  vtkInformationVector* outputVector);
102 
104 
110 
111  // see algorithm for more info
114 
115 private:
116  vtkPolyDataAlgorithm(const vtkPolyDataAlgorithm&); // Not implemented.
117  void operator=(const vtkPolyDataAlgorithm&); // Not implemented.
118 };
119 
120 #endif
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkPolyData.h
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPolyDataAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyDataAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPolyDataAlgorithm::GetPolyDataInput
vtkPolyData * GetPolyDataInput(int port)
vtkPolyDataAlgorithm::~vtkPolyDataAlgorithm
~vtkPolyDataAlgorithm()
vtkPolyDataAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkCommonExecutionModelModule.h
vtkAlgorithm.h
vtkPolyDataAlgorithm::vtkPolyDataAlgorithm
vtkPolyDataAlgorithm()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPolyDataAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPolyDataAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyDataAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPolyDataAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
vtkPolyDataAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
vtkPolyDataAlgorithm::GetOutput
vtkPolyData * GetOutput(int)
vtkPolyDataAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPolyDataAlgorithm::SetOutput
virtual void SetOutput(vtkDataObject *d)
vtkPolyDataAlgorithm::GetInput
vtkDataObject * GetInput()
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPolyDataAlgorithm::GetOutput
vtkPolyData * GetOutput()
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44