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 
36 #ifndef vtkImageDataToPointSet_h
37 #define vtkImageDataToPointSet_h
38 
39 #include "vtkFiltersGeneralModule.h" // For export macro
41 
42 class vtkImageData;
43 class vtkStructuredData;
44 
45 class VTKFILTERSGENERAL_EXPORT vtkImageDataToPointSet : public vtkStructuredGridAlgorithm
46 {
47 public:
49  void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
50 
51  static vtkImageDataToPointSet *New();
52 
53 protected:
55  ~vtkImageDataToPointSet() VTK_OVERRIDE;
56 
57  int RequestData(vtkInformation *request,
58  vtkInformationVector **inputVector,
59  vtkInformationVector *outputVector) VTK_OVERRIDE;
60 
61  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
62 
63 private:
64  vtkImageDataToPointSet(const vtkImageDataToPointSet &) VTK_DELETE_FUNCTION;
65  void operator=(const vtkImageDataToPointSet &) VTK_DELETE_FUNCTION;
66 
67  int CopyStructure(vtkStructuredGrid *outData, vtkImageData *inData);
68 };
69 
70 
71 #endif //vtkImageDataToPointSet_h
Singleton class for topologically regular data.
Converts a vtkImageData to a vtkPointSet.
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:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
Superclass for algorithms that produce only structured grid as output.
topologically regular array of data
Store zero or more vtkInformation instances.