VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtDeSharedState Class Reference

The DtDeSharedState represents all the data that is shared between the master and its slaves. More...

Inheritance diagram for makVrv::DtDeSharedState:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtDeSharedState ()
 DTOR.
virtual void initialize ()
 Called during DtDe::initialize().
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 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.
Coordinate system methods
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.
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 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 double ambientFactor () const
 ambient factor functions
virtual void setAmbientFactor (double ambientFactor)
 state functions
virtual bool useMaterialAmbient () const
 state functions
virtual void setUseMaterialAmbient (bool useMaterialAmbient)
 state functions
virtual double diffuseScaleFactor () const
 diffuse scale factor functions
virtual void setDiffuseScaleFactor (double diffuseScaleFactor)
 state functions
virtual bool useMaterialDiffuse () const
 state functions
virtual void setUseMaterialDiffuse (bool useMaterialDiffuse)
 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 oceanPlanarReflectionsEnabled () const
 state functions
virtual void setOceanPlanarReflectionsEnabled (bool setting)
 state functions
virtual float oceanPlanarReflectionsLODScale () const
 state functions
virtual void setOceanPlanarReflectionsLODScale (float setting)
 state functions
virtual bool oceanPlanarReflectionsSpecifyFarClip () const
 state functions
virtual void setOceanPlanarReflectionsSpecifyFarClip (bool setting)
 state functions
virtual double oceanPlanarReflectionsFarClip () const
 state functions
virtual void setOceanPlanarReflectionsFarClip (double setting)
 state functions
virtual double staticOceanLodRange () const
 state functions
virtual void setStaticOceanLodRange (double range)
 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 bool waveSprayEffectEnabled () const
 state functions
virtual void setWaveSprayEffectEnabled (bool setting)
 state functions
virtual bool rotorWashDecalEnabled () const
 state functions
virtual void setRotorWashDecalEnabled (bool setting)
 state functions
virtual double oceanHeightMapResolution () const
 state functions
virtual void setOceanHeightMapResolution (double 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 setTidalStreamWakesEnabled (bool enabled)
 Enable/disable tidal stream wake rendering.
virtual bool tidalStreamWakesEnabled () const
 Get state of tidal stream wakes rendering flag.
virtual void setShadowState (bool shadowMode)
 shadow state functions
virtual bool shadowMode () const
 state functions
virtual void setOceanHeightMapTextureSize (int setting)
 state functions
virtual int oceanHeightMapTextureSize () 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
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_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_setAmbientFactor (double ambientFactor)
 Set the ambient factor.
virtual void local_setUseMaterialAmbient (bool useMaterialAmbient)
 Set the use material ambient.
virtual void local_setDiffuseScaleFactor (double diffuseScaleFactor)
 Set the diffuse scale factor.
virtual void local_setUseMaterialDiffuse (bool useMaterialDiffuse)
 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.
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.

Protected Attributes

DtDemyDe
DtDeSharedStateProctormyIgSharedStateProctor
DtModelDefinitionManagermyModelDefinitionManager
DtModelSetRealizationManagermyModelSetRealizationManager
DtCoordinateSystemmyCoordinateSystem
DtDeTimeManager myTimeManager
bool myWireframeMode
bool myTerrainScalingEnabled
double myTerrainScaleFactor
bool myUseAutofocus
double myFocalDepth
double myFocalRange
double myAmbientFactor
bool myUseMaterialAmbient
double myDiffuseScaleFactor
bool myUseMaterialDiffuse
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

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.

Detailed Description

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.

Constructor & Destructor Documentation

virtual makVrv::DtDeSharedState::~DtDeSharedState ( )
virtual

DTOR.

makVrv::DtDeSharedState::DtDeSharedState ( DtDe DtDe)
protected

Protected CTOR for creator pattern.

Member Function Documentation

virtual void makVrv::DtDeSharedState::initialize ( )
virtual

Called during DtDe::initialize().

Reimplemented in DtVrfSharedState.

virtual const DtModelDefinitionManager& makVrv::DtDeSharedState::modelDefinitionManager ( ) const
virtual

DtModelDefinitionManager accessor.

Exceptions
DtCorruptedStateif called before the DtDe is initialized.
virtual DtModelDefinitionManager& makVrv::DtDeSharedState::modelDefinitionManager ( )
virtual

DtModelDefinitionManager accessor.

Exceptions
DtCorruptedStateif called before the DtDe is initialized.
virtual const DtModelSetRealizationManager& makVrv::DtDeSharedState::modelSetRealizationManager ( ) const
virtual

DtModelSetRealizationManager accessor.

Exceptions
DtCorruptedStateif called before the DtDe is initialized.
virtual void makVrv::DtDeSharedState::setVisualizeModelSet ( int  modelset,
bool  visualize 
)
virtual

Indicate that a model set should be visualized.

This will automatically be distributed to connected IGs

virtual void makVrv::DtDeSharedState::addModelDefinition ( const DtModelDefinition definition)
virtual

Adds a model definition to the DtDe.

This will automatically distribute all model definitions to connected IGs.

virtual void makVrv::DtDeSharedState::setModelDefinitionManager ( const DtModelDefinitionManager definition)
virtual

Sets model definition manager in the DtDe.

This will automatically distribute all model definitions to connected IGs.

virtual void makVrv::DtDeSharedState::renameModelDefinition ( const DtModelDefinition old,
const DtModelDefinition newDef 
)
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 void makVrv::DtDeSharedState::destroyModelDefinition ( const DtModelDefinition definition)
virtual

Destroys a model definition from the DtDe.

This will automatically distribute all model definitions to connected IGs.

virtual void makVrv::DtDeSharedState::setModelInstancingEnabled ( bool  )
virtual

Set if model instance sharing is enabled.

virtual void makVrv::DtDeSharedState::clearModelInstancingCache ( )
virtual

Clears the cache of all model definitions.

virtual void makVrv::DtDeSharedState::setCoordinateSystem ( const std::string &  coordinateSystemName,
const std::string &  coordinateSystemParameters 
)
virtual

Set the coordinate system.

const DtCoordinateSystem& makVrv::DtDeSharedState::coordinateSystem ( ) const

Get the coordinate system.

DtCoordinateSystem& makVrv::DtDeSharedState::coordinateSystem ( )

Set the coordinate system.

virtual void makVrv::DtDeSharedState::setDateAndTime ( int  year,
DtDeTimeManager::Month  month,
int  dayOfMonth,
int  hour,
int  minutes,
double  seconds 
)
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).

Parameters
Input
yearis only valid for the Gregorian calender (1582 onward)
monthis the month of the year (1-12).
dayOfMonthis the day of the month (1-[28 | 30 |31]) depending on the month.
hourthe hour of the day 0-23
minutesof the day 0-59 param seconds 0.0-59.99~
Warning
Frequently setting this may have a negative effect on performance depending on the cost to modify the scene to reflect the new date.
virtual void makVrv::DtDeSharedState::setUseGlobalTimeZone ( bool  )
virtual

Tell the system to use GMT time as the means to position the sun/moon rather than always moving with the observer.

virtual void makVrv::DtDeSharedState::setTimeScale ( double  timeScale)
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 void makVrv::DtDeSharedState::reloadShader ( )
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setWireframeMode ( bool  state)
virtual

wireframe state functions

virtual bool makVrv::DtDeSharedState::wireframeMode ( ) const
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::terrainScalingEnabled ( ) const
virtual

terrain scaling state functions

virtual void makVrv::DtDeSharedState::setTerrainScalingEnabled ( bool  enabled)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::terrainScaleFactor ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setTerrainScaleFactor ( double  scaleFactor)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::clearTrackHistoryOnTerrainScaleChanged ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setClearTrackHistoryOnTerrainScaleChanged ( bool  clear)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::useAutofocus ( ) const
virtual

