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

Object used to calculate fixed scale of object based on how many pixels on screen it should take up. More...

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

List of all members.

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

Detailed Description

Object used to calculate fixed scale of object based on how many pixels on screen it should take up.


Constructor & Destructor Documentation


Member Function Documentation

void makVrv::DtOsgFixedScaleParameters::setDimensions ( double  length,
double  width,
double  height 
) [inline]
double makVrv::DtOsgFixedScaleParameters::length ( ) const [inline]
double makVrv::DtOsgFixedScaleParameters::width ( ) const [inline]
double makVrv::DtOsgFixedScaleParameters::height ( ) const [inline]
void makVrv::DtOsgFixedScaleParameters::calculateScaleFactors ( const osgUtil::CullVisitor &  visitor,
const osg::BoundingSphere &  sphere,
DtOsgCullVisitorParameters info,
double &  scaleFactorX,
double &  scaleFactorY,
double &  scaleFactorZ 
) const [inline]
void makVrv::DtOsgFixedScaleParameters::calculateScaleFactors ( const osg::BoundingSphere &  sphere,
const DtOsgCullVisitorParameters info,
double &  scaleFactorX,
double &  scaleFactorY,
double &  scaleFactorZ 
) const [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)