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

OmniBoundingVolume Class Reference

#include <omniBoundingVolume.h>

Inheritance diagram for OmniBoundingVolume:

GeometricBoundingVolume BoundingVolume TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

virtual BoundingVolumemake_copy () const
virtual LPoint3f get_approx_center () const
virtual void xform (const LMatrix4f &mat)
virtual void output (ostream &out) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

virtual bool extend_other (BoundingVolume *other) const
virtual bool around_other (BoundingVolume *other, const BoundingVolume **first, const BoundingVolume **last) const
virtual int contains_other (const BoundingVolume *other) const
virtual bool extend_by_point (const LPoint3f &point)
virtual bool extend_by_sphere (const BoundingSphere *sphere)
virtual bool extend_by_hexahedron (const BoundingHexahedron *hexahedron)
virtual bool around_points (const LPoint3f *first, const LPoint3f *last)
virtual bool around_spheres (const BoundingVolume **first, const BoundingVolume **last)
virtual bool around_hexahedrons (const BoundingVolume **first, const BoundingVolume **last)
virtual int contains_point (const LPoint3f &point) const
virtual int contains_lineseg (const LPoint3f &a, const LPoint3f &b) const
virtual int contains_hexahedron (const BoundingHexahedron *hexahedron) const
virtual int contains_sphere (const BoundingSphere *sphere) const

Private Attributes

PUBLISHED __pad0__: INLINE_MATHUTIL OmniBoundingVolume()

Static Private Attributes

TypeHandle _type_handle

Friends

class BoundingHexahedron

Member Function Documentation

bool OmniBoundingVolume::around_hexahedrons const BoundingVolume **  first,
const BoundingVolume **  last
[protected, virtual]
 

Reimplemented from BoundingVolume.

Definition at line 157 of file omniBoundingVolume.cxx.

bool OmniBoundingVolume::around_other BoundingVolume other,
const BoundingVolume **  first,
const BoundingVolume **  last
const [protected, virtual]
 

Implements BoundingVolume.

Definition at line 83 of file omniBoundingVolume.cxx.

References BoundingVolume::set_infinite().

bool OmniBoundingVolume::around_points const LPoint3f *  first,
const LPoint3f *  last
[protected, virtual]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 136 of file omniBoundingVolume.cxx.

bool OmniBoundingVolume::around_spheres const BoundingVolume **  first,
const BoundingVolume **  last
[protected, virtual]
 

Reimplemented from BoundingVolume.

Definition at line 146 of file omniBoundingVolume.cxx.

int OmniBoundingVolume::contains_hexahedron const BoundingHexahedron hexahedron  )  const [protected, virtual]
 

Reimplemented from BoundingVolume.

Definition at line 198 of file omniBoundingVolume.cxx.

int OmniBoundingVolume::contains_lineseg const LPoint3f &  a,
const LPoint3f &  b
const [protected, virtual]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 178 of file omniBoundingVolume.cxx.

int OmniBoundingVolume::contains_other const BoundingVolume other  )  const [protected, virtual]
 

Implements BoundingVolume.

Definition at line 96 of file omniBoundingVolume.cxx.

int OmniBoundingVolume::contains_point const LPoint3f &  point  )  const [protected, virtual]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 168 of file omniBoundingVolume.cxx.

int OmniBoundingVolume::contains_sphere const BoundingSphere sphere  )  const [protected, virtual]
 

Reimplemented from BoundingVolume.

Definition at line 188 of file omniBoundingVolume.cxx.

bool OmniBoundingVolume::extend_by_hexahedron const BoundingHexahedron hexahedron  )  [protected, virtual]
 

Reimplemented from BoundingVolume.

Definition at line 126 of file omniBoundingVolume.cxx.

bool OmniBoundingVolume::extend_by_point const LPoint3f &  point  )  [protected, virtual]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 106 of file omniBoundingVolume.cxx.

bool OmniBoundingVolume::extend_by_sphere const BoundingSphere sphere  )  [protected, virtual]
 

Reimplemented from BoundingVolume.

Definition at line 116 of file omniBoundingVolume.cxx.

bool OmniBoundingVolume::extend_other BoundingVolume other  )  const [protected, virtual]
 

Implements BoundingVolume.

Definition at line 72 of file omniBoundingVolume.cxx.

References BoundingVolume::set_infinite().

virtual TypeHandle OmniBoundingVolume::force_init_type void   )  [inline, virtual]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 79 of file omniBoundingVolume.h.

References GeometricBoundingVolume::get_class_type(), and GeometricBoundingVolume::init_type().

LPoint3f OmniBoundingVolume::get_approx_center  )  const [virtual]
 

Implements GeometricBoundingVolume.

Definition at line 43 of file omniBoundingVolume.cxx.

TypeHandle OmniBoundingVolume::get_class_type void   )  [inline, static]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 68 of file omniBoundingVolume.h.

virtual TypeHandle OmniBoundingVolume::get_type void   )  const [inline, virtual]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 76 of file omniBoundingVolume.h.

References GeometricBoundingVolume::get_class_type().

void OmniBoundingVolume::init_type void   )  [inline, static]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 71 of file omniBoundingVolume.h.

References GeometricBoundingVolume::get_class_type(), GeometricBoundingVolume::init_type(), and register_type().

Referenced by ConfigureFn().

BoundingVolume * OmniBoundingVolume::make_copy  )  const [virtual]
 

Implements BoundingVolume.

Definition at line 33 of file omniBoundingVolume.cxx.

void OmniBoundingVolume::output ostream &  out  )  const [virtual]
 

Implements BoundingVolume.

Definition at line 62 of file omniBoundingVolume.cxx.

void OmniBoundingVolume::xform const LMatrix4f &  mat  )  [virtual]
 

Implements GeometricBoundingVolume.

Definition at line 53 of file omniBoundingVolume.cxx.


Friends And Related Function Documentation

friend class BoundingHexahedron [friend]
 

Reimplemented from BoundingVolume.

Definition at line 84 of file omniBoundingVolume.h.


Member Data Documentation

PUBLISHED OmniBoundingVolume::__pad0__ [private]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 33 of file omniBoundingVolume.h.

TypeHandle OmniBoundingVolume::_type_handle [static, private]
 

Reimplemented from GeometricBoundingVolume.

Definition at line 25 of file omniBoundingVolume.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:55 2003 for Panda by doxygen1.3