![]() |
VR-Forces 5.0.1 Developer's Guide
|
Object used to calculate fixed scale of object based on how many pixels on screen it should take up.

Public Member Functions | |
| DtOsgFixedScaleParameters () | |
| virtual | ~DtOsgFixedScaleParameters () |
| void | setFixedPixelSize (double d) |
| double | fixedPixelSize () const |
| void | setDimensions (double length, double width, double height) |
| double | length () const |
| double | width () const |
| double | height () const |
| void | calculateScaleFactors (const osgUtil::CullVisitor &visitor, const osg::BoundingSphere &sphere, DtOsgCullVisitorParameters *info, double &scaleFactorX, double &scaleFactorY, double &scaleFactorZ) const |
| void | calculateScaleFactors (const osg::BoundingSphere &sphere, const DtOsgCullVisitorParameters &info, double &scaleFactorX, double &scaleFactorY, double &scaleFactorZ) const |
| void | setScaleX (bool b) |
| bool | scaleX () const |
| void | setScaleXY (bool b) |
| bool | scaleY () const |
| void | setScaleZ (bool b) |
| bool | scaleZ () const |
Protected Attributes | |
| double | myFixedPixelSize |
| double | myLength |
| double | myWidth |
| double | myHeight |
| bool | myScaleX |
| bool | myScaleY |
| bool | myScaleZ |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |