Main Page   Class Hierarchy   Compound List   File List   Compound Members  

body.hpp

00001 #ifndef BODY_HPP
00002 #define BODY_HPP
00003 
00004 #include <stack>
00005 
00006 #include "movable.hpp"
00007 #include "bvh.hpp"
00008 #include "light.hpp"
00009 #include "rigid.hpp"
00010 
00011 class body : public movable
00012 {
00014         enum displayType {LINES,OBLOIDS,OBJ};
00015         
00016         void recursDraw(bvhPart *part);
00017         
00018 
00019         stack<matrix16f> orient;
00020         //stack<vector3f> joint;
00021 public:
00022         body(string bvhFile);
00023         ~body();
00024 
00026         unsigned counter;
00027 
00028         displayType display;
00029         bvh *theBvh;    
00030         void draw();
00031         void switchDisplay();
00032         //void drawDim(vector<light*> lights);
00033         void update();
00034         void update(int counterOffset);
00035         
00036         vector<light*> lights;
00037 };
00038 
00039 #endif //BODY_HPP

Generated on Tue Jan 14 09:33:34 2003 for Bioviewer by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002