VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
35 #ifndef __vtkImageDataToPointSet_h
36 #define __vtkImageDataToPointSet_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkStructuredGridAlgorithm.h"
40 
41 class vtkImageData;
42 class vtkStructuredData;
43 
44 class VTKFILTERSGENERAL_EXPORT vtkImageDataToPointSet : public vtkStructuredGridAlgorithm
45 {
46 public:
47  vtkTypeMacro(vtkImageDataToPointSet, vtkStructuredGridAlgorithm);
48  virtual void PrintSelf(ostream &os, vtkIndent indent);
49 
50  static vtkImageDataToPointSet *New();
51 
52 protected:
55 
56  int RequestData(vtkInformation *request,
57  vtkInformationVector **inputVector,
58  vtkInformationVector *outputVector);
59 
60  virtual int FillInputPortInformation(int port, vtkInformation *info);
61 
62 private:
63  vtkImageDataToPointSet(const vtkImageDataToPointSet &); // Not implemented
64  void operator=(const vtkImageDataToPointSet &); // Not implemented
65 
66  int CopyStructure(vtkStructuredGrid *outData, vtkImageData *inData);
67 };
68 
69 
70 #endif //__vtkImageDataToPointSet_h
Converts a vtkImageData to a vtkPointSet.