orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
objectmodel.h00001 #ifndef OBJECTMODEL_H 00002 #define OBJECTMODEL_H 00003 00004 #if HAVE_LIB3DS 00005 #include <lib3ds/file.h> 00006 #include <lib3ds/node.h> 00007 #include <lib3ds/mesh.h> 00008 #include <lib3ds/material.h> 00009 #include <lib3ds/camera.h> 00010 #include <lib3ds/light.h> 00011 #include <lib3ds/matrix.h> 00012 #include <lib3ds/vector.h> 00013 #endif 00014 00015 namespace orcaqgui3d { 00016 00022 class ObjectModel 00023 { 00024 00025 public: 00026 00027 ObjectModel( const char *filename ); 00028 ~ObjectModel(); 00029 00031 void render(); 00032 00033 private: 00034 00035 #if HAVE_LIB3DS 00036 void renderNode(Lib3dsNode *node); 00037 Lib3dsFile *file_; 00038 #endif 00039 00040 }; 00041 00042 } 00043 00044 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)