AGX Dynamics  2.37.3.2
agxModel::GeometryContactInfo Class Reference

#include <TerrainUtils.h>

+ Inheritance diagram for agxModel::GeometryContactInfo:

Public Member Functions

 GeometryContactInfo (agxCollide::GeometryContact *gc, size_t index)
 
void add (ImpactVolumeData *ivd)
 
void clear ()
 
const agxCollide::Geometry * getGeometry1 () const
 
agxCollide::Geometry * getGeometry1 ()
 
const agxCollide::Geometry * getGeometry2 () const
 
agxCollide::Geometry * getGeometry2 ()
 
agxCollide::GeometryContact * getGeometryContact ()
 
const ImpactVolumeDataPtrVector & getImpactVolumeDataVector ()
 
size_t getIndex ()
 
bool isValid () const
 
- Public Member Functions inherited from agx::Referenced
 Referenced ()
 Default constructor. More...
 
 Referenced (const Referenced &)
 
template<typename T >
T * as ()
 Subclass casting. More...
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match. More...
 
template<typename T >
const T * asSafe () const
 
int getReferenceCount () const
 
template<typename T >
bool is () const
 Subclass test. More...
 
Referenced & operator= (const Referenced &)
 Assignment operator. Will increment the number of references to the referenced object. More...
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 

Protected Member Functions

virtual ~GeometryContactInfo ()
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor. More...
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 

Additional Inherited Members

- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 
- Static Protected Member Functions inherited from agx::Referenced
static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More...
 
- Protected Attributes inherited from agx::Referenced
Mutex m_mutex
 
ObserverContainer m_observers
 
AtomicValue m_refCount
 

Detailed Description

Deprecated:
This class is deprecated and will be removed in a future version of AGX.
See also
agxTerrain::Terrain Class for storing a geometry contact and information about all its contact points

Definition at line 313 of file TerrainUtils.h.

Constructor & Destructor Documentation

◆ GeometryContactInfo()

agxModel::GeometryContactInfo::GeometryContactInfo ( agxCollide::GeometryContact *  gc,
size_t  index 
)
inline

Definition at line 316 of file TerrainUtils.h.

References agxCollide::GeometryContact::geometry().

◆ ~GeometryContactInfo()

virtual agxModel::GeometryContactInfo::~GeometryContactInfo ( )
inlineprotectedvirtual

Definition at line 350 of file TerrainUtils.h.

References agxTerrain::Profiler::clear().

Member Function Documentation

◆ add()

void agxModel::GeometryContactInfo::add ( ImpactVolumeData *  ivd)
inline

Definition at line 326 of file TerrainUtils.h.

◆ clear()

void agxModel::GeometryContactInfo::clear ( )
inline

Definition at line 339 of file TerrainUtils.h.

◆ getGeometry1() [1/2]

const agxCollide::Geometry* agxModel::GeometryContactInfo::getGeometry1 ( ) const
inline

Definition at line 330 of file TerrainUtils.h.

◆ getGeometry1() [2/2]

agxCollide::Geometry* agxModel::GeometryContactInfo::getGeometry1 ( )
inline

Definition at line 331 of file TerrainUtils.h.

◆ getGeometry2() [1/2]

const agxCollide::Geometry* agxModel::GeometryContactInfo::getGeometry2 ( ) const
inline

Definition at line 332 of file TerrainUtils.h.

◆ getGeometry2() [2/2]

agxCollide::Geometry* agxModel::GeometryContactInfo::getGeometry2 ( )
inline

Definition at line 333 of file TerrainUtils.h.

◆ getGeometryContact()

agxCollide::GeometryContact* agxModel::GeometryContactInfo::getGeometryContact ( )
inline

Definition at line 343 of file TerrainUtils.h.

◆ getImpactVolumeDataVector()

const ImpactVolumeDataPtrVector& agxModel::GeometryContactInfo::getImpactVolumeDataVector ( )
inline

Definition at line 346 of file TerrainUtils.h.

◆ getIndex()

size_t agxModel::GeometryContactInfo::getIndex ( )
inline

Definition at line 335 of file TerrainUtils.h.

◆ isValid()

bool agxModel::GeometryContactInfo::isValid ( ) const
inline

Definition at line 322 of file TerrainUtils.h.


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