VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtSharedModelSetSettings.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSharedModelSetSettings.h,v $ $Revision: 1.23 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtSharedModelSetSettings_H_
00014 #define DtSharedModelSetSettings_H_
00015 
00016 #include <vrvCore/vrvCore.h>
00017 #include <vrvCore/DtSharedSettings.h>
00018 
00019 #include <string>
00020 #include <map>
00021 
00022 
00023 namespace makVrv
00024 {
00027    class DT_DLL_VRVCORE DtSharedModelSetSettings : public DtSharedSettings
00028    {
00029    public:
00030       typedef std::map<int, bool> ModelSetVisualizedMap;
00031       
00034       friend class DtReadSettingsLock<DtSharedModelSetSettings>;
00035       friend class DtWriteSettingsLock<DtSharedModelSetSettings>;
00036       friend class DtSharedSettingsManager;
00037 
00041       static std::string className();
00042 
00044       virtual ~DtSharedModelSetSettings();
00045       
00046       // set if a model set is visualized
00047       void setModelSetVisualized( int modelSet, bool trueOrFalse );
00048       
00049       // check if a model set is visualized
00050       bool modelSetVisualized( int modelSet ) const;
00051       
00052       //Get the model sets that are currently visualized.
00053       const ModelSetVisualizedMap& modelSetVisualizedMap() const;
00054       
00055       // set, by map
00056       void setModelSetVisualizedMap( const ModelSetVisualizedMap& 
00057          modelSetVisualizedMap );
00058 
00059 
00060    protected:
00061 
00063       DtSharedModelSetSettings(DtSharedSettingsManager& manager);
00064       
00065    protected:
00066 
00067       ModelSetVisualizedMap myModelSetVisualizedMap;
00068       
00069 
00070 
00071    };
00072 }
00073 
00074 #endif
00075 

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)