MC_grid_3d_scalar_slicer.hpp

Go to the documentation of this file.
00001 
00002 #ifndef _MC_GRID_3D_SCALAR_SLICER_HPP_
00003 #define _MC_GRID_3D_SCALAR_SLICER_HPP_
00004 
00005 #include <fstream>
00006 
00007 #include <MC_double_vector.hpp>
00008 #include <MC_exception.hpp>
00009 
00010 namespace mesh_conv
00011 {
00012     class MC_grid_3d_scalar;
00013     class MC_mesh_index_vector;
00014 
00016     class MC_grid_3d_scalar_slicer
00017     {
00018     public:
00019 
00020         // ************************************************ //
00021         // ************************************************ //
00022         // SLICE
00023         // ************************************************ //
00024         // ************************************************ //
00025 
00029         static MC_double_vector slice(const MC_grid_3d_scalar& potential,const MC_mesh_index_vector& mesh);
00030 
00031 
00032         // ************************************************ //
00033         // ************************************************ //
00034         // TEXTURE
00035         // ************************************************ //
00036         // ************************************************ //
00037 
00039         static void export_square_ppm(std::ofstream& stream,const MC_double_vector& value,const unsigned int& N0,const unsigned int& N1);
00041         static void export_square_ppm_file(const std::string& filename,const MC_double_vector& value,const unsigned int& N0,const unsigned int& N1);
00042 
00043 
00044     private:
00045 
00046     };
00047 }
00048 
00049 #endif

Generated on Sun Apr 18 20:24:47 2010 by  doxygen 1.6.1