Go to the documentation of this file.00001 #ifndef PCL_OUTOFCORE_GRID_H_
00002 #define PCL_OUTOFCORE_GRID_H_
00003
00004
00005 #include <iostream>
00006 #include <string>
00007
00008
00009 #include "geometry.h"
00010 #include "object.h"
00011
00012
00013 #include <vtkActor.h>
00014 #include <vtkRectilinearGrid.h>
00015 #include <vtkDataSetMapper.h>
00016 #include <vtkDoubleArray.h>
00017 #include <vtkPolyData.h>
00018 #include <vtkSmartPointer.h>
00019
00020
00021 class Grid : public Object
00022 {
00023 public:
00024
00025
00026
00027 Grid (std::string name, int size = 10, double spacing = 1.0);
00028 ~Grid () { }
00029
00030
00031
00032 inline vtkSmartPointer<vtkRectilinearGrid>
00033 getGrid () const
00034 {
00035 return grid_;
00036 }
00037
00038
00039 vtkSmartPointer<vtkActor>
00040 getGridActor () const
00041 {
00042 return grid_actor_;
00043 }
00044
00045 private:
00046
00047
00048
00049 vtkSmartPointer<vtkRectilinearGrid> grid_;
00050 vtkSmartPointer<vtkActor> grid_actor_;
00051
00052 };
00053
00054 #endif