VTK
vtkImageDataToPointSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRectilinearGridToTetrahedra.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 =========================================================================*/
15 /*----------------------------------------------------------------------------
16  Copyright (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
19 
33 #ifndef vtkImageDataToPointSet_h
34 #define vtkImageDataToPointSet_h
35 
36 #include "vtkFiltersGeneralModule.h" // For export macro
38 
39 class vtkImageData;
40 class vtkStructuredData;
41 
42 class VTKFILTERSGENERAL_EXPORT vtkImageDataToPointSet : public vtkStructuredGridAlgorithm
43 {
44 public:
46  void PrintSelf(ostream &os, vtkIndent indent) override;
47 
48  static vtkImageDataToPointSet *New();
49 
50 protected:
52  ~vtkImageDataToPointSet() override;
53 
54  int RequestData(vtkInformation *request,
55  vtkInformationVector **inputVector,
56  vtkInformationVector *outputVector) override;
57 
59 
60 private:
62  void operator=(const vtkImageDataToPointSet &) = delete;
63 
64  int CopyStructure(vtkStructuredGrid *outData, vtkImageData *inData);
65 };
66 
67 
68 #endif //vtkImageDataToPointSet_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Singleton class for topologically regular data.
Converts a vtkImageData to a vtkPointSet.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
static vtkStructuredGridAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
Superclass for algorithms that produce only structured grid as output.
topologically regular array of data
Store zero or more vtkInformation instances.