vtf-logo

SiloMesh.h

00001 // -*- C++ -*-
00002 
00003 // Copyright (C) 2003-2007 California Institute of Technology
00004 // Daniel Ortiz, Santiago Lombeyda
00005 
00006 #include <cstring>
00007 #include <string>
00008 #include <silo.h>
00009 
00010 #ifndef _SILOCREATOR_SILOMESH_CLASS
00011 #define _SILOCREATOR_SILOMESH_CLASS
00012 
00013 using std::string;
00014 
00015 class SiloMesh{
00016  public:
00017   char  * name;
00018   int     ndims;
00019   int   * dims;
00020   float * min;
00021   float * max;
00022 
00023   string  path;
00024 
00025   // SiloMesh - sets all the relevant data for the mesh
00026   // Argument: String - string of mesh name
00027   //            Integer   - number of dimensions
00028   //            Integer * - dimensions of the mesh (xyz)
00029   //            Float   * - the min float value of the mesh (xyz)
00030   //            Float   * - the max float value of the mesh (xyz)
00031   SiloMesh(char*, int, int *, float*, float *);
00032   void SetPath(string);
00033   string GetFullPathName();
00034 
00035   ~SiloMesh(); 
00036    
00037 };
00038 
00039 #endif

Generated on Fri Aug 24 13:00:31 2007 for AMROC's HDF Tools - by  doxygen 1.4.7