autofocus for depth of field functions

virtual void makVrv::DtDeSharedState::setUseAutofocus ( bool  useAutofocus)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::focalDepth ( ) const
virtual

focal depth (focal distance) for depth of field functions

virtual void makVrv::DtDeSharedState::setFocalDepth ( double  focalDepth)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::focalRange ( ) const
virtual

range of in focus area around focal point

virtual void makVrv::DtDeSharedState::setFocalRange ( double  focalRange)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::ambientFactor ( ) const
virtual

ambient factor functions

virtual void makVrv::DtDeSharedState::setAmbientFactor ( double  ambientFactor)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::useMaterialAmbient ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setUseMaterialAmbient ( bool  useMaterialAmbient)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::diffuseScaleFactor ( ) const
virtual

diffuse scale factor functions

virtual void makVrv::DtDeSharedState::setDiffuseScaleFactor ( double  diffuseScaleFactor)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::useMaterialDiffuse ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setUseMaterialDiffuse ( bool  useMaterialDiffuse)
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setPlanViewGeocentricOccludedTransparency ( float  f)
virtual

occluded transparency state functions

virtual float makVrv::DtDeSharedState::planViewGeocentricOccludedTransparency ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setPerformanceOverlayOn ( bool  enabled)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::performanceOverlayEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setProfilerOverlayOn ( bool  enabled)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::profilerOverlayEnabled ( ) const
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::perPixelLightingEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setPerPixelLightingEnabled ( bool  setting)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::oceanPlanarReflectionsEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOceanPlanarReflectionsEnabled ( bool  setting)
virtual

state functions

reload shaders

virtual float makVrv::DtDeSharedState::oceanPlanarReflectionsLODScale ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOceanPlanarReflectionsLODScale ( float  setting)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::oceanPlanarReflectionsSpecifyFarClip ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOceanPlanarReflectionsSpecifyFarClip ( bool  setting)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::oceanPlanarReflectionsFarClip ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOceanPlanarReflectionsFarClip ( double  setting)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::staticOceanLodRange ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setStaticOceanLodRange ( double  range)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::lensFlareEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setLensFlareEnabled ( bool  setting)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::crepuscularRaysEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setCrepuscularRaysEnabled ( bool  setting)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::waveSprayEffectEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setWaveSprayEffectEnabled ( bool  setting)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::rotorWashDecalEnabled ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setRotorWashDecalEnabled ( bool  setting)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::oceanHeightMapResolution ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOceanHeightMapResolution ( double  setting)
virtual

state functions

reload shaders

virtual int makVrv::DtDeSharedState::componentVisualizationMode ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setComponentVisualizationMode ( int  value)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::regenerateCubeMapThreshold ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setRegenerateCubeMapThreshold ( double  threshold)
virtual

state functions

reload shaders

virtual double makVrv::DtDeSharedState::regenerateHeightMapPercThreshold ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setRegenerateHeightMapPercThreshold ( double  threshold)
virtual

state functions

reload shaders

virtual bool makVrv::DtDeSharedState::omitCloudInCubeMap ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOmitCloudInCubeMap ( bool  omit)
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setInstancedRenderingEnabled ( bool  enabled)
virtual

Enable/disable instanced rendering.

Toggles whether objects are rendered individually or as instanced batches

virtual bool makVrv::DtDeSharedState::instancedRenderingEnabled ( ) const
virtual

Get state of instanced rendering flag.

Checks whether objects are rendered individually or as instanced batches

virtual void makVrv::DtDeSharedState::setTidalStreamWakesEnabled ( bool  enabled)
virtual

Enable/disable tidal stream wake rendering.

Toggles whether tidal stream wakes are rendered

virtual bool makVrv::DtDeSharedState::tidalStreamWakesEnabled ( ) const
virtual

Get state of tidal stream wakes rendering flag.

Checks whether tidal stream wakes are rendered

virtual void makVrv::DtDeSharedState::setShadowState ( bool  shadowMode)
virtual

shadow state functions

virtual bool makVrv::DtDeSharedState::shadowMode ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setOceanHeightMapTextureSize ( int  setting)
virtual

state functions

reload shaders

virtual int makVrv::DtDeSharedState::oceanHeightMapTextureSize ( ) const
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::loadRenderSettings ( const std::string &  filepath)
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::saveRenderSettings ( const std::string &  filepath)
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::loadDefaultRenderSettings ( bool  useOnlyFactorySettings)
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::saveDefaultRenderSettings ( )
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::updateRenderState ( )
virtual

state functions

reload shaders

virtual void makVrv::DtDeSharedState::setDdsFlip ( bool  state)
virtual

Loader settings functions.

Set the global DDS flip option

virtual bool makVrv::DtDeSharedState::ddsFlip ( ) const
virtual

Get the global DDS flip option.

virtual void makVrv::DtDeSharedState::loadLoaderSettings ( const std::string &  filepath)
virtual

Loader settings functions.

Set the global DDS flip option

virtual void makVrv::DtDeSharedState::saveLoaderSettings ( const std::string &  filepath)
virtual

Loader settings functions.

Set the global DDS flip option

virtual void makVrv::DtDeSharedState::loadDefaultLoaderSettings ( bool  useOnlyFactorySettings)
virtual

Loader settings functions.

Set the global DDS flip option

virtual void makVrv::DtDeSharedState::saveDefaultLoaderSettings ( )
virtual

Loader settings functions.

Set the global DDS flip option

virtual void makVrv::DtDeSharedState::updateLoaderState ( )
virtual

Loader settings functions.

Set the global DDS flip option

virtual void makVrv::DtDeSharedState::setAccelerationCachingEnabled ( bool  enabled)
virtual

\ Cache Settings functions

Set whether accelerated file caching is enabled.

virtual bool makVrv::DtDeSharedState::accelerationCachingEnabled ( ) const
virtual

Get whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::clearAccelerationCache ( ) const
virtual

Clears the accelerated cache on disk.

virtual void makVrv::DtDeSharedState::setInstancingEnabled ( bool  enabled)
virtual

Set whether file instancing is enabled.

virtual void makVrv::DtDeSharedState::setClearInstancesOnNewSceneEnabled ( bool  enabled)
virtual

Set whether to clear the instances on a new scene.

virtual bool makVrv::DtDeSharedState::instancingEnabled ( ) const
virtual

Get whether file instancing is enabled.

virtual bool makVrv::DtDeSharedState::clearInstancesOnNewScene ( ) const
virtual

Get whether file instancing is enabled.

virtual void makVrv::DtDeSharedState::clearInstancingCache ( )
virtual

Clears the runtime file instance cache.

virtual void makVrv::DtDeSharedState::setCompressTextures ( bool  enabled)
virtual

Set whether texture compression is enabled.

virtual bool makVrv::DtDeSharedState::compressTextures ( ) const
virtual

Get whether texture compression is enabled.

virtual void makVrv::DtDeSharedState::loadCacheSettings ( const std::string &  filepath)
virtual

\ Cache Settings functions

Set whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::saveCacheSettings ( const std::string &  filepath)
virtual

\ Cache Settings functions

Set whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::loadDefaultCacheSettings ( bool  useOnlyFactorySettings)
virtual

\ Cache Settings functions

Set whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::saveDefaultCacheSettings ( )
virtual

\ Cache Settings functions

Set whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::updateCacheState ( )
virtual

\ Cache Settings functions

Set whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::initializeSharedChangeManager ( )
virtual

Initializes the shared change state manager with change state objects that are currently part of the system.

virtual void makVrv::DtDeSharedState::synchronizeSlave ( DtDeRecord igRecord)
virtual

Synchronize a slave with a master.

