![]() |
VR-Forces 4.3.1 Class Documentation
|
The osg cull vistor parameters class provides additional culling and intersector parameters for choosing the LOD, and cull operations. More...

Public Member Functions | |
| DtOsgCullVisitorParameters () | |
| CTOR. | |
| void | setCameraMagnification (double mag) |
| Set the camera Magnification that affects LODing and paging. | |
| double | cameraMagnification () const |
| Return the current camera magnification. | |
| void | setCameraResolution (double factor) |
| Set the zoom factor that effects LODing. | |
| double | cameraResolution () const |
| Get the zoom factor. | |
| void | setCameraVelocity (double velocity) |
| Set the camera velocity. | |
| double | cameraVelocity () const |
| Get the camera velocity. | |
| void | setTerrainRadius (double rad) |
| Set the terrain radius. | |
| void | setAltitude2D (double altitude) |
| Set the (implied) altitude when orthoCulling. | |
| double | altitude2D () const |
| Return the (implied) 2D altitude. | |
| unsigned int | modelSet () const |
| Get the model set currently being rendered. | |
| void | setModelSet (unsigned int modelSet) |
| Set the model set currently being rendered. | |
| double | terrainRadius () const |
| Get the terrain radius. | |
| void | setOrthoCulling (bool ortho) |
| Set whether the culling should be doing in orthographic mode. | |
| bool | orthoCulling () const |
| Get whether the culling is to be done in 2D orthographic mode. | |
| void | setSkyRendering (bool renderSky) |
| Set whether the sky is being rendered. | |
| bool | skyRendering () const |
| Get whether the sky is being rendered. | |
| void | setDynamicLights (bool enabled) |
| Set whether dynamic lights are enabled. | |
| bool | dynamicLights () const |
| Get whether dynamic lights rendering is enabled. | |
| void | setDynamicOcean (bool enabled) |
| Set whether a dynamic ocean rendering is enabled. | |
| bool | dynamicOcean () const |
| Get whether a dynamic ocean rendering is enabled. | |
| void | setScaling (bool scaling) |
| Set whether scalable groups should be scaled by distance. | |
| bool | scaling () const |
| Get whether scalable groups should be scaled by distance. | |
| void | setScaleFactor (double scaleFactor) |
| Set the additional (on top of distance) scale factor to apply. | |
| double | scaleFactor () const |
| Get the additional (on top of distance) scale factor to apply. | |
| void | setCoordinateSystemChanged (bool changed) |
| Set whether the coordinate system changed this frame. | |
| bool | coordinateSystemChanged () const |
| Get whether the coordinate system changed this frame. | |
| void | setNodeXRScaler (DtOsgNodeXRScaler *scaler) |
| Set the XR scaler to use. | |
| double | calculateXRScale (const osg::Camera &camera, const osg::Node &node) |
| calculate the XR scale using the registered XR scaler. | |
| void | setScaleType (DtObserverObject::ScaleType scaleType) |
| Set the type of model scaling to perform. | |
| DtObserverObject::ScaleType | scaleType () const |
| Get the type of model scaling to perform. | |
| void | setClampedPixelSize (double d) |
| Set the clamped pixel size calculated when using DtOsgFixedScaleParameters. | |
| double | clampedPixelSize () const |
| Retrieve the clamped pixel size set in setClampedPixelSize. | |
| void | setDynamicWaterVisibilityEnable (bool enable) |
| Set dynamic water visibility, based on altitude. | |
| bool | dynamicWaterVisibilityEnable () const |
| Get whether dynamic water is enabled. | |
| void | setDynamicWaterVisibilityMax (double visMax) |
| Set the maximum value to which water visibility will be set when dynamic water visibility is enabled. | |
| double | dynamicWaterVisibilityMax () const |
| Get the maximum value to which water visibility will be set when dynamic water visibility is enabled. | |
| void | setPagedLodMagnificationScaleFactor (float factor) |
| Set the amount that any view magnification value is reduced by when determining the distance to a paged LOD. | |
| float | pagedLodMagnificationScaleFactor () const |
| Get the amount that any view magnification value is reduced by when determining the distance to a paged LOD. | |
Protected Attributes | |
| double | myCameraMagnification |
| double | myCameraResolution |
| double | myTerrainRadius |
| double | myAltitude2D |
| double | myAltitude3D |
| bool | mySkyFlag |
| bool | myDynamicLightsFlag |
| bool | myDynamicOceanFlag |
| bool | myOrthoFlag |
| bool | myScalingFlag |
| double | myScaleFactor |
| double | myClampedPixelSize |
| DtObserverObject::ScaleType | myScaleType |
| bool | myCoordinateSystemChanged |
| bool | myDynamicWaterVisibilityEnable |
| double | myDynamicWaterVisibilityMax |
| osg::ref_ptr< DtOsgNodeXRScaler > | myNodeXRScaler |
| float | myPagedLodMagnificationScaleFactor |
| double | myCameraVelocity |
| unsigned int | myModelSet |
The osg cull vistor parameters class provides additional culling and intersector parameters for choosing the LOD, and cull operations.
|
inline |
CTOR.
|
inline |
Set the camera Magnification that affects LODing and paging.
|
inline |
Return the current camera magnification.
|
inline |
Set the zoom factor that effects LODing.
|
inline |
Get the zoom factor.
|
inline |
Set the camera velocity.
|
inline |
Get the camera velocity.
|
inline |
Set the terrain radius.
|
inline |
Set the (implied) altitude when orthoCulling.
|
inline |
Return the (implied) 2D altitude.
|
inline |
Get the model set currently being rendered.
|
inline |
Set the model set currently being rendered.
|
inline |
Get the terrain radius.
Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().
|
inline |
Set whether the culling should be doing in orthographic mode.
|
inline |
Get whether the culling is to be done in 2D orthographic mode.
|
inline |
Set whether the sky is being rendered.
|
inline |
Get whether the sky is being rendered.
|
inline |
Set whether dynamic lights are enabled.
|
inline |
Get whether dynamic lights rendering is enabled.
|
inline |
Set whether a dynamic ocean rendering is enabled.
|
inline |
Get whether a dynamic ocean rendering is enabled.
|
inline |
Set whether scalable groups should be scaled by distance.
|
inline |
Get whether scalable groups should be scaled by distance.
|
inline |
Set the additional (on top of distance) scale factor to apply.
|
inline |
Get the additional (on top of distance) scale factor to apply.
|
inline |
Set whether the coordinate system changed this frame.
|
inline |
Get whether the coordinate system changed this frame.
|
inline |
Set the XR scaler to use.
This will not typically be called by users to change the XR Node Scaler, register a new DtOsgNodeXRScalerCreator
|
inline |
calculate the XR scale using the registered XR scaler.
References makVrv::DtOsgNodeXRScaler::calculateXRScale().
|
inline |
Set the type of model scaling to perform.
|
inline |
Get the type of model scaling to perform.
|
inline |
Set the clamped pixel size calculated when using DtOsgFixedScaleParameters.
This is ust used to pass the value from one form of calculateScaleFactors to the other
Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().
|
inline |
Retrieve the clamped pixel size set in setClampedPixelSize.
Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().
|
inline |
Set dynamic water visibility, based on altitude.
Water visibility will be scaled from its specified value at 0 alt to the max value specified.
|
inline |
Get whether dynamic water is enabled.
|
inline |
Set the maximum value to which water visibility will be set when dynamic water visibility is enabled.
|
inline |
Get the maximum value to which water visibility will be set when dynamic water visibility is enabled.
|
inline |
Set the amount that any view magnification value is reduced by when determining the distance to a paged LOD.
|
inline |
Get the amount that any view magnification value is reduced by when determining the distance to a paged LOD.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |