proj home

Files   Classes   Functions   Hierarchy  

vrmlconvert.h

Go to the documentation of this file.
00001 #ifndef VRMLCONVERT_H
00002 #define VRMLCONVERT_H
00003 
00004 #include <cassert>
00005 #include <vector>
00006 using namespace std;
00007 
00008 #include <typedefs.h>
00009 #include <vrmlshape.h>
00010 #include <vrmlshaperaw.h>
00011 #include <vrmlshapeparse.h>
00012 
00013 
00036 class vrmlconvert
00037 {
00038 public:
00039 
00041   boolc eval
00042   (
00043     vector< vrmlshape > & s,
00044     vrmlshapeparse const & p
00045   ) const;
00046 
00047 private:
00048 
00051   boolc equalattributes
00052   (
00053     vrmlshape const & s, 
00054     vrmlshaperaw const & raw 
00055   ) const;
00056 
00058   void writeattributes
00059   (
00060     vrmlshape & s, 
00061     vrmlshaperaw const & raw 
00062   ) const;
00063 
00065   void writepointsandnormals
00066   (
00067     vrmlshape & s, 
00068     vrmlshaperaw const & raw 
00069   ) const;
00070 
00073   boolc validcoord
00074   ( 
00075     vector<uint> & cord1,
00076     vector<int> const & coord2,
00077     int const N
00078   ) const;
00079 
00081   boolc hastriangles
00082   (
00083     vector< vrmlshaperaw > const & v 
00084   ) const;
00085 };
00086 
00087 
00088 #endif
00089 
00090 

Generated on Fri Mar 4 00:49:32 2011 for Chelton Evans Source by  doxygen 1.5.8