Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::common::OrientedBoundingBox Class Reference

Inheritance diagram for amire::common::OrientedBoundingBox:

amire::common::BoundingVolume List of all members.

Public Member Functions

 OrientedBoundingBox ()
 OrientedBoundingBox (const Vector &position, const Vector &up, const Vector &direction, const Vector &side)
 OrientedBoundingBox (const OrientedBoundingBox &boundingBox)
 OrientedBoundingBox (const AABoundingBox &boundingBox)
 OrientedBoundingBox (const BoundingVolume &boundingVolume)
virtual ~OrientedBoundingBox ()
virtual BoundingVolume::BaseBoundingType getPreferredBaseBoundingType () const
virtual void convertTo (BoundingSphere *sphere) const
virtual void convertTo (AABoundingBox *box) const
virtual void convertTo (OrientedBoundingBox *box) const
virtual bool intersectedByVolume (const BoundingVolume *volume) const
virtual bool intersectedByLine (const Vector &point, const Vector &direction, double &distance1, double &distance2) const
virtual bool intersectedBySegment (const Vector &point1, const Vector &point2, bool &entryPoint, double &distanceEntryPoint, bool &exitPoint, double &distanceExitPoint) const
virtual bool containsPoint (const Vector &point) const
virtual bool containsVolume (const BoundingVolume *volume) const
virtual bool containsSegment (const Vector &point1, const Vector &point2) const
virtual osg::ref_ptr< BoundingVolumetransform (const Matrix &transformation) const

Public Attributes

Vector position
Vector up
Vector direction
Vector side

Constructor & Destructor Documentation

amire::common::OrientedBoundingBox::OrientedBoundingBox  ) 
 

amire::common::OrientedBoundingBox::OrientedBoundingBox const Vector position,
const Vector up,
const Vector direction,
const Vector side
 

amire::common::OrientedBoundingBox::OrientedBoundingBox const OrientedBoundingBox &  boundingBox  ) 
 

amire::common::OrientedBoundingBox::OrientedBoundingBox const AABoundingBox boundingBox  ) 
 

amire::common::OrientedBoundingBox::OrientedBoundingBox const BoundingVolume boundingVolume  ) 
 

virtual amire::common::OrientedBoundingBox::~OrientedBoundingBox  )  [virtual]
 


Member Function Documentation

virtual bool amire::common::OrientedBoundingBox::containsPoint const Vector point  )  const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

virtual bool amire::common::OrientedBoundingBox::containsSegment const Vector point1,
const Vector point2
const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

virtual bool amire::common::OrientedBoundingBox::containsVolume const BoundingVolume volume  )  const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

virtual void amire::common::OrientedBoundingBox::convertTo OrientedBoundingBox *  box  )  const [virtual]
 

Implements amire::common::BoundingVolume.

virtual void amire::common::OrientedBoundingBox::convertTo AABoundingBox box  )  const [virtual]
 

Implements amire::common::BoundingVolume.

virtual void amire::common::OrientedBoundingBox::convertTo BoundingSphere sphere  )  const [virtual]
 

Implements amire::common::BoundingVolume.

virtual BoundingVolume::BaseBoundingType amire::common::OrientedBoundingBox::getPreferredBaseBoundingType  )  const [virtual]
 

Implements amire::common::BoundingVolume.

virtual bool amire::common::OrientedBoundingBox::intersectedByLine const Vector point,
const Vector direction,
double &  distance1,
double &  distance2
const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

virtual bool amire::common::OrientedBoundingBox::intersectedBySegment const Vector point1,
const Vector point2,
bool &  entryPoint,
double &  distanceEntryPoint,
bool &  exitPoint,
double &  distanceExitPoint
const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

virtual bool amire::common::OrientedBoundingBox::intersectedByVolume const BoundingVolume volume  )  const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

virtual osg::ref_ptr<BoundingVolume> amire::common::OrientedBoundingBox::transform const Matrix transformation  )  const [virtual]
 

Implements amire::common::BoundingVolume.


Member Data Documentation

Vector amire::common::OrientedBoundingBox::direction
 

Vector amire::common::OrientedBoundingBox::position
 

Vector amire::common::OrientedBoundingBox::side
 

Vector amire::common::OrientedBoundingBox::up
 


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:55 2003 for AMIRE-Framework by doxygen1.3