| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/viewinfo.h>

Public Types | |
| enum | PrjType { Unknown, Parallel, Perspective } |
Public Member Functions | |
| VRS_TYPEINFO (ModelviewProjectionViewInfo, ViewInfo) | |
| ModelviewProjectionViewInfo (const Matrix &modelview, const Matrix &projection, unsigned int viewportPixelsX, unsigned int viewportPixelsY) | |
| virtual double | farPlaneDistance () const |
| virtual void | setFarPlaneDistance (double farPlaneDistance) |
| virtual double | nearPlaneDistance () const |
| virtual void | setNearPlaneDistance (double nearPlaneDistance) |
| const Vector & | focus (void) const |
| void | setFocus (const Vector &focus) |
| virtual const Vector & | cameraPosition () const |
| void | setCameraPosition (const Vector &cameraPosition) |
| virtual const Vector & | cameraUp () const |
| void | setCameraUp (const Vector &cameraUp) |
| virtual const Vector & | cameraRight () const |
| void | setCameraRight (const Vector &cameraRight) |
| virtual const Vector & | cameraDirection () const |
| virtual double | distanceToCamera2 (const Vector &point) const |
| virtual double | distanceToCamera2 (const Bounds &bbox) const |
| virtual double | pixelSize2 (const Vector ¢er, double radius) const |
| virtual double | pixelSize2 (const Vector &segmentBegin, const Vector &segmentEnd) const |
| virtual CullingPos | culling (const Vector &point, double radius) const |
| Returns if the given sphere is inside or outside the view frustum. | |
| virtual CullingPos | culling (const Vector &point) const |
| Returns if the given point is inside or outside the view frustum. | |
| virtual CullingPos | culling (const Bounds &bbox) const |
| Returns if the given box is inside or outside the view frustum. | |
| const Vector & | leftPlane (void) const |
| void | setLeftPlane (const Vector &leftPlane) |
| const Vector & | rightPlane (void) const |
| void | setRightPlane (const Vector &rightPlane) |
| const Vector & | topPlane (void) const |
| void | setTopPlane (const Vector &topPlane) |
| const Vector & | bottomPlane (void) const |
| void | setBottomPlane (const Vector &bottomPlane) |
| const Vector & | clipNormal (void) const |
| void | setClipNormal (const Vector &clipNormal) |
| const Vector & | depthVector (void) const |
| void | setDepthVector (const Vector &depthVector) |
| virtual PrjType | projectionType () const |
Protected Member Functions | |
| template<class T> | |
| CullingPos | xculling (const T &obj) const |
| VRS::ModelviewProjectionViewInfo::ModelviewProjectionViewInfo | ( | const Matrix & | modelview, | |
| const Matrix & | projection, | |||
| unsigned int | viewportPixelsX, | |||
| unsigned int | viewportPixelsY | |||
| ) |
| VRS::ModelviewProjectionViewInfo::VRS_TYPEINFO | ( | ModelviewProjectionViewInfo | , | |
| ViewInfo | ||||
| ) |
| virtual double VRS::ModelviewProjectionViewInfo::farPlaneDistance | ( | ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual void VRS::ModelviewProjectionViewInfo::setFarPlaneDistance | ( | double | farPlaneDistance | ) | [inline, virtual] |
| virtual double VRS::ModelviewProjectionViewInfo::nearPlaneDistance | ( | ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual void VRS::ModelviewProjectionViewInfo::setNearPlaneDistance | ( | double | nearPlaneDistance | ) | [inline, virtual] |
| const Vector& VRS::ModelviewProjectionViewInfo::focus | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setFocus | ( | const Vector & | focus | ) | [inline] |
| virtual const Vector& VRS::ModelviewProjectionViewInfo::cameraPosition | ( | ) | const [virtual] |
Implements VRS::ViewInfo.
| void VRS::ModelviewProjectionViewInfo::setCameraPosition | ( | const Vector & | cameraPosition | ) | [inline] |
| virtual const Vector& VRS::ModelviewProjectionViewInfo::cameraUp | ( | ) | const [virtual] |
Implements VRS::ViewInfo.
| void VRS::ModelviewProjectionViewInfo::setCameraUp | ( | const Vector & | cameraUp | ) | [inline] |
| virtual const Vector& VRS::ModelviewProjectionViewInfo::cameraRight | ( | ) | const [virtual] |
Implements VRS::ViewInfo.
| void VRS::ModelviewProjectionViewInfo::setCameraRight | ( | const Vector & | cameraRight | ) | [inline] |
| virtual const Vector& VRS::ModelviewProjectionViewInfo::cameraDirection | ( | ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual double VRS::ModelviewProjectionViewInfo::distanceToCamera2 | ( | const Vector & | point | ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual double VRS::ModelviewProjectionViewInfo::distanceToCamera2 | ( | const Bounds & | bbox | ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual double VRS::ModelviewProjectionViewInfo::pixelSize2 | ( | const Vector & | center, | |
| double | radius | |||
| ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual double VRS::ModelviewProjectionViewInfo::pixelSize2 | ( | const Vector & | segmentBegin, | |
| const Vector & | segmentEnd | |||
| ) | const [virtual] |
Implements VRS::ViewInfo.
| virtual CullingPos VRS::ModelviewProjectionViewInfo::culling | ( | const Vector & | point, | |
| double | radius | |||
| ) | const [virtual] |
Returns if the given sphere is inside or outside the view frustum.
Implements VRS::ViewInfo.
Reimplemented in VRS::CameraViewInfo.
| virtual CullingPos VRS::ModelviewProjectionViewInfo::culling | ( | const Vector & | point | ) | const [virtual] |
Returns if the given point is inside or outside the view frustum.
Implements VRS::ViewInfo.
Reimplemented in VRS::CameraViewInfo.
| virtual CullingPos VRS::ModelviewProjectionViewInfo::culling | ( | const Bounds & | bbox | ) | const [virtual] |
Returns if the given box is inside or outside the view frustum.
Implements VRS::ViewInfo.
Reimplemented in VRS::CameraViewInfo.
| const Vector& VRS::ModelviewProjectionViewInfo::leftPlane | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setLeftPlane | ( | const Vector & | leftPlane | ) | [inline] |
| const Vector& VRS::ModelviewProjectionViewInfo::rightPlane | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setRightPlane | ( | const Vector & | rightPlane | ) | [inline] |
| const Vector& VRS::ModelviewProjectionViewInfo::topPlane | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setTopPlane | ( | const Vector & | topPlane | ) | [inline] |
| const Vector& VRS::ModelviewProjectionViewInfo::bottomPlane | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setBottomPlane | ( | const Vector & | bottomPlane | ) | [inline] |
| const Vector& VRS::ModelviewProjectionViewInfo::clipNormal | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setClipNormal | ( | const Vector & | clipNormal | ) | [inline] |
| const Vector& VRS::ModelviewProjectionViewInfo::depthVector | ( | void | ) | const [inline] |
| void VRS::ModelviewProjectionViewInfo::setDepthVector | ( | const Vector & | depthVector | ) | [inline] |
| virtual PrjType VRS::ModelviewProjectionViewInfo::projectionType | ( | ) | const [virtual] |
| CullingPos VRS::ModelviewProjectionViewInfo::xculling | ( | const T & | obj | ) | const [inline, protected] |