VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Protected Member Functions | Friends
DtVrfSharedState Class Reference

Shared state. More...

Inheritance diagram for DtVrfSharedState:
Inheritance graph
[legend]

Classes

class  Creator
 VRV Creator. More...

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_reloadShader ()
 Reloads the shaders.
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_setUseAutofocus (bool useAutofocus)
 Set whether the depth of field uses autofocus.
virtual void local_setFocalDepth (double focalDepth)
 Set the focal depth for depth of field.
virtual void local_setFocalRange (double focalRange)
 Set the focal range for depth of field.
virtual void local_setGlobalAmbientValue (float globalAmbientValue)
 Set the ambient factor.
virtual void local_setUseGlobalAmbient (bool useGlobalAmbient)
 Set the use material ambient.
virtual void local_setGlobalDiffuseValue (double globalDiffuseValue)
 Set the diffuse factor.
virtual void local_setUseGlobalDiffuse (bool useGlobalDiffuse)
 Set the use material diffuse.
virtual void local_setClearTrackHistoryOnTerrainScaleChanged (bool clear)
 Sets whether terrain scaling causes track history clearing.
virtual void local_setPlanViewGeocentricOccludedTransparency (float alpha)
 Sets the occluded transparency mode.
virtual void local_setShadowState (bool mode)
 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_setPerPixelLightingEnabled (bool mode)
 Sets the perPixelLighting mode.
virtual void local_setOceanPlanarReflectionsEnabled (bool mode)
 Sets the oceanPlanarReflections mode.
virtual void local_setOceanPlanarReflectionsLODScale (float val)
 Sets the oceanPlanarReflections camera LOD scale.
virtual void local_setOceanPlanarReflectionsSpecifyFarClip (bool mode)
 Sets the oceanPlanarReflections specify far clip flag.
virtual void local_setOceanPlanarReflectionsFarClip (double val)
 Sets the oceanPlanarReflections camera's far clip, if enabled.
virtual void local_setStaticOceanLodRange (double range)
virtual void local_setLensFlareEnabled (bool mode)
 Sets the lens flare mode.
virtual void local_setCrepuscularRaysEnabled (bool mode)
 Sets the crepuscular rays (sun rays) mode.
virtual void local_setWaveSprayEffectEnabled (bool mode)
 Sets the sea spray particle effect.
virtual void local_setRotorWashDecalEnabled (bool mode)
 Sets the rotor wash detail texture decal.
virtual void local_setOceanHeightMapResolution (double resolution)
 Sets the ocean height map resolution.
virtual void local_setInstancedRenderingEnabled (bool enabled)
 Set whether instanced rendering is enabled.
virtual void local_setRegenerateCubeMapThreshold (double threshold)
 Set regenerate cube map threshold.
virtual void local_setRegenerateHeightMapPercThreshold (double threshold)
 Set regenerate height map percentage threshold.
virtual void local_setOmitCloudInCubeMap (bool enabled)
 Set whether clouds are omitted in cube map.
virtual void local_setOceanHeightMapTextureSize (int val)
 Sets the ocean height map texture.
virtual void local_setPlanarReflectionTextureWidth (int w)
virtual void local_setPlanarReflectionTextureHeight (int w)
virtual void local_setLightingEmissionScale (float val)
 Sets the lighting emission scale for the emission textures.
virtual void local_setLightingDiffuseScale (float val)
 Sets the lighting diffuse scale for the scene.
virtual void local_setLightingAmbientScale (float val)
 Sets the lighting ambient scale for the scene.
virtual void local_setIntersectorDrawEnabled (bool setting)
virtual void local_setIntersectorDrawnDuration (float setting)
virtual void local_setFailedIntersectorColor (const DtColorValue &setting)
virtual void local_setOddSegmentIntersectorColor (const DtColorValue &setting)
virtual void local_setEvenSegmentIntersectorColor (const DtColorValue &setting)
virtual void local_setDiGuyInstancingEnabled (bool color)
virtual void local_setDiGuyInstancedLod (int lod)
virtual void local_setDiGuyVisualizeInstancing (bool enabled)
virtual void local_setDiGuyMaxDrawDistance (float distance)
virtual void local_setDiGuyMultiThreadUpdate (bool enabled)
virtual void local_setPagedLodMagnificationHighLodAngle (float val)
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)
void local_setUseGlobalTimeZone (bool)
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.
virtual void local_setTidalStreamWakesEnabled (bool enabled)
 Set whether tidal stream wakes are enabled.

Friends

class Creator

Additional Inherited Members

- Public Member Functions inherited from makVrv::DtDeSharedState
virtual ~DtDeSharedState ()
 DTOR.
virtual void setPagedLodMagnificationHighLodAngle (float angle)
 Render Setting Functions
virtual float pagedLodMagnificationHighLodAngle () const
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 setUseGlobalTimeZone (bool)
 Tell the system to use GMT time as the means to position the sun/moon rather than always moving with the observer.
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.
DtDeTimeManagertimeManager ()
 Access the non-const time manager for connecting to its signal_dateChanged.
virtual void reloadShader ()
 state functions
virtual void setWireframeMode (bool state)
 wireframe 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 bool useAutofocus () const
 autofocus for depth of field functions
virtual void setUseAutofocus (bool useAutofocus)
 state functions
virtual double focalDepth () const
 focal depth (focal distance) for depth of field functions
virtual void setFocalDepth (double focalDepth)
 state functions
virtual double focalRange () const
 range of in focus area around focal point
virtual void setFocalRange (double focalRange)
 state functions
virtual float globalAmbientValue () const
 ambient factor functions; used when not using material ambient
virtual void setGlobalAmbientValue (float globalAmbientValue)
 state functions
virtual bool useGlobalAmbient () const
 state functions
virtual void setUseGlobalAmbient (bool useGlobalAmbient)
 state functions
virtual float globalDiffuseValue () const
 diffuse factor functions; used when not using material diffuse
virtual void setGlobalDiffuseValue (float globalDiffuseValue)
 state functions
virtual bool useGlobalDiffuse () const
 state functions
virtual void setUseGlobalDiffuse (bool useGlobalDiffuse)
 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 setProfilerOverlayOn (bool enabled)
 state functions
virtual bool profilerOverlayEnabled () const
 state functions
virtual bool perPixelLightingEnabled () const
 state functions
virtual void setPerPixelLightingEnabled (bool setting)
 state functions
virtual bool lensFlareEnabled () const
 state functions
virtual void setLensFlareEnabled (bool setting)
 state functions
virtual bool crepuscularRaysEnabled () const
 state functions
virtual void setCrepuscularRaysEnabled (bool setting)
 state functions
virtual int componentVisualizationMode () const
 state functions
virtual void setComponentVisualizationMode (int value)
 state functions
virtual double regenerateCubeMapThreshold () const
 state functions
virtual void setRegenerateCubeMapThreshold (double threshold)
 state functions
virtual double regenerateHeightMapPercThreshold () const
 state functions
virtual void setRegenerateHeightMapPercThreshold (double threshold)
 state functions
virtual bool omitCloudInCubeMap () const
 state functions
virtual void setOmitCloudInCubeMap (bool omit)
 state functions
virtual void setInstancedRenderingEnabled (bool enabled)
 Enable/disable instanced rendering.
virtual bool instancedRenderingEnabled () const
 Get state of instanced rendering flag.
virtual void setShadowState (bool shadowMode)
 shadow state functions
virtual bool shadowMode () 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 bool oceanPlanarReflectionsEnabled () const
 Render Setting Functions
virtual void setOceanPlanarReflectionsEnabled (bool setting)
 Render Setting Functions
virtual float oceanPlanarReflectionsLODScale () const
 Render Setting Functions
virtual void setOceanPlanarReflectionsLODScale (float setting)
 Render Setting Functions
virtual bool oceanPlanarReflectionsSpecifyFarClip () const
 Render Setting Functions
virtual void setOceanPlanarReflectionsSpecifyFarClip (bool setting)
 Render Setting Functions
virtual double oceanPlanarReflectionsFarClip () const
 Render Setting Functions
virtual void setOceanPlanarReflectionsFarClip (double setting)
 Render Setting Functions
virtual double staticOceanLodRange () const
 Render Setting Functions
virtual void setStaticOceanLodRange (double range)
 Render Setting Functions
virtual bool waveSprayEffectEnabled () const
 Render Setting Functions
virtual void setWaveSprayEffectEnabled (bool setting)
 Render Setting Functions
virtual bool rotorWashDecalEnabled () const
 Render Setting Functions
virtual void setRotorWashDecalEnabled (bool setting)
 Render Setting Functions
virtual double oceanHeightMapResolution () const
 Render Setting Functions
virtual void setOceanHeightMapResolution (double setting)
 Render Setting Functions
virtual void setOceanHeightMapTextureSize (int setting)
 Render Setting Functions
virtual int oceanHeightMapTextureSize () const
 Render Setting Functions
virtual void setTidalStreamWakesEnabled (bool enabled)
 Enable/disable tidal stream wake rendering.
virtual bool tidalStreamWakesEnabled () const
 Get state of tidal stream wakes rendering flag.
virtual int planarReflectionTextureWidth () const
 Render Setting Functions
virtual void setPlanarReflectionTextureWidth (int w)
 Render Setting Functions
virtual int planarReflectionTextureHeight () const
 Render Setting Functions
virtual void setPlanarReflectionTextureHeight (int h)
 Render Setting Functions
virtual void loadOceanRenderSettings (const std::string &filepath)
 Render Setting Functions
virtual void saveOceanRenderSettings (const std::string &filepath)
 Render Setting Functions
virtual void loadDefaultOceanRenderSettings (bool useOnlyFactorySettings)
 Render Setting Functions
virtual void saveDefaultOceanRenderSettings ()
 Render Setting Functions
virtual void updateOceanRenderState ()
 Render Setting Functions
virtual float lightingEmissionScale () const
 Render Setting Functions
virtual void setLightingEmissionScale (float setting)
 Render Setting Functions
virtual float lightingDiffuseScale () const
 Render Setting Functions
virtual void setLightingDiffuseScale (float setting)
 Render Setting Functions
virtual float lightingAmbientScale () const
 Render Setting Functions
virtual void setLightingAmbientScale (float setting)
 Render Setting Functions
virtual void loadLightingRenderSettings (const std::string &filepath)
 Render Setting Functions
virtual void saveLightingRenderSettings (const std::string &filepath)
 Render Setting Functions
virtual void loadDefaultLightingRenderSettings (bool useOnlyFactorySettings)
 Render Setting Functions
virtual void saveDefaultLightingRenderSettings ()
 Render Setting Functions
virtual void updateLightingRenderState ()
 Render Setting Functions
virtual bool intersectorDrawEnabled () const
 Setting Functions
virtual void setIntersectorDrawEnabled (bool setting)
 Setting Functions
virtual float intersectorDrawnDuration () const
 Setting Functions
virtual void setIntersectorDrawnDuration (float setting)
 Setting Functions
virtual const DtColorValuefailedIntersectorColor () const
 Setting Functions
virtual void setFailedIntersectorColor (const DtColorValue &setting)
 Setting Functions
virtual const DtColorValueoddSegmentIntersectorColor () const
 Setting Functions
virtual void setOddSegmentIntersectorColor (const DtColorValue &setting)
 Setting Functions
virtual const DtColorValueevenSegmentIntersectorColor () const
 Setting Functions
virtual void setEvenSegmentIntersectorColor (const DtColorValue &setting)
 Setting Functions
virtual void loadIntersectorSettings (const std::string &filepath)
 Setting Functions
virtual void saveIntersectorSettings (const std::string &filepath)
 Setting Functions
virtual void loadDefaultIntersectorSettings (bool useOnlyFactorySettings)
 Setting Functions
virtual void saveDefaultIntersectorSettings ()
 Setting Functions
virtual void updateIntersectorState ()
 Setting Functions
virtual const bool diGuyInstancingEnabled () const
 Setting Functions
virtual void setDiGuyInstancingEnabled (bool enabled)
 Setting Functions
virtual const int diGuyInstancedLod () const
 Setting Functions
virtual void setDiGuyInstancedLod (int lod)
 Setting Functions
virtual const bool diGuyVisualizeInstancing () const
 Setting Functions
virtual void setDiGuyVisualizeInstancing (bool enabled)
 Setting Functions
virtual const float diGuyMaxDrawDistance () const
 Setting Functions
virtual void setDiGuyMaxDrawDistance (float distance)
 Setting Functions
virtual const bool diGuyMultiThreadUpdate () const
 Setting Functions
virtual void setDiGuyMultiThreadUpdate (bool enabled)
 Setting Functions
virtual void loadDiGuySettings (const std::string &filepath)
 Setting Functions
virtual void saveDiGuySettings (const std::string &filepath)
 Setting Functions
virtual void loadDefaultDiGuySettings (bool useOnlyFactorySettings)
 Setting Functions
virtual void saveDefaultDiGuySettings ()
 Setting Functions
virtual void updateDiGuyState ()
 Setting Functions
virtual void synchronizeSlave (DtDeRecord *igRecord)
 Synchronize a slave with a master.
- Protected Attributes inherited from makVrv::DtDeSharedState
DtDemyDe
DtDeSharedStateProctormyIgSharedStateProctor
DtModelDefinitionManagermyModelDefinitionManager
DtModelSetRealizationManagermyModelSetRealizationManager
DtCoordinateSystemmyCoordinateSystem
DtDeTimeManager myTimeManager
bool myWireframeMode
bool myTerrainScalingEnabled
double myTerrainScaleFactor
bool myUseAutofocus
double myFocalDepth
double myFocalRange
float myPagedLodMagnificationHighLodAngle
float myGlobalAmbientValue
bool myUseGlobalAmbient
float myGlobalDiffuseValue
bool myUseGlobalDiffuse
bool myClearTrackHistoryOnTerrainScaleChanged
float myPlanViewGeocentricOccludedTransparency
bool myShadowMode
bool myPerPixelLightingEnabled
bool myOceanPlanarReflectionsEnabled
float myOceanPlanarReflectionsLODScale
bool myOceanPlanarReflectionsSpecifyFarClip
double myOceanPlanarReflectionsFarClip
bool myLensFlareEnabled
bool myCrepuscularRaysEnabled
bool myWaveSprayEffectEnabled
bool myRotorWashDecalEnabled
bool myTidalStreamWakesEnabled
double myOceanHeightMapResolution
double myStaticOceanLodRange
bool myAutoSave
int myComponentVizualizationMode
double myRegenerateCubeMapThreshold
double myRegenerateHeightMapPercThreshold
bool myOmitCloudInCubeMap
int myOceanHeightMapTextureSize
int myPlanarReflectionTextureWidth
int myPlanarReflectionTextureHeight
float myLightingEmissionScale
float myLightingDiffuseScale
float myLightingAmbientScale
bool myIntersectorDrawEnabled
float myIntersectorDrawnDuration
DtColorValue myFailedIntersectorColor
DtColorValue myOddSegmentIntersectorColor
DtColorValue myEvenSegmentIntersectorColor
bool myDiGuyInstancingEnabled
int myDiGuyInstancedLod
bool myDiGuyVisualizeInstancing
float myDiGuyMaxDrawDistance
bool myDiGuyMultiThreadUpdate

Detailed Description

Shared state.

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 Creator
friend

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)