![]() |
VR-Forces 4.0.4 Class Documentation
|
The osg cull vistor parameters class provides additional culling 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 |
| void | setCameraResolution (double factor) |
| Set the zoom factor that effects LODing. | |
| double | cameraResolution () const |
| Get the zoom factor. | |
| void | setTerrainRadius (double rad) |
| Set the terrain radius. | |
| void | setAltitude2D (double altitude) |
| Set the (implied) altitude when orthoCulling. | |
| double | altitude2D () const |
| 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) |
| bool | skyRendering () const |
| 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 | setScaleType (DtObserverObject::ScaleType scaleType) |
| Set the type of model scaling to perform. | |
| DtObserverObject::ScaleType | scaleType () const |
| Get the type of model scaling to perform. | |
| double | calculateFixedScale (double basempp, double mpp) |
| double | calculateScaleFromDistance (double distance, double r) |
| void | setClampedPixelSize (double d) |
| double | clampedPixelSize () const |
Protected Attributes | |
| double | myCameraMagnification |
| double | myCameraResolution |
| double | myTerrainRadius |
| double | myAltitude2D |
| bool | mySkyFlag |
| bool | myOrthoFlag |
| bool | myScalingFlag |
| double | myScaleFactor |
| double | myClampedPixelSize |
| DtObserverObject::ScaleType | myScaleType |
| bool | myCoordinateSystemChanged |
The osg cull vistor parameters class provides additional culling parameters for choosing the LOD, and cull operations.
CTOR.
| void makVrv::DtOsgCullVisitorParameters::setCameraMagnification | ( | double | mag | ) | [inline] |
Set the camera Magnification that affects LODing and paging.
| double makVrv::DtOsgCullVisitorParameters::cameraMagnification | ( | ) | const [inline] |
| void makVrv::DtOsgCullVisitorParameters::setCameraResolution | ( | double | factor | ) | [inline] |
Set the zoom factor that effects LODing.
| double makVrv::DtOsgCullVisitorParameters::cameraResolution | ( | ) | const [inline] |
Get the zoom factor.
| void makVrv::DtOsgCullVisitorParameters::setTerrainRadius | ( | double | rad | ) | [inline] |
Set the terrain radius.
| void makVrv::DtOsgCullVisitorParameters::setAltitude2D | ( | double | altitude | ) | [inline] |
Set the (implied) altitude when orthoCulling.
| double makVrv::DtOsgCullVisitorParameters::altitude2D | ( | ) | const [inline] |
| double makVrv::DtOsgCullVisitorParameters::terrainRadius | ( | ) | const [inline] |
Get the terrain radius.
Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().
| void makVrv::DtOsgCullVisitorParameters::setOrthoCulling | ( | bool | ortho | ) | [inline] |
Set whether the culling should be doing in orthographic mode.
| bool makVrv::DtOsgCullVisitorParameters::orthoCulling | ( | ) | const [inline] |
Get whether the culling is to be done in 2D orthographic mode.
| void makVrv::DtOsgCullVisitorParameters::setSkyRendering | ( | bool | renderSky | ) | [inline] |
| bool makVrv::DtOsgCullVisitorParameters::skyRendering | ( | ) | const [inline] |
| void makVrv::DtOsgCullVisitorParameters::setScaling | ( | bool | scaling | ) | [inline] |
Set whether scalable groups should be scaled by distance.
| bool makVrv::DtOsgCullVisitorParameters::scaling | ( | ) | const [inline] |
Get whether scalable groups should be scaled by distance.
| void makVrv::DtOsgCullVisitorParameters::setScaleFactor | ( | double | scaleFactor | ) | [inline] |
Set the additional (on top of distance) scale factor to apply.
| double makVrv::DtOsgCullVisitorParameters::scaleFactor | ( | ) | const [inline] |
Get the additional (on top of distance) scale factor to apply.
| void makVrv::DtOsgCullVisitorParameters::setCoordinateSystemChanged | ( | bool | changed | ) | [inline] |
Set whether the coordinate system changed this frame.
| bool makVrv::DtOsgCullVisitorParameters::coordinateSystemChanged | ( | ) | const [inline] |
Get whether the coordinate system changed this frame.
| void makVrv::DtOsgCullVisitorParameters::setScaleType | ( | DtObserverObject::ScaleType | scaleType | ) | [inline] |
Set the type of model scaling to perform.
| DtObserverObject::ScaleType makVrv::DtOsgCullVisitorParameters::scaleType | ( | ) | const [inline] |
Get the type of model scaling to perform.
| double makVrv::DtOsgCullVisitorParameters::calculateFixedScale | ( | double | basempp, |
| double | mpp | ||
| ) | [inline] |
| double makVrv::DtOsgCullVisitorParameters::calculateScaleFromDistance | ( | double | distance, |
| double | r | ||
| ) | [inline] |
| void makVrv::DtOsgCullVisitorParameters::setClampedPixelSize | ( | double | d | ) | [inline] |
Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().
| double makVrv::DtOsgCullVisitorParameters::clampedPixelSize | ( | ) | const [inline] |
Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().
double makVrv::DtOsgCullVisitorParameters::myCameraMagnification [protected] |
double makVrv::DtOsgCullVisitorParameters::myCameraResolution [protected] |
double makVrv::DtOsgCullVisitorParameters::myTerrainRadius [protected] |
double makVrv::DtOsgCullVisitorParameters::myAltitude2D [protected] |
bool makVrv::DtOsgCullVisitorParameters::mySkyFlag [protected] |
bool makVrv::DtOsgCullVisitorParameters::myOrthoFlag [protected] |
double makVrv::DtOsgCullVisitorParameters::myScaleFactor [protected] |
double makVrv::DtOsgCullVisitorParameters::myClampedPixelSize [protected] |