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

amire::common::AABoundingBox Class Reference

Inheritance diagram for amire::common::AABoundingBox:

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

Public Member Functions

 AABoundingBox ()
 AABoundingBox (const Vector &position, const Vector &dimension)
 AABoundingBox (const AABoundingBox &boundingBox)
 AABoundingBox (const OrientedBoundingBox &boundingBox)
 AABoundingBox (const BoundingSphere &boundingSphere)
 AABoundingBox (const BoundingVolume &boundingVolume)
virtual ~AABoundingBox ()
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 dimension

Constructor & Destructor Documentation

amire::common::AABoundingBox::AABoundingBox  ) 
 

amire::common::AABoundingBox::AABoundingBox const Vector position,
const Vector dimension
 

amire::common::AABoundingBox::AABoundingBox const AABoundingBox &  boundingBox  ) 
 

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

amire::common::AABoundingBox::AABoundingBox const BoundingSphere boundingSphere  ) 
 

amire::common::AABoundingBox::AABoundingBox const BoundingVolume boundingVolume  ) 
 

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


Member Function Documentation

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

Reimplemented from amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

virtual bool amire::common::AABoundingBox::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::AABoundingBox::intersectedByVolume const BoundingVolume volume  )  const [virtual]
 

Reimplemented from amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.


Member Data Documentation

Vector amire::common::AABoundingBox::dimension
 

Vector amire::common::AABoundingBox::position
 


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