Sirikata
libmesh/plugins/ply/PlyModelSystem.hpp
Go to the documentation of this file.
00001 // Copyright (c) 2012 Sirikata Authors. All rights reserved.
00002 // Use of this source code is governed by a BSD-style license that can
00003 // be found in the LICENSE file.
00004 
00005 #ifndef _SIRIKATA_LIBMESH_PLY_MODEL_SYSTEM_
00006 #define _SIRIKATA_LIBMESH_PLY_MODEL_SYSTEM_
00007 
00008 #include <sirikata/mesh/ModelsSystem.hpp>
00009 
00010 namespace Sirikata {
00011 
00012 
00013 
00015 class PlyModelSystem : public ModelsSystem {
00016 public:
00017     PlyModelSystem();
00018     virtual ~PlyModelSystem ();
00019 
00020     virtual bool canLoad(Transfer::DenseDataPtr data);
00021 
00022     virtual Mesh::VisualPtr load(const Transfer::RemoteFileMetadata& metadata, const Transfer::Fingerprint& fp,
00023         Transfer::DenseDataPtr data);
00024     virtual Mesh::VisualPtr load(Transfer::DenseDataPtr data);
00025 
00026     virtual bool convertVisual(const Mesh::VisualPtr& visual, const String& format, std::ostream& vout);
00027     virtual bool convertVisual(const Mesh::VisualPtr& visual, const String& format, const String& filename);
00028 
00029 protected:
00030 
00031 private:
00032 
00033 };
00034 
00035 } // namespace Sirikata
00036 
00037 #endif //_SIRIKATA_LIBMESH_PLY_MODEL_SYSTEM_