Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DS3Filter.h

00001 /*
00002   File: DS3Filter.h
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef DS3FILTER_H
00007 #define DS3FILTER_H
00008 
00009 #include<PolygonalModel.h>
00010 #include<File.h>
00011 
00012 #include<stdlib.h>
00013 #include<string>
00014 
00017 class DS3Filter
00018 {
00019 public:
00020     static bool find(string &fileName);
00021 
00022     DS3Filter();
00023 
00024     void operator()(string &fileName, PolygonalModel &obj);
00025 
00026 private:
00027     static void initialize();
00028     static string meshPath;
00029 
00030     Vertex3 readVertex();
00031     void readMainChunk();
00032     void readEditorChunk(unsigned long endPosition);
00033     void readObjectChunk(unsigned long endPosition);
00034     void readMeshChunk(unsigned long endPosition);
00035 
00036     File f;
00037     unsigned long fileSize;
00038     PolygonalModel *object;
00039 };
00040 #endif

This documentation was generated using doxygen. If you have any comments or additions please mail me.