Drake Designer
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
vtkDepthImageUtils.h
Go to the documentation of this file.
1 // .NAME vtkDepthImageUtils - utilities functions for converting depth images
2 // .Section Description
3 //
4 
5 #ifndef _vtkDepthImageUtils_h
6 #define _vtkDepthImageUtils_h
7 
8 #include <vtkPolyDataAlgorithm.h>
9 #include <vtkSmartPointer.h>
10 
11 #include <vtkDRCFiltersModule.h>
12 
13 class vtkImageData;
14 class vtkCamera;
15 class vtkPoints;
16 class vtkUnsignedCharArray;
17 
18 class VTKDRCFILTERS_EXPORT vtkDepthImageUtils : public vtkPolyDataAlgorithm
19 {
20 public:
21  static vtkDepthImageUtils *New();
22  vtkTypeMacro(vtkDepthImageUtils, vtkPolyDataAlgorithm);
23  void PrintSelf(ostream& os, vtkIndent indent);
24 
25 
26  static void DepthBufferToDepthImage(vtkImageData* depthBuffer, vtkImageData* colorBuffer,
27  vtkCamera* camera, vtkImageData* depthImage,
28  vtkPoints* pts, vtkUnsignedCharArray* ptColors);
29 
30 protected:
33 
34 private:
35 
37  void operator = (const vtkDepthImageUtils&);
38 
39 };
40 #endif
#define VTKDRCFILTERS_EXPORT