VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Protected Attributes
makVrv::DtDynamicTerrainSphere Class Reference

DtDynamicTerrainSphere is used to represent a sphere of impact for a dynamic terrain event. More...

Inheritance diagram for makVrv::DtDynamicTerrainSphere:
Inheritance graph
[legend]

Classes

class  Intersector
 This class is used by the DtDynamicTerrainWorld to determine intersections with this geometry type. More...
 

Public Member Functions

 DtDynamicTerrainSphere (const DtVector &center, double radius)
 CTOR. More...
 
virtual ~DtDynamicTerrainSphere ()
 DTOR. More...
 
 DtDynamicTerrainSphere ()=delete
 
 DtDynamicTerrainSphere (const DtDynamicTerrainSphere &copy)=delete
 
DtDynamicTerrainSphereoperator= (const DtDynamicTerrainSphere &copy)=delete
 
virtual DtDynamicTerrainGeometryclone () const
 Make a copy of this geometry. More...
 
virtual bool intersects (const DtDynamicTerrainGeometry &geometry) const
 Determine if this sphere intersects the specified geometry. More...
 
virtual double distanceTo (const DtVector &point) const
 Return the distance from the point to this sphere. More...
 
virtual bool isFinite () const
 Check to see that the center is a finite number. More...
 
virtual void accept (Visitor &visitor) const
 Calls the visitSphere() method of the provided visitor. More...
 
virtual const DtVectorcenter () const
 Get the center of the geometry sphere. More...
 
virtual double radius () const
 Get the radius of the geometry sphere. More...
 
- Public Member Functions inherited from makVrv::DtDynamicTerrainGeometry
 DtDynamicTerrainGeometry ()
 Constructor. More...
 
virtual ~DtDynamicTerrainGeometry ()
 Virtual destructor. More...
 
 DtDynamicTerrainGeometry (const DtDynamicTerrainGeometry &copy)=delete
 
DtDynamicTerrainGeometryoperator= (const DtDynamicTerrainGeometry &copy)=delete
 

Protected Attributes

const DtVector myCenter
 
const double myRadius
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtDynamicTerrainGeometry
static DtDynamicTerrainGeometryUnion (DtDynamicTerrainGeometry *, DtDynamicTerrainGeometry *)
 Factory functions. More...
 
static DtDynamicTerrainGeometryIntersection (DtDynamicTerrainGeometry *, DtDynamicTerrainGeometry *)
 
static DtDynamicTerrainGeometrySphere (const DtVector &center, double radius)
 
static DtDynamicTerrainGeometryPoint (const DtVector &center)
 
static DtDynamicTerrainGeometryLine (const std::vector< DtVector > &vertices)
 

Detailed Description

DtDynamicTerrainSphere is used to represent a sphere of impact for a dynamic terrain event.

Constructor & Destructor Documentation

makVrv::DtDynamicTerrainSphere::DtDynamicTerrainSphere ( const DtVector center,
double  radius 
)

CTOR.

virtual makVrv::DtDynamicTerrainSphere::~DtDynamicTerrainSphere ( )
virtual

DTOR.

makVrv::DtDynamicTerrainSphere::DtDynamicTerrainSphere ( )
delete
makVrv::DtDynamicTerrainSphere::DtDynamicTerrainSphere ( const DtDynamicTerrainSphere copy)
delete

Member Function Documentation

DtDynamicTerrainSphere& makVrv::DtDynamicTerrainSphere::operator= ( const DtDynamicTerrainSphere copy)
delete
virtual DtDynamicTerrainGeometry* makVrv::DtDynamicTerrainSphere::clone ( ) const
virtual

Make a copy of this geometry.

Implements makVrv::DtDynamicTerrainGeometry.

virtual bool makVrv::DtDynamicTerrainSphere::intersects ( const DtDynamicTerrainGeometry geometry) const
virtual

Determine if this sphere intersects the specified geometry.

Implements makVrv::DtDynamicTerrainGeometry.

virtual double makVrv::DtDynamicTerrainSphere::distanceTo ( const DtVector point) const
virtual

Return the distance from the point to this sphere.

Implements makVrv::DtDynamicTerrainGeometry.

virtual bool makVrv::DtDynamicTerrainSphere::isFinite ( ) const
virtual

Check to see that the center is a finite number.

Implements makVrv::DtDynamicTerrainGeometry.

virtual void makVrv::DtDynamicTerrainSphere::accept ( Visitor visitor) const
virtual

Calls the visitSphere() method of the provided visitor.

Implements makVrv::DtDynamicTerrainGeometry.

virtual const DtVector& makVrv::DtDynamicTerrainSphere::center ( ) const
virtual

Get the center of the geometry sphere.

virtual double makVrv::DtDynamicTerrainSphere::radius ( ) const
virtual

Get the radius of the geometry sphere.

Member Data Documentation

const DtVector makVrv::DtDynamicTerrainSphere::myCenter
protected
const double makVrv::DtDynamicTerrainSphere::myRadius
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)