VTK
vtkPointSetAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPointSetAlgorithm.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 =========================================================================*/
32 #ifndef vtkPointSetAlgorithm_h
33 #define vtkPointSetAlgorithm_h
34 
35 #include "vtkCommonExecutionModelModule.h" // For export macro
36 #include "vtkAlgorithm.h"
37 
38 class vtkPointSet;
39 class vtkPolyData;
40 class vtkStructuredGrid;
42 
43 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPointSetAlgorithm : public vtkAlgorithm
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
51 
57 
62 
67 
72 
74 
84 
86 
96 
97  // this method is not recommended for use, but lots of old style filters
98  // use it
100 
105  vtkInformationVector** inputVector,
106  vtkInformationVector* outputVector) override;
107 
108 protected:
110  ~vtkPointSetAlgorithm() override {}
111 
116  virtual int RequestDataObject(vtkInformation* request,
117  vtkInformationVector** inputVector,
118  vtkInformationVector* outputVector);
119 
126  vtkInformationVector*) {return 1;};
127 
134  vtkInformationVector*) {return 1;};
135 
137 
144  {
145  return 1;
146  };
148 
149  // see algorithm for more info
152 
153 private:
155  void operator=(const vtkPointSetAlgorithm&) = delete;
156 };
157 
158 #endif
vtkPointSetAlgorithm::vtkPointSetAlgorithm
vtkPointSetAlgorithm()
vtkPointSetAlgorithm::ComputeInputUpdateExtent
virtual int ComputeInputUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkPointSetAlgorithm.h:141
vtkPointSetAlgorithm::AddInputData
void AddInputData(vtkPointSet *)
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:44
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:64
vtkPointSetAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkPointSetAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPointSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkPointSetAlgorithm.h:132
vtkPointSetAlgorithm::GetInput
vtkDataObject * GetInput()
vtkPointSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPointSetAlgorithm::ExecuteInformation
virtual int ExecuteInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkPointSetAlgorithm.h:124
vtkPointSetAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPointSetAlgorithm::GetOutput
vtkPointSet * GetOutput()
Get the output data object for a port on this algorithm.
vtkPointSetAlgorithm::GetOutput
vtkPointSet * GetOutput(int)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkPointSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPointSetAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkPointSet
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:43
vtkPointSetAlgorithm::GetStructuredGridOutput
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as vtkStructuredGrid.
vtkPointSetAlgorithm::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
Get the output as vtkPolyData.
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkPointSetAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkPointSetAlgorithm::SetInputData
void SetInputData(int, vtkPointSet *)
vtkPointSetAlgorithm::AddInputData
void AddInputData(int, vtkPointSet *)
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:89
vtkPointSetAlgorithm::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
vtkPointSetAlgorithm::SetInputData
void SetInputData(vtkPointSet *)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPointSetAlgorithm::New
static vtkPointSetAlgorithm * New()
vtkPointSetAlgorithm::~vtkPointSetAlgorithm
~vtkPointSetAlgorithm() override
Definition: vtkPointSetAlgorithm.h:110
vtkPointSetAlgorithm::ProcessRequest
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
vtkPointSetAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.