VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtOsgCullVisitorParameters Class Reference

The osg cull vistor parameters class provides additional culling parameters for choosing the LOD, and cull operations. More...

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

List of all members.

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

Detailed Description

The osg cull vistor parameters class provides additional culling parameters for choosing the LOD, and cull operations.


Constructor & Destructor Documentation

CTOR.


Member Function Documentation

Set the camera Magnification that affects LODing and paging.

Set the zoom factor that effects LODing.

Get the zoom factor.

Set the terrain radius.

void makVrv::DtOsgCullVisitorParameters::setAltitude2D ( double  altitude) [inline]

Set the (implied) altitude when orthoCulling.

Get the terrain radius.

Referenced by makVrv::DtOsgFixedScaleParameters::calculateScaleFactors().

Set whether the culling should be doing in orthographic mode.

Get whether the culling is to be done in 2D orthographic mode.

Set whether scalable groups should be scaled by distance.

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.

Get the additional (on top of distance) scale factor to apply.

Set whether the coordinate system changed this frame.

Get whether the coordinate system changed this frame.

Set the type of model scaling to perform.

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]

Member Data Documentation


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)