Synchronizes DtModelDefinitions and coordinate systems.

void makVrv::DtDeSharedState::setAutoSave ( bool  b)
inline
bool makVrv::DtDeSharedState::autoSave ( ) const
inline
virtual void makVrv::DtDeSharedState::sendModelDefinitionsToSlave ( DtMessageClient messageClient)
protectedvirtual

Sends master's DtModelDefinitions to the slave.

virtual void makVrv::DtDeSharedState::sendModelSetConfigurationToSlave ( DtMessageClient messageClient)
protectedvirtual

Push model set configuration down to connected IGs - calls setModeUsesModelSet and setCurrentModelSet.

virtual void makVrv::DtDeSharedState::local_setModelDefinitionManager ( const DtModelDefinitionManager definition)
protectedvirtual

Sets the model definition manager in the local DtDe.

virtual void makVrv::DtDeSharedState::local_addModelDefinition ( const DtModelDefinition definition)
protectedvirtual

Adds a model definition to the local DtDe.

virtual void makVrv::DtDeSharedState::local_destroyModelDefinition ( const std::string &  definition)
protectedvirtual

Adds a model definition to the local DtDe. .

virtual void makVrv::DtDeSharedState::local_setModelInstancingEnabled ( bool  )
protectedvirtual

Set if model instance sharing is enabled.

virtual void makVrv::DtDeSharedState::local_clearModelInstancingCache ( )
protectedvirtual

Clears the cache of all model definitions.

virtual void makVrv::DtDeSharedState::local_reloadShader ( )
protectedvirtual

Reloads the shaders.

virtual void makVrv::DtDeSharedState::local_setWireframeMode ( bool  mode)
protectedvirtual

Sets the wireframe mode.

virtual void makVrv::DtDeSharedState::local_setTerrainScalingEnabled ( bool  enabled)
protectedvirtual

Set the terrain scale state.

virtual void makVrv::DtDeSharedState::local_setTerrainScaleFactor ( double  scaleFactor)
protectedvirtual

Set the terrain scale factor.

virtual void makVrv::DtDeSharedState::local_setUseAutofocus ( bool  useAutofocus)
protectedvirtual

Set whether the depth of field uses autofocus.

virtual void makVrv::DtDeSharedState::local_setFocalDepth ( double  focalDepth)
protectedvirtual

Set the focal depth for depth of field.

virtual void makVrv::DtDeSharedState::local_setFocalRange ( double  focalRange)
protectedvirtual

Set the focal range for depth of field.

virtual void makVrv::DtDeSharedState::local_setAmbientFactor ( double  ambientFactor)
protectedvirtual

Set the ambient factor.

virtual void makVrv::DtDeSharedState::local_setUseMaterialAmbient ( bool  useMaterialAmbient)
protectedvirtual

Set the use material ambient.

virtual void makVrv::DtDeSharedState::local_setDiffuseScaleFactor ( double  diffuseScaleFactor)
protectedvirtual

Set the diffuse scale factor.

virtual void makVrv::DtDeSharedState::local_setUseMaterialDiffuse ( bool  useMaterialDiffuse)
protectedvirtual

Set the use material diffuse.

virtual void makVrv::DtDeSharedState::local_setClearTrackHistoryOnTerrainScaleChanged ( bool  clear)
protectedvirtual

Sets whether terrain scaling causes track history clearing.

virtual void makVrv::DtDeSharedState::local_setPlanViewGeocentricOccludedTransparency ( float  alpha)
protectedvirtual

Sets the occluded transparency mode.

virtual void makVrv::DtDeSharedState::local_setShadowState ( bool  mode)
protectedvirtual

Sets the shadow state.

virtual void makVrv::DtDeSharedState::local_ddsFlipState ( bool  flip)
protectedvirtual

Sets the dds flip state.

virtual void makVrv::DtDeSharedState::local_setVisualizeModelSet ( int  modelSet,
bool  visualize 
)
protectedvirtual

indicate whether or not a model set is visualized

void makVrv::DtDeSharedState::local_setCoordinateSystem ( const std::string &  coordinateSystemName,
const std::string &  coordinateSystemParameters 
)
protected

Internal setting the coordinate system.

virtual void makVrv::DtDeSharedState::local_setPerPixelLightingEnabled ( bool  mode)
protectedvirtual

Sets the perPixelLighting mode.

virtual void makVrv::DtDeSharedState::local_setOceanPlanarReflectionsEnabled ( bool  mode)
protectedvirtual

Sets the oceanPlanarReflections mode.

virtual void makVrv::DtDeSharedState::local_setOceanPlanarReflectionsLODScale ( float  val)
protectedvirtual

Sets the oceanPlanarReflections camera LOD scale.

virtual void makVrv::DtDeSharedState::local_setOceanPlanarReflectionsSpecifyFarClip ( bool  mode)
protectedvirtual

Sets the oceanPlanarReflections specify far clip flag.

virtual void makVrv::DtDeSharedState::local_setOceanPlanarReflectionsFarClip ( double  val)
protectedvirtual

Sets the oceanPlanarReflections camera's far clip, if enabled.

virtual void makVrv::DtDeSharedState::local_setStaticOceanLodRange ( double  range)
protectedvirtual
virtual void makVrv::DtDeSharedState::local_setLensFlareEnabled ( bool  mode)
protectedvirtual

Sets the lens flare mode.

virtual void makVrv::DtDeSharedState::local_setCrepuscularRaysEnabled ( bool  mode)
protectedvirtual

Sets the crepuscular rays (sun rays) mode.

virtual void makVrv::DtDeSharedState::local_setWaveSprayEffectEnabled ( bool  mode)
protectedvirtual

Sets the sea spray particle effect.

virtual void makVrv::DtDeSharedState::local_setRotorWashDecalEnabled ( bool  mode)
protectedvirtual

Sets the rotor wash detail texture decal.

virtual void makVrv::DtDeSharedState::local_setOceanHeightMapResolution ( double  resolution)
protectedvirtual

Sets the ocean height map resolution.

void makVrv::DtDeSharedState::local_setDateAndTime ( int  year,
DtDeTimeManager::Month  month,
int  dayOfMonth,
int  hour,
int  minutes,
double  seconds 
)
protected
void makVrv::DtDeSharedState::local_setTimeScale ( double  timeScale)
protected
void makVrv::DtDeSharedState::local_setUseGlobalTimeZone ( bool  )
protected
virtual void makVrv::DtDeSharedState::local_setAccelerationCachingEnabled ( bool  enabled)
protectedvirtual

Set whether accelerated file caching is enabled.

virtual void makVrv::DtDeSharedState::local_clearAccelerationCache ( )
protectedvirtual

Clears the accelerated cache on disk.

virtual void makVrv::DtDeSharedState::local_setInstancingEnabled ( bool  enabled)
protectedvirtual

Set whether file instancing is enabled.

virtual void makVrv::DtDeSharedState::local_setClearInstancesOnNewScene ( bool  enabled)
protectedvirtual

Set whether clearing instances on new scenes is enabled.

virtual void makVrv::DtDeSharedState::local_clearInstancingCache ( )
protectedvirtual

Clears the runtime file instance cache.

virtual void makVrv::DtDeSharedState::local_setCompressTextures ( bool  enabled)
protectedvirtual

Set whether texture compression is enabled.

virtual void makVrv::DtDeSharedState::local_setTidalStreamWakesEnabled ( bool  enabled)
protectedvirtual

Set whether tidal stream wakes are enabled.

virtual void makVrv::DtDeSharedState::local_setInstancedRenderingEnabled ( bool  enabled)
protectedvirtual

Set whether instanced rendering is enabled.

Instanced rendering toggles rendering objects individually or as instanced batches

virtual void makVrv::DtDeSharedState::local_setRegenerateCubeMapThreshold ( double  threshold)
protectedvirtual

Set regenerate cube map threshold.

virtual void makVrv::DtDeSharedState::local_setRegenerateHeightMapPercThreshold ( double  threshold)
protectedvirtual

Set regenerate height map percentage threshold.

virtual void makVrv::DtDeSharedState::local_setOmitCloudInCubeMap ( bool  enabled)
protectedvirtual

Set whether clouds are omitted in cube map.

virtual void makVrv::DtDeSharedState::local_setOceanHeightMapTextureSize ( int  val)
protectedvirtual

Sets the ocean height map texture.

Friends And Related Function Documentation

friend class DtDeSharedStateCreator
friend

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

friend class DtDeSharedStateProctor
friend

Specify the DtDeSharedStateProctor class as a friend to access protected "local_" methods.

Member Data Documentation

DtDe& makVrv::DtDeSharedState::myDe
protected
DtDeSharedStateProctor* makVrv::DtDeSharedState::myIgSharedStateProctor
protected
DtModelDefinitionManager* makVrv::DtDeSharedState::myModelDefinitionManager
protected
DtModelSetRealizationManager* makVrv::DtDeSharedState::myModelSetRealizationManager
protected
DtCoordinateSystem* makVrv::DtDeSharedState::myCoordinateSystem
protected
DtDeTimeManager makVrv::DtDeSharedState::myTimeManager
protected
bool makVrv::DtDeSharedState::myWireframeMode
protected
bool makVrv::DtDeSharedState::myTerrainScalingEnabled
protected
double makVrv::DtDeSharedState::myTerrainScaleFactor
protected
bool makVrv::DtDeSharedState::myUseAutofocus
protected
double makVrv::DtDeSharedState::myFocalDepth
protected
double makVrv::DtDeSharedState::myFocalRange
protected
double makVrv::DtDeSharedState::myAmbientFactor
protected
bool makVrv::DtDeSharedState::myUseMaterialAmbient
protected
double makVrv::DtDeSharedState::myDiffuseScaleFactor
protected
bool makVrv::DtDeSharedState::myUseMaterialDiffuse
protected
bool makVrv::DtDeSharedState::myClearTrackHistoryOnTerrainScaleChanged
protected
float makVrv::DtDeSharedState::myPlanViewGeocentricOccludedTransparency
protected
bool makVrv::DtDeSharedState::myShadowMode
protected
bool makVrv::DtDeSharedState::myPerPixelLightingEnabled
protected
bool makVrv::DtDeSharedState::myOceanPlanarReflectionsEnabled
protected
float makVrv::DtDeSharedState::myOceanPlanarReflectionsLODScale
protected
bool makVrv::DtDeSharedState::myOceanPlanarReflectionsSpecifyFarClip
protected
double makVrv::DtDeSharedState::myOceanPlanarReflectionsFarClip
protected
bool makVrv::DtDeSharedState::myLensFlareEnabled
protected
bool makVrv::DtDeSharedState::myCrepuscularRaysEnabled
protected
bool makVrv::DtDeSharedState::myWaveSprayEffectEnabled
protected
bool makVrv::DtDeSharedState::myRotorWashDecalEnabled
protected
bool makVrv::DtDeSharedState::myTidalStreamWakesEnabled
protected
double makVrv::DtDeSharedState::myOceanHeightMapResolution
protected
double makVrv::DtDeSharedState::myStaticOceanLodRange
protected
bool makVrv::DtDeSharedState::myAutoSave
protected
int makVrv::DtDeSharedState::myComponentVizualizationMode
protected
double makVrv::DtDeSharedState::myRegenerateCubeMapThreshold
protected
double makVrv::DtDeSharedState::myRegenerateHeightMapPercThreshold
protected
bool makVrv::DtDeSharedState::myOmitCloudInCubeMap
protected
int makVrv::DtDeSharedState::myOceanHeightMapTextureSize
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)