VR-Forces 4.1 Class Documentation
List of all members | Protected Member Functions | Friends
DtVrfSharedState Class Reference
Inheritance diagram for DtVrfSharedState:
Inheritance graph
[legend]

Protected Member Functions

 DtVrfSharedState (makVrv::DtDe &Ig)
 Protected CTOR for creator pattern.
virtual void initialize ()
 Vantage implementation does not need to initialize shared state.
- Protected Member Functions inherited from makVrv::DtDeSharedState
 DtDeSharedState (DtDe &DtDe)
 Protected CTOR for creator pattern.
virtual void sendModelDefinitionsToSlave (DtMessageClient *messageClient)
 Sends master's DtModelDefinitions to the slave.
virtual void sendModelSetConfigurationToSlave (DtMessageClient *messageClient)
 Push model set configuration down to connected IGs - calls setModeUsesModelSet and setCurrentModelSet.
virtual void local_setModelInstancingEnabled (bool)
 Set if model instance sharing is enabled.
virtual void local_clearModelInstancingCache ()
 Clears the cache of all model definitions.
virtual void local_setWireframeMode (bool mode)
 sets the wireframe mode
virtual void local_setTerrainScalingEnabled (bool enabled)
 Set the terrain scale state.
virtual void local_setTerrainScaleFactor (double scaleFactor)
 Set the terrain scale factor.
virtual void local_setClearTrackHistoryOnTerrainScaleChanged (bool clear)
 Sets whether terrain scaling causes track history clearing.
virtual void local_setPlanViewGeocentricOccludedTransparency (float alpha)
 sets the wireframe mode
virtual void local_setShadowState (bool mode, int qual, bool entity, bool prop, bool terrain)
 sets the shadow state
virtual void local_ddsFlipState (bool flip)
 sets the dds flip state
virtual void local_setVisualizeModelSet (int modelSet, bool visualize)
 indicate whether or not a model set is visualized
void local_setCoordinateSystem (const std::string &coordinateSystemName, const std::string &coordinateSystemParameters)
 Internal setting the coordinate system.
virtual void local_setModelDefinitionManager (const DtModelDefinitionManager &definition)
 Sets the model definition manager in the local DtDe.
virtual void local_addModelDefinition (const DtModelDefinition &definition)
 Adds a model definition to the local DtDe.
virtual void local_destroyModelDefinition (const std::string &definition)
 Adds a model definition to the local DtDe. .
void local_setDateAndTime (int year, DtDeTimeManager::Month month, int dayOfMonth, int hour, int minutes, double seconds)
void local_setTimeScale (double timeScale)
virtual void local_setAccelerationCachingEnabled (bool enabled)
 Set whether accelerated file caching is enabled.
virtual void local_clearAccelerationCache ()
 Clears the accelerated cache on disk.
virtual void local_setInstancingEnabled (bool enabled)
 Set whether file instancing is enabled.
virtual void local_setClearInstancesOnNewScene (bool enabled)
 Set whether clearing instances on new scenes is enabled.
virtual void local_clearInstancingCache ()
 Clears the runtime file instance cache.
virtual void local_setCompressTextures (bool enabled)
 Set whether texture compression is enabled.

Friends

class DtVrfSharedStateCreator
 Specify the creator class as a friend to access protected CTOR.

Additional Inherited Members

- Public Member Functions inherited from makVrv::DtDeSharedState
virtual ~DtDeSharedState ()
 DTOR.
virtual void initializeSharedChangeManager ()
 Initializes the shared change state manager with change state objects that are currently part of the system.
void setAutoSave (bool b)
bool autoSave () const
virtual const
DtModelDefinitionManager
modelDefinitionManager () const
 DtModelDefinitionManager accessor.
virtual DtModelDefinitionManagermodelDefinitionManager ()
 DtModelDefinitionManager accessor.
virtual const
DtModelSetRealizationManager
modelSetRealizationManager () const
 DtModelSetRealizationManager accessor.
virtual void setVisualizeModelSet (int modelset, bool visualize)
 Indicate that a model set should be visualized.
virtual void addModelDefinition (const DtModelDefinition &definition)
 Adds a model definition to the DtDe.
virtual void setModelDefinitionManager (const DtModelDefinitionManager &definition)
 Sets model definition manager in the DtDe.
virtual void renameModelDefinition (const DtModelDefinition &old, const DtModelDefinition &newDef)
 Renames model definition to the DtDe.
virtual void destroyModelDefinition (const DtModelDefinition &definition)
 Destroys a model definition from the DtDe.
virtual void setModelInstancingEnabled (bool)
 Set if model instance sharing is enabled.
virtual void clearModelInstancingCache ()
 Clears the cache of all model definitions.
virtual void setCoordinateSystem (const std::string &coordinateSystemName, const std::string &coordinateSystemParameters)
 Set the coordinate system.
const DtCoordinateSystemcoordinateSystem () const
 Get the coordinate system.
DtCoordinateSystemcoordinateSystem ()
 Set the coordinate system.
virtual void setDateAndTime (int year, DtDeTimeManager::Month month, int dayOfMonth, int hour, int minutes, double seconds)
 Set the current date and time of the scene.
virtual void setTimeScale (double timeScale)
 Set the current time scale relative to simulation time.
const DtDeTimeManagertimeManager () const
 Access the constant time manager for getting the date and time.
virtual void setWireframeMode (bool state)
 state functions
virtual bool wireframeMode () const
 state functions
virtual bool terrainScalingEnabled () const
 terrain scaling state functions
virtual void setTerrainScalingEnabled (bool enabled)
 state functions
virtual double terrainScaleFactor () const
 state functions
virtual void setTerrainScaleFactor (double scaleFactor)
 state functions
virtual bool clearTrackHistoryOnTerrainScaleChanged () const
 state functions
virtual void setClearTrackHistoryOnTerrainScaleChanged (bool clear)
 state functions
virtual void setPlanViewGeocentricOccludedTransparency (float f)
 occluded transparency state functions
virtual float planViewGeocentricOccludedTransparency () const
 state functions
virtual void setPerformanceOverlayOn (bool enabled)
 state functions
virtual bool performanceOverlayEnabled () const
 state functions
virtual void setShadowState (bool shadowMode, int shadowQuality, bool entityMode, bool propMode, bool terrainMode)
 shadow state functions
virtual bool shadowMode () const
 state functions
virtual int shadowQuality () const
 state functions
virtual bool entityShadowMode () const
 state functions
virtual bool propShadowMode () const
 state functions
virtual bool terrainShadowMode () const
 state functions
virtual void loadRenderSettings (const std::string &filepath)
 state functions
virtual void saveRenderSettings (const std::string &filepath)
 state functions
virtual void loadDefaultRenderSettings (bool useOnlyFactorySettings)
 state functions
virtual void saveDefaultRenderSettings ()
 state functions
virtual void updateRenderState ()
 state functions
virtual void setDdsFlip (bool state)
 Loader settings functions.
virtual bool ddsFlip () const
 Get the global DDS flip option.
virtual void loadLoaderSettings (const std::string &filepath)
 Loader settings functions.
virtual void saveLoaderSettings (const std::string &filepath)
 Loader settings functions.
virtual void loadDefaultLoaderSettings (bool useOnlyFactorySettings)
 Loader settings functions.
virtual void saveDefaultLoaderSettings ()
 Loader settings functions.
virtual void updateLoaderState ()
 Loader settings functions.
virtual void setAccelerationCachingEnabled (bool enabled)
 \ Cache Settings functions
virtual bool accelerationCachingEnabled () const
 Get whether accelerated file caching is enabled.
virtual void clearAccelerationCache () const
 Clears the accelerated cache on disk.
virtual void setInstancingEnabled (bool enabled)
 Set whether file instancing is enabled.
virtual void setClearInstancesOnNewSceneEnabled (bool enabled)
 Set whether to clear the instances on a new scene.
virtual bool instancingEnabled () const
 Get whether file instancing is enabled.
virtual bool clearInstancesOnNewScene () const
 Get whether file instancing is enabled.
virtual void clearInstancingCache ()
 Clears the runtime file instance cache.
virtual void setCompressTextures (bool enabled)
 Set whether texture compression is enabled.
virtual bool compressTextures () const
 Get whether texture compression is enabled.
virtual void loadCacheSettings (const std::string &filepath)
 \ Cache Settings functions
virtual void saveCacheSettings (const std::string &filepath)
 \ Cache Settings functions
virtual void loadDefaultCacheSettings (bool useOnlyFactorySettings)
 \ Cache Settings functions
virtual void saveDefaultCacheSettings ()
 \ Cache Settings functions
virtual void updateCacheState ()
 \ Cache Settings functions
virtual void synchronizeSlave (DtDeRecord *igRecord)
 Synchronize a slave with a master.
- Public Attributes inherited from makVrv::DtDeSharedState
boost::signal< void(const
std::string &, const
std::string &)> 
signal_coordinateSystemChanged
 Emitted when the coordinate system changes.
- Protected Attributes inherited from makVrv::DtDeSharedState
DtDemyDe
DtDeSharedStateProctormyIgSharedStateProctor
DtModelDefinitionManagermyModelDefinitionManager
DtModelSetRealizationManagermyModelSetRealizationManager
DtCoordinateSystemmyCoordinateSystem
DtDeTimeManager myTimeManager
bool myWireframeMode
bool myTerrainScalingEnabled
double myTerrainScaleFactor
bool myClearTrackHistoryOnTerrainScaleChanged
float myPlanViewGeocentricOccludedTransparency
bool myShadowMode
int myShadowQuality
bool myEntityShadowMode
bool myPropShadowMode
bool myTerrainShadowMode
bool myAutoSave

Constructor & Destructor Documentation

DtVrfSharedState::DtVrfSharedState ( makVrv::DtDe Ig)
protected

Protected CTOR for creator pattern.

Member Function Documentation

virtual void DtVrfSharedState::initialize ( )
protectedvirtual

Vantage implementation does not need to initialize shared state.

Reimplemented from makVrv::DtDeSharedState.

Friends And Related Function Documentation

friend class DtVrfSharedStateCreator
friend

Specify the creator class as a friend to access protected CTOR.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)