VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtPhysicalWorldParams Class Reference

Readable-writable class holding all parameters for to configure the DtPhysicalWorld. More...

Inheritance diagram for DtPhysicalWorldParams:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtPhysicalWorldParams (const DtString &rwName, DtReaderWriterRegistry *parentRegistry=NULL)
 Constructor.
 DtPhysicalWorldParams (const DtSymbolString &rwName, DtReaderWriterRegistry *parentRegistry=NULL)
 DtPhysicalWorldParams (const DtPhysicalWorldParams &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
DtPhysicalWorldParamsoperator= (const DtPhysicalWorldParams &orig)
 assignment
virtual ~DtPhysicalWorldParams ()
virtual
DtSignaturePropagatorDescriptorList
signaturePropagatorParams ()
 Parameters for configuring signature propagators instantiated by the DtPhysicalWorld's DtSensorSignatureManager.
virtual const
DtSignaturePropagatorDescriptorList
signaturePropagatorParams () const
 Parameters for configuring signature propagators instantiated by the DtPhysicalWorld's DtSensorSignatureManager.
virtual DtRwNLengthStringVectorlineOfSightTests ()
 Parameters for configuring types and order of Line of Sight tests performed by the physical world when general LOS queries are asked.
virtual const
DtRwNLengthStringVector
lineOfSightTests () const
 Parameters for configuring types and order of Line of Sight tests performed by the physical world when general LOS queries are asked.
virtual bool extrudeVectorObstructions () const
 If true (the default), the vector obstruction manager will extend all vector obstructions in the Z direction.
virtual void setExtrudeVectorObstructions (bool extrude)
 If true (the default), the vector obstruction manager will extend all vector obstructions in the Z direction.
virtual bool allowEnvironmentalEffects () const
 If true (the default), environmental effects will affect sensors-Visibility, time of day...
virtual void setAllowEnvironmentalEffects (bool allow)
 If true (the default), environmental effects will affect sensors-Visibility, time of day...
virtual DtRwObjectTypeListspatialOrganizationObjectTypes ()
 The list of object types that will be spatially organized by the object spatial subdivision.
virtual const DtRwObjectTypeListspatialOrganizationObjectTypes () const
 The list of object types that will be spatially organized by the object spatial subdivision.
virtual double terrainPreloadLookaheadTime () const
virtual void setTerrainPreloadLookaheadTime (double v)
virtual double terrainPreloadPeriod () const
virtual void setTerrainPreloadPeriod (double seconds)
virtual double terrainPreloadExpireTime () const
virtual void setTerrainPreloadExpireTime (double seconds)
virtual double terrainIntersectExpireTime () const
virtual void setTerrainIntersectExpireTime (double seconds)
virtual void merge (const DtPhysicalWorldParams *)
 Merges the contents of the supplied parameters into this.
virtual void mergeLineOfSightTests (const DtPhysicalWorldParams *)
 Merges in any line of sight tests that do not exist into the myLineOfSighTests list.
virtual void addTest (const DtString &test)
 Merges in any line of sight tests that do not exist into the myLineOfSighTests list.
virtual void mergeSignaturePropagatorParams (const DtPhysicalWorldParams *)
 Merges entries from incoming physical world params signature propagator params into this one.
virtual void mergeSpatialOrganizationObjectTypes (const DtPhysicalWorldParams *)
 Merges spatial objects types into this object.

Protected Attributes

DtSignaturePropagatorDescriptorList mySignaturePropagatorParams
DtRwNLengthStringVector myLineOfSightTests
DtRwBoolean myExtrudeVectorObstructions
DtRwBoolean myAllowEnvironmentalEffects
DtRwObjectTypeList mySpatialOrganizationObjectTypes
DtRwReal myTerrainPreloadLookaheadTime
 The number of seconds that the terrain pre-loader will look ahead of entity positions when preloading the terrain areas they may move on to.
DtRwReal myTerrainPreloadPeriod
 Evaluation period for terrain preload. Specified in seconds.
DtRwReal myTerrainPreloadExpireTime
 Expire time offset (from actual time) for preload data load requests.
DtRwReal myTerrainIntersectExpireTime
 Expire time offset (from actual time) for intersect data load requests.

Private Member Functions

 DtPhysicalWorldParams ()
 default constructor; not implemented

Detailed Description

Readable-writable class holding all parameters for to configure the DtPhysicalWorld.


Constructor & Destructor Documentation

DtPhysicalWorldParams::DtPhysicalWorldParams ( const DtString rwName,
DtReaderWriterRegistry parentRegistry = NULL 
)

Constructor.

DtPhysicalWorldParams::DtPhysicalWorldParams ( const DtSymbolString rwName,
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

Parameters:
origDtPhysicalWorldParams to copy.
parentRegistryThe registry of the DtReaderWriter object to which this object belongs.

default constructor; not implemented


Member Function Documentation

DtPhysicalWorldParams& DtPhysicalWorldParams::operator= ( const DtPhysicalWorldParams orig)

assignment

Parameters for configuring signature propagators instantiated by the DtPhysicalWorld's DtSensorSignatureManager.

Parameters for configuring signature propagators instantiated by the DtPhysicalWorld's DtSensorSignatureManager.

Parameters for configuring types and order of Line of Sight tests performed by the physical world when general LOS queries are asked.

Parameters for configuring types and order of Line of Sight tests performed by the physical world when general LOS queries are asked.

If true (the default), the vector obstruction manager will extend all vector obstructions in the Z direction.

If false, they will be clamped the the highest polygon at their position (same behavior in VRF3.8 and earlier)

virtual void DtPhysicalWorldParams::setExtrudeVectorObstructions ( bool  extrude) [virtual]

If true (the default), the vector obstruction manager will extend all vector obstructions in the Z direction.

If false, they will be clamped the the highest polygon at their position (same behavior in VRF3.8 and earlier)

If true (the default), environmental effects will affect sensors-Visibility, time of day...

virtual void DtPhysicalWorldParams::setAllowEnvironmentalEffects ( bool  allow) [virtual]

If true (the default), environmental effects will affect sensors-Visibility, time of day...

The list of object types that will be spatially organized by the object spatial subdivision.

Any physical object type in the simulation that may be sensed, block intervisibility, etc, should be on this list.

The list of object types that will be spatially organized by the object spatial subdivision.

Any physical object type in the simulation that may be sensed, block intervisibility, etc, should be on this list.

virtual double DtPhysicalWorldParams::terrainPreloadLookaheadTime ( ) const [virtual]
virtual void DtPhysicalWorldParams::setTerrainPreloadLookaheadTime ( double  v) [virtual]
virtual double DtPhysicalWorldParams::terrainPreloadPeriod ( ) const [virtual]
virtual void DtPhysicalWorldParams::setTerrainPreloadPeriod ( double  seconds) [virtual]
virtual double DtPhysicalWorldParams::terrainPreloadExpireTime ( ) const [virtual]
virtual void DtPhysicalWorldParams::setTerrainPreloadExpireTime ( double  seconds) [virtual]
virtual double DtPhysicalWorldParams::terrainIntersectExpireTime ( ) const [virtual]
virtual void DtPhysicalWorldParams::setTerrainIntersectExpireTime ( double  seconds) [virtual]
virtual void DtPhysicalWorldParams::merge ( const DtPhysicalWorldParams ) [virtual]

Merges the contents of the supplied parameters into this.

Includes merging any new tests and all lists

Merges in any line of sight tests that do not exist into the myLineOfSighTests list.

virtual void DtPhysicalWorldParams::addTest ( const DtString test) [virtual]

Merges in any line of sight tests that do not exist into the myLineOfSighTests list.

Merges entries from incoming physical world params signature propagator params into this one.

Merges spatial objects types into this object.


Member Data Documentation

The number of seconds that the terrain pre-loader will look ahead of entity positions when preloading the terrain areas they may move on to.

Evaluation period for terrain preload. Specified in seconds.

Expire time offset (from actual time) for preload data load requests.

Expire time offset (from actual time) for intersect data load requests.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)