![]() |
VR-Forces 4.5 Class Documentation
|
The DtDeSharedState represents all the data that is shared between the master and its slaves. More...

Public Member Functions | |
| virtual | ~DtDeSharedState () |
| DTOR. | |
| virtual void | initialize () |
| Called during DtDe::initialize(). | |
| virtual void | loadRenderSettings (const std::string &filepath) |
| virtual void | saveRenderSettings (const std::string &filepath) |
| virtual void | loadDefaultRenderSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultRenderSettings () |
| virtual void | updateRenderState () |
| 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 |
Model Definition methods | |
| virtual const DtModelDefinitionManager & | modelDefinitionManager () const |
| DtModelDefinitionManager accessor. | |
| virtual DtModelDefinitionManager & | modelDefinitionManager () |
| 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. | |
Coordinate system methods | |
| virtual void | setCoordinateSystem (const std::string &coordinateSystemName, const std::string &coordinateSystemParameters) |
| Set the coordinate system. | |
| const DtCoordinateSystem & | coordinateSystem () const |
| Get the coordinate system. | |
| DtCoordinateSystem & | coordinateSystem () |
Time methods | |
| 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 DtDeTimeManager & | timeManager () const |
| Access the constant time manager for getting the date and time. | |
| DtDeTimeManager & | timeManager () |
| 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 |
| virtual bool | terrainScalingEnabled () const |
| terrain scaling state functions | |
| virtual void | setTerrainScalingEnabled (bool enabled) |
| virtual double | terrainScaleFactor () const |
| virtual void | setTerrainScaleFactor (double scaleFactor) |
| virtual bool | clearTrackHistoryOnTerrainScaleChanged () const |
| virtual void | setClearTrackHistoryOnTerrainScaleChanged (bool clear) |
| virtual float | globalAmbientValue () const |
| ambient factor functions; used when not using material ambient | |
| virtual void | setGlobalAmbientValue (float globalAmbientValue) |
| virtual bool | useGlobalAmbient () const |
| virtual void | setUseGlobalAmbient (bool useGlobalAmbient) |
| virtual float | globalDiffuseValue () const |
| diffuse factor functions; used when not using material diffuse | |
| virtual void | setGlobalDiffuseValue (float globalDiffuseValue) |
| virtual bool | useGlobalDiffuse () const |
| virtual void | setUseGlobalDiffuse (bool useGlobalDiffuse) |
| virtual void | setPlanViewGeocentricOccludedTransparency (float f) |
| occluded transparency state functions | |
| virtual float | planViewGeocentricOccludedTransparency () const |
| virtual void | setPerformanceOverlayOn (bool enabled) |
| virtual bool | performanceOverlayEnabled () const |
| virtual void | setProfilerOverlayOn (bool enabled) |
| virtual bool | profilerOverlayEnabled () const |
| virtual bool | perPixelLightingEnabled () const |
| virtual void | setPerPixelLightingEnabled (bool setting) |
| virtual bool | crepuscularRaysEnabled () const |
| virtual void | setCrepuscularRaysEnabled (bool setting) |
| virtual bool | dofUseAutofocus () const |
| autofocus for depth of field functions | |
| virtual void | setDofUseAutofocus (bool useAutofocus) |
| virtual double | dofFocalDepth () const |
| focal depth (focal distance) for depth of field functions | |
| virtual void | setDofFocalDepth (double focalDepth) |
| virtual double | dofFocalRange () const |
| range of in focus area around focal point | |
| virtual void | setDofFocalRange (double focalRange) |
| virtual double | waterOnScreenSize () const |
| virtual void | setWaterOnScreenSize (double size) |
| virtual int | componentVisualizationMode () const |
| virtual void | setComponentVisualizationMode (int value) |
| virtual double | regenerateCubeMapThreshold () const |
| virtual void | setRegenerateCubeMapThreshold (double threshold) |
| virtual double | regenerateHeightMapPercThreshold () const |
| virtual void | setRegenerateHeightMapPercThreshold (double threshold) |
| virtual bool | omitCloudInCubeMap () const |
| virtual void | setOmitCloudInCubeMap (bool omit) |
| 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 |
| virtual void | setUseReverseZBuffer (bool setting) |
| Z Buffer to use. | |
| virtual bool | useReverseZBuffer () const |
| 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) |
| virtual void | saveLoaderSettings (const std::string &filepath) |
| virtual void | loadDefaultLoaderSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultLoaderSettings () |
| virtual void | updateLoaderState () |
| 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) |
| virtual void | saveCacheSettings (const std::string &filepath) |
| virtual void | loadDefaultCacheSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultCacheSettings () |
| virtual void | updateCacheState () |
| virtual bool | oceanPlanarReflectionsEnabled () const |
| Render Setting Functions | |
| virtual void | setOceanPlanarReflectionsEnabled (bool setting) |
| virtual float | oceanPlanarReflectionsLODScale () const |
| virtual void | setOceanPlanarReflectionsLODScale (float setting) |
| virtual bool | oceanPlanarReflectionsSpecifyFarClip () const |
| virtual void | setOceanPlanarReflectionsSpecifyFarClip (bool setting) |
| virtual double | oceanPlanarReflectionsFarClip () const |
| virtual void | setOceanPlanarReflectionsFarClip (double setting) |
| virtual double | staticOceanLodRange () const |
| virtual void | setStaticOceanLodRange (double range) |
| virtual bool | waveSprayEffectEnabled () const |
| virtual void | setWaveSprayEffectEnabled (bool setting) |
| virtual bool | rotorWashDecalEnabled () const |
| virtual void | setRotorWashDecalEnabled (bool setting) |
| virtual double | oceanHeightMapResolution () const |
| virtual void | setOceanHeightMapResolution (double setting) |
| virtual void | setOceanHeightMapTextureSize (int setting) |
| virtual int | oceanHeightMapTextureSize () const |
| 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 |
| virtual void | setPlanarReflectionTextureWidth (int w) |
| virtual int | planarReflectionTextureHeight () const |
| virtual void | setPlanarReflectionTextureHeight (int h) |
| virtual unsigned int | oceanQuality () const |
| virtual void | setOceanQuality (unsigned int quality) |
| virtual void | loadOceanRenderSettings (const std::string &filepath) |
| virtual void | saveOceanRenderSettings (const std::string &filepath) |
| virtual void | loadDefaultOceanRenderSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultOceanRenderSettings () |
| virtual void | updateOceanRenderState () |
| virtual float | lightingEmissionScale () const |
| Render Setting Functions | |
| virtual void | setLightingEmissionScale (float setting) |
| virtual float | lightingDiffuseScale () const |
| virtual void | setLightingDiffuseScale (float setting) |
| virtual float | lightingAmbientScale () const |
| virtual void | setLightingAmbientScale (float setting) |
| virtual void | loadLightingRenderSettings (const std::string &filepath) |
| virtual void | saveLightingRenderSettings (const std::string &filepath) |
| virtual void | loadDefaultLightingRenderSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultLightingRenderSettings () |
| virtual void | updateLightingRenderState () |
| virtual bool | intersectorDrawEnabled () const |
| Setting Functions | |
| virtual void | setIntersectorDrawEnabled (bool setting) |
| virtual float | intersectorDrawnDuration () const |
| virtual void | setIntersectorDrawnDuration (float setting) |
| virtual const DtColorValue & | failedIntersectorColor () const |
| virtual void | setFailedIntersectorColor (const DtColorValue &setting) |
| virtual const DtColorValue & | oddSegmentIntersectorColor () const |
| virtual void | setOddSegmentIntersectorColor (const DtColorValue &setting) |
| virtual const DtColorValue & | evenSegmentIntersectorColor () const |
| virtual void | setEvenSegmentIntersectorColor (const DtColorValue &setting) |
| virtual void | loadIntersectorSettings (const std::string &filepath) |
| virtual void | saveIntersectorSettings (const std::string &filepath) |
| virtual void | loadDefaultIntersectorSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultIntersectorSettings () |
| virtual void | updateIntersectorState () |
| virtual const bool | diGuyInstancingEnabled () const |
| DiGuy Settings Functions | |
| virtual void | setDiGuyInstancingEnabled (bool enabled) |
| virtual const int | diGuyInstancedLod () const |
| virtual void | setDiGuyInstancedLod (int lod) |
| virtual const bool | diGuyVisualizeInstancing () const |
| virtual void | setDiGuyVisualizeInstancing (bool enabled) |
| virtual const float | diGuyMaxDrawDistance () const |
| virtual void | setDiGuyMaxDrawDistance (float distance) |
| virtual const bool | diGuyMultiThreadUpdate () const |
| virtual void | setDiGuyMultiThreadUpdate (bool enabled) |
| virtual void | loadDiGuySettings (const std::string &filepath) |
| virtual void | saveDiGuySettings (const std::string &filepath) |
| virtual void | loadDefaultDiGuySettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultDiGuySettings () |
| virtual void | updateDiGuyState () |
| virtual bool | enableHdr () const |
| Post Postprocessor Settings Functions | |
| virtual void | setEnableHdr (bool enabled) |
| virtual bool | enableHdrAutoExposure () const |
| virtual void | setEnableHdrAutoExposure (bool enabled) |
| virtual bool | enableHdrBloom () const |
| virtual void | setEnableHdrBloom (bool enabled) |
| virtual bool | enableHdrStreaks () const |
| virtual void | setEnableHdrStreaks (bool enabled) |
| virtual bool | enableHdrLensFlare () const |
| virtual void | setEnableHdrLensFlare (bool enabled) |
| virtual void | setLightPointScale (double val) |
| virtual double | lightPointScale () const |
| virtual void | setDynamicLightScale (double val) |
| virtual double | dynamicLightScale () const |
| virtual void | setEmissiveTextureScale (double val) |
| virtual double | emissiveTextureScale () const |
| virtual void | setSpecularScale (double val) |
| virtual double | specularScale () const |
| virtual void | setShininessScale (double val) |
| virtual double | shininessScale () const |
| virtual void | setAutoExposureRateScale (double val) |
| virtual double | autoExposureRateScale () const |
| virtual void | setAutoExposurePreScale (double val) |
| virtual double | autoExposurePreScale () const |
| virtual void | setAutoExposureMinDiff (double val) |
| virtual double | autoExposureMinDiff () const |
| virtual void | setAutoExposureMaxDiff (double val) |
| virtual double | autoExposureMaxDiff () const |
| virtual void | setAutoExposureClampMin (double val) |
| virtual double | autoExposureClampMin () const |
| virtual void | setAutoExposureClampMax (double val) |
| virtual double | autoExposureClampMax () const |
| virtual void | setAutoExposurePostScale (double val) |
| virtual double | autoExposurePostScale () const |
| virtual void | setBloomScale (double val) |
| virtual double | bloomScale () const |
| virtual void | setStreakIntensityScale (double val) |
| virtual double | streakIntensityScale () const |
| virtual void | setNumStreaks (int val) |
| virtual int | numStreaks () const |
| virtual void | setStreaksLenScale (double val) |
| virtual double | streaksLenScale () const |
| virtual void | setStreakRotationOffset (double val) |
| virtual double | streakRotationOffset () const |
| virtual void | setLensFlareScale (double val) |
| virtual double | lensFlareScale () const |
| virtual void | setGamma (double val) |
| virtual double | gamma () const |
| virtual void | setHdrResolutionScale (int val) |
| virtual int | hdrResolutionScale () const |
| virtual void | setHdrOutputScale (double val) |
| virtual double | hdrOutputScale () const |
| virtual void | loadPostProcessorSettings (const std::string &filepath) |
| virtual void | savePostProcessorSettings (const std::string &filepath) |
| virtual void | loadDefaultPostProcessorSettings (bool useOnlyFactorySettings) |
| virtual void | saveDefaultPostProcessorSettings () |
| virtual void | updatePostProcessorState () |
Slave synchronization methods | |
| virtual void | synchronizeSlave (DtDeRecord *igRecord) |
| Synchronize a slave with a master. | |
Protected Member Functions | |
| 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_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_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_setOceanQuality (unsigned int setting) |
| 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_setUseReverseZBuffer (bool val) |
| virtual void | local_setDofUseAutofocus (bool useAutofocus) |
| autofocus for depth of field functions | |
| virtual void | local_setDofFocalDepth (double focalDepth) |
| focal depth (focal distance) for depth of field functions | |
| virtual void | local_setDofFocalRange (double focalRange) |
| range of in focus area around focal point | |
| virtual void | local_setWaterOnScreenSize (double size) |
| virtual void | local_setEnableHdr (bool enabled) |
| Sets whether or not HDR is enabled. | |
| virtual void | local_setEnableHdrAutoExposure (bool enabled) |
| virtual void | local_setEnableHdrBloom (bool enabled) |
| virtual void | local_setEnableHdrStreaks (bool enabled) |
| virtual void | local_setEnableHdrLensFlare (bool enabled) |
| virtual void | local_setLightPointScale (double val) |
| virtual void | local_setDynamicLightScale (double val) |
| virtual void | local_setEmissiveTextureScale (double val) |
| virtual void | local_setSpecularScale (double val) |
| virtual void | local_setShininessScale (double val) |
| virtual void | local_setAutoExposureRateScale (double val) |
| virtual void | local_setAutoExposurePreScale (double val) |
| virtual void | local_setAutoExposureMinDiff (double val) |
| virtual void | local_setAutoExposureMaxDiff (double val) |
| virtual void | local_setAutoExposureClampMin (double val) |
| virtual void | local_setAutoExposureClampMax (double val) |
| virtual void | local_setAutoExposurePostScale (double val) |
| virtual void | local_setBloomScale (double val) |
| virtual void | local_setStreakIntensityScale (double val) |
| virtual void | local_setNumStreaks (int val) |
| virtual void | local_setStreaksLenScale (double val) |
| virtual void | local_setStreakRotationOffset (double val) |
| virtual void | local_setLensFlareScale (double val) |
| virtual void | local_setGamma (double val) |
| virtual void | local_setHdrResolutionScale (int val) |
| virtual void | local_setHdrOutputScale (double val) |
Local model definition methods. Called by friend DtDeSharedStateProctor. | |
| 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. . | |
Local time functions. | |
| 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) |
Local cache functions. | |
| 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 | DtDeSharedStateCreator |
| Specify the creator class as a friend to access protected CTOR. | |
| class | DtDeSharedStateProctor |
| Specify the DtDeSharedStateProctor class as a friend to access protected "local_" methods. | |
The DtDeSharedState represents all the data that is shared between the master and its slaves.
The DtDeSharedState object will own the data objects that need distributing (like mappers). These will be protected members of the class. The DtDeSharedState will be a member of DtDe. There will be const accessors for these objects themselves (and slaves can get the current data from those accessors without being able to change it). The DtDeSharedState object will have non-const mutators for it's members. These serialize the function calls into messages and distribute them among slaves. This makes it impossible for users to do bad things like get the local model definition manager and add model definitions without distributing them to slaves.
|
virtual |
DTOR.
|
protected |
Protected CTOR for creator pattern.
|
virtual |
Called during DtDe::initialize().
Reimplemented in DtVrfSharedState.
|
virtual |
DtModelDefinitionManager accessor.
| DtCorruptedState | if called before the DtDe is initialized. |
|
virtual |
|
virtual |
DtModelSetRealizationManager accessor.
| DtCorruptedState | if called before the DtDe is initialized. |
Indicate that a model set should be visualized.
This will automatically be distributed to connected IGs
|
virtual |
Adds a model definition to the DtDe.
This will automatically distribute all model definitions to connected IGs.
|
virtual |
Sets model definition manager in the DtDe.
This will automatically distribute all model definitions to connected IGs.
|
virtual |
Renames model definition to the DtDe.
This will automatically distribute all model definitions to connected IGs. Will also signal the rename. The old definition will be removed (deleted)
|
virtual |
Destroys a model definition from the DtDe.
This will automatically distribute all model definitions to connected IGs.
|
virtual |
Set if model instance sharing is enabled.
|
virtual |
Clears the cache of all model definitions.
|
virtual |
Set the coordinate system.
| const DtCoordinateSystem& makVrv::DtDeSharedState::coordinateSystem | ( | ) | const |
Get the coordinate system.
| DtCoordinateSystem& makVrv::DtDeSharedState::coordinateSystem | ( | ) |
|
virtual |
Set the current date and time of the scene.
This will effect any rendering which is dependent on the date (for example location of Sun & Moon).
| Input | |
| year | is only valid for the Gregorian calender (1582 onward) |
| month | is the month of the year (1-12). |
| dayOfMonth | is the day of the month (1-[28 | 30 |31]) depending on the month. |
| hour | the hour of the day 0-23 |
| minutes | of the day 0-59 param seconds 0.0-59.99~ |
|
virtual |
Tell the system to use GMT time as the means to position the sun/moon rather than always moving with the observer.
|
virtual |
Set the current time scale relative to simulation time.
This will also change the 'set time' based upon the current scaling value.
| const DtDeTimeManager& makVrv::DtDeSharedState::timeManager | ( | ) | const |
Access the constant time manager for getting the date and time.
| DtDeTimeManager& makVrv::DtDeSharedState::timeManager | ( | ) |
Access the non-const time manager for connecting to its signal_dateChanged.
|
virtual |
state functions
reload shaders
|
virtual |
wireframe state functions
|
virtual |
|
virtual |
terrain scaling state functions
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
ambient factor functions; used when not using material ambient
|
virtual |
|
virtual |
|
virtual |
|
virtual |
diffuse factor functions; used when not using material diffuse
|
virtual |
|
virtual |
|
virtual |
|
virtual |
occluded transparency state functions
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
autofocus for depth of field functions
|
virtual |
|
virtual |
focal depth (focal distance) for depth of field functions
|
virtual |
|
virtual |
range of in focus area around focal point
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Enable/disable instanced rendering.
Toggles whether objects are rendered individually or as instanced batches
|
virtual |
Get state of instanced rendering flag.
Checks whether objects are rendered individually or as instanced batches
|
virtual |
shadow state functions
|
virtual |
|
virtual |
Z Buffer to use.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Loader settings functions.
Set the global DDS flip option
|
virtual |
Get the global DDS flip option.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
\ Cache Settings functions
Set whether accelerated file caching is enabled.
|
virtual |
Get whether accelerated file caching is enabled.
|
virtual |
Clears the accelerated cache on disk.
|
virtual |
Set whether file instancing is enabled.
|
virtual |
Set whether to clear the instances on a new scene.
|
virtual |
Get whether file instancing is enabled.
|
virtual |
Get whether file instancing is enabled.
|
virtual |
Clears the runtime file instance cache.
|
virtual |
Set whether texture compression is enabled.
|
virtual |
Get whether texture compression is enabled.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Render Setting Functions
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Enable/disable tidal stream wake rendering.
Toggles whether tidal stream wakes are rendered
|
virtual |
Get state of tidal stream wakes rendering flag.
Checks whether tidal stream wakes are rendered
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Render Setting Functions
|
virtual |
|
virtual |
Render Setting Functions
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Setting Functions
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
DiGuy Settings Functions
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Post Postprocessor Settings Functions
Gets whether or not HDR is enabled
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Initializes the shared change state manager with change state objects that are currently part of the system.
|
virtual |
Synchronize a slave with a master.
Synchronizes DtModelDefinitions and coordinate systems.
|
inline |
|
inline |
|
protectedvirtual |
Sends master's DtModelDefinitions to the slave.
|
protectedvirtual |
Push model set configuration down to connected IGs - calls setModeUsesModelSet and setCurrentModelSet.
|
protectedvirtual |
Sets the model definition manager in the local DtDe.
|
protectedvirtual |
Adds a model definition to the local DtDe.
|
protectedvirtual |
Adds a model definition to the local DtDe. .
|
protectedvirtual |
Set if model instance sharing is enabled.
|
protectedvirtual |
Clears the cache of all model definitions.
|
protectedvirtual |
Reloads the shaders.
|
protectedvirtual |
Sets the wireframe mode.
|
protectedvirtual |
Set the terrain scale state.
|
protectedvirtual |
Set the terrain scale factor.
|
protectedvirtual |
Set the ambient factor.
|
protectedvirtual |
Set the use material ambient.
|
protectedvirtual |
Set the diffuse factor.
|
protectedvirtual |
Set the use material diffuse.
|
protectedvirtual |
Sets whether terrain scaling causes track history clearing.
|
protectedvirtual |
Sets the occluded transparency mode.
|
protectedvirtual |
Sets the shadow state.
|
protectedvirtual |
Sets the dds flip state.
|
protectedvirtual |
indicate whether or not a model set is visualized
|
protected |
Internal setting the coordinate system.
|
protectedvirtual |
Sets the perPixelLighting mode.
|
protectedvirtual |
Sets the oceanPlanarReflections mode.
|
protectedvirtual |
Sets the oceanPlanarReflections camera LOD scale.
|
protectedvirtual |
Sets the oceanPlanarReflections specify far clip flag.
|
protectedvirtual |
Sets the oceanPlanarReflections camera's far clip, if enabled.
|
protectedvirtual |
|
protectedvirtual |
Sets the crepuscular rays (sun rays) mode.
|
protectedvirtual |
Sets the sea spray particle effect.
|
protectedvirtual |
Sets the rotor wash detail texture decal.
|
protectedvirtual |
Sets the ocean height map resolution.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Set whether accelerated file caching is enabled.
|
protectedvirtual |
Clears the accelerated cache on disk.
|
protectedvirtual |
Set whether file instancing is enabled.
|
protectedvirtual |
Set whether clearing instances on new scenes is enabled.
|
protectedvirtual |
Clears the runtime file instance cache.
|
protectedvirtual |
Set whether texture compression is enabled.
|
protectedvirtual |
Set whether tidal stream wakes are enabled.
|
protectedvirtual |
Set whether instanced rendering is enabled.
Instanced rendering toggles rendering objects individually or as instanced batches
|
protectedvirtual |
Set regenerate cube map threshold.
|
protectedvirtual |
Set regenerate height map percentage threshold.
|
protectedvirtual |
Set whether clouds are omitted in cube map.
|
protectedvirtual |
Sets the ocean height map texture.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Sets the lighting emission scale for the emission textures.
|
protectedvirtual |
Sets the lighting diffuse scale for the scene.
|
protectedvirtual |
Sets the lighting ambient scale for the scene.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
autofocus for depth of field functions
|
protectedvirtual |
focal depth (focal distance) for depth of field functions
|
protectedvirtual |
range of in focus area around focal point
|
protectedvirtual |
|
protectedvirtual |
Sets whether or not HDR is enabled.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
friend |
Specify the creator class as a friend to access protected CTOR.
|
friend |
Specify the DtDeSharedStateProctor class as a friend to access protected "local_" methods.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |