00001 00011 #ifndef CUBIUDINTEGERGRID3D_H 00012 #define CUBIUDINTEGERGRID3D_H 00013 00014 #include <Point3DSet.h> 00015 00017 00021 class CuboidIntegerGrid3D : public Point3DSet { 00022 00023 public: 00024 00026 CuboidIntegerGrid3D( size_t nx, size_t ny, size_t nz ); 00027 00029 CuboidIntegerGrid3D( Point3D<int> const& size, Point3D<double> const& origin = Point3D<double>(0,0,0) ); 00030 00032 CuboidIntegerGrid3D( Volume3DSize const& size, Point3D<double> const& origin = Point3D<double>(0,0,0) ); 00033 00034 private: 00035 00037 void populate( int ox, int oy, int oz, size_t nx, size_t ny, size_t nz ); 00038 00040 Point3D<double> origin; 00041 00042 }; 00043 00044 #endif