Class for data sharing only to be used by HeightField.
More...
#include <MeshData.h>
Class for data sharing only to be used by HeightField.
Definition at line 140 of file MeshData.h.
◆ HeightFieldMeshData()
| agxCollide::HeightFieldMeshData::HeightFieldMeshData |
( |
| ) |
|
◆ ~HeightFieldMeshData()
| virtual agxCollide::HeightFieldMeshData::~HeightFieldMeshData |
( |
| ) |
|
|
protectedvirtual |
◆ allocateObserverVector()
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
◆ as() [1/2]
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
◆ as() [2/2]
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
◆ asSafe() [1/2]
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
◆ asSafe() [2/2]
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
◆ deepCopy()
Creates a deep copy of all data. Caller takes ownership of pointer.
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ getDeleteHandler()
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getResolution()
| agx::Vec2u32 agxCollide::HeightFieldMeshData::getResolution |
( |
| ) |
const |
- Returns
- the resolution of the heightfield
◆ getSize()
| agx::Vec2 agxCollide::HeightFieldMeshData::getSize |
( |
| ) |
const |
|
inline |
- Returns
- the size of the Heightfield
Definition at line 148 of file MeshData.h.
References m_size.
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ reference()
| void agx::Referenced::reference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ unreference()
| void agx::Referenced::unreference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
◆ unreference_nodelete()
| void agx::Referenced::unreference_nodelete |
( |
| ) |
const |
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
◆ ValidateCast()
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
◆ m_boundIndices
◆ m_dynamic
| bool agxCollide::HeightFieldMeshData::m_dynamic |
|
protected |
◆ m_invScale
| agx::Vec2 agxCollide::HeightFieldMeshData::m_invScale |
|
protected |
◆ m_minAllowedHeight
| agx::Real agxCollide::HeightFieldMeshData::m_minAllowedHeight |
|
protected |
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_refCount
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
◆ m_resolutionX
| size_t agxCollide::HeightFieldMeshData::m_resolutionX |
|
protected |
◆ m_resolutionY
| size_t agxCollide::HeightFieldMeshData::m_resolutionY |
|
protected |
◆ m_scale
| agx::Vec2 agxCollide::HeightFieldMeshData::m_scale |
|
protected |
◆ m_size
| agx::Vec2 agxCollide::HeightFieldMeshData::m_size |
|
protected |
The documentation for this class was generated from the following file: