VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtMtlModelMapReader.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00009 #pragma once
00010 
00011 #include <vrvCore/vrvCore.h> 
00012 
00013 #include <mtl/lispEnv.h>
00014 #include <vlpi/entityType.h>
00015 
00016 namespace makVrv
00017 {
00021    class DT_DLL_VRVCORE DtMtlModelMapReader
00022    {
00023    public:
00024 
00026       typedef struct
00027       {
00029          std::string modelName;
00030 
00032          std::string modelFile;
00033 
00035          DtEntityType type;
00036 
00037       }  MtlModelMapping;
00038 
00040       typedef std::vector<MtlModelMapping> MtlModelMappings;
00041 
00047       static bool carAsFixnum(DtlObjPtr lst, int& fixnumOut, DtlObjPtr& cdrOut);
00048 
00054       static bool carAsString(DtlObjPtr lst, std::string& strOut, DtlObjPtr& cdrOut);
00055 
00060       static bool listToEntityType(DtlObjPtr lst, DtEntityType& typeOut);
00061 
00064       static DtlObjPtr DtlModelMap(const DtlObjPtr& args, const DtlObjPtr& env);
00065 
00069        static MtlModelMappings& mtlModelMappings();
00070 
00071        static std::set<std::string>& stealthModelSet();
00072 
00073    protected:
00074       static MtlModelMappings theMtlModelMappings;
00075       static std::set<std::string> theStealthModelSet;
00076    };
00077 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)