AGX Dynamics  2.37.3.2
agxModel::ImpactVolumeData Class Reference

#include <TerrainDataInterface.h>

+ Inheritance diagram for agxModel::ImpactVolumeData:

Public Member Functions

 ImpactVolumeData ()
 
void clear ()
 
size_t getLocalVertexIndexWithLargestInfluence () 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...
 

Public Attributes

agxCollide::ContactPoint * contactPoint
 
agx::Vec2i coordinates [3]
 
agx::Real depth
 
agx::Vec3 normal
 
agx::Real normalForce
 
agx::Vec3 percent
 
agx::Vec3 point
 
agx::Vec2 positions [3]
 
agx::Vec3i vectorIndices
 

Additional Inherited Members

- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor. More...
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 
- 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 storage of contact point info that will help to calculate volume of heightfield overlaps

Definition at line 50 of file TerrainDataInterface.h.

Constructor & Destructor Documentation

◆ ImpactVolumeData()

agxModel::ImpactVolumeData::ImpactVolumeData ( )

Member Function Documentation

◆ clear()

void agxModel::ImpactVolumeData::clear ( )

◆ getLocalVertexIndexWithLargestInfluence()

size_t agxModel::ImpactVolumeData::getLocalVertexIndexWithLargestInfluence ( ) const

Member Data Documentation

◆ contactPoint

agxCollide::ContactPoint* agxModel::ImpactVolumeData::contactPoint

Definition at line 63 of file TerrainDataInterface.h.

◆ coordinates

agx::Vec2i agxModel::ImpactVolumeData::coordinates[3]

Definition at line 64 of file TerrainDataInterface.h.

◆ depth

agx::Real agxModel::ImpactVolumeData::depth

Definition at line 59 of file TerrainDataInterface.h.

◆ normal

agx::Vec3 agxModel::ImpactVolumeData::normal

Definition at line 58 of file TerrainDataInterface.h.

◆ normalForce

agx::Real agxModel::ImpactVolumeData::normalForce

Definition at line 61 of file TerrainDataInterface.h.

◆ percent

agx::Vec3 agxModel::ImpactVolumeData::percent

Definition at line 60 of file TerrainDataInterface.h.

◆ point

agx::Vec3 agxModel::ImpactVolumeData::point

Definition at line 57 of file TerrainDataInterface.h.

◆ positions

agx::Vec2 agxModel::ImpactVolumeData::positions[3]

Definition at line 65 of file TerrainDataInterface.h.

◆ vectorIndices

agx::Vec3i agxModel::ImpactVolumeData::vectorIndices

Definition at line 62 of file TerrainDataInterface.h.


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