ModelLoader.h
Go to the documentation of this file.
00001 
00010 #ifndef _MODELLOADER_H_
00011 #define _MODELLOADER_H_
00012 
00013 #include <stdlib.h>
00014 #include <stddef.h>
00015 #include <string>
00016 
00017 #include <blort/Tracker/ply.h>
00018 #include <blort/Tracker/PlyStructure.h>
00019 #include <blort/TomGine/tgModel.h>
00020 #include <blort/Tracker/TrackerModel.h>
00021 
00022 
00023 namespace Tracking{
00024 
00026 class ModelLoader
00027 {
00028 private:
00029 
00030         bool propertyIsInList(PlyProperty* prop, PlyProperty* list, int n, int* index);
00031 
00032 public:
00033         ModelLoader();
00034         ~ModelLoader();
00035         
00041         bool LoadPly(TomGine::tgModel &model, const char* filename);
00042         bool LoadPly(TrackerModel &model, const char* filename);
00043         
00044         bool SavePly(TomGine::tgModel &model, const char* filename);
00045         bool SavePly(TrackerModel &model, const char* filename);
00046            
00047 };
00048 
00049 } // namespace Tracking
00050 
00051 #endif


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12