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

amire::common::BoundingSphere Class Reference

Inheritance diagram for amire::common::BoundingSphere:

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

Public Member Functions

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

Constructor & Destructor Documentation

amire::common::BoundingSphere::BoundingSphere  ) 
 

amire::common::BoundingSphere::BoundingSphere const Vector position,
double  radius
 

amire::common::BoundingSphere::BoundingSphere const AABoundingBox boundingBox  ) 
 

amire::common::BoundingSphere::BoundingSphere const OrientedBoundingBox boundingBox  ) 
 

amire::common::BoundingSphere::BoundingSphere const BoundingSphere &  boundingSphere  ) 
 

amire::common::BoundingSphere::BoundingSphere const BoundingVolume boundingVolume  ) 
 

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


Member Function Documentation

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

Reimplemented from amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

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

Reimplemented from amire::common::BoundingVolume.

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

Implements amire::common::BoundingVolume.


Member Data Documentation

Vector amire::common::BoundingSphere::position
 

double amire::common::BoundingSphere::radius
 


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