#include <WindAndWaterParameters.h>
|
| enum | Coefficient { PRESSURE_DRAG,
VISCOUS_DRAG,
LIFT,
BUOYANCY
} |
| |
| enum | ShapeTessellation {
LOW,
MEDIUM,
HIGH,
ULTRA_HIGH,
DEFAULT_TESSELLATION = MEDIUM
} |
| | Tessellation levels of native, non-mesh shapes, e.g, sphere, capsule and cylinder. More...
|
| |
Definition at line 137 of file WindAndWaterParameters.h.
Tessellation levels of native, non-mesh shapes, e.g, sphere, capsule and cylinder.
| Enumerator |
|---|
| LOW |
|
| MEDIUM |
|
| HIGH |
|
| ULTRA_HIGH |
|
| DEFAULT_TESSELLATION |
|
Definition at line 35 of file WindAndWaterParameters.h.
| virtual agxModel::AerodynamicsParameters::~AerodynamicsParameters |
( |
| ) |
|
|
protectedvirtual |
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
- Returns
- coefficient of type PRESSURE_DRAG, VISCOUS_DRAG, LIFT or BUOYANCY
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
- Returns
- the shape these parameters are associated with
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
| 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.
Referenced by agxData::Val< UInt >::Val().
Set a aerodynamic coefficient for a rigid body.
- Parameters
-
| controller | - The WindAndWaterController used. |
| rb | - The rigid body whose coefficient we want to change. |
| type | - The coefficient we want to change; PRESSURE_DRAG, VISCOUS_DRAG or LIFT. |
| coefficient | - Value of the new coefficient. |
Set pressure drag, viscous drag, lift or buoyancy coefficient.
- Parameters
-
| type | - PRESSURE_DRAG, VISCOUS_DRAG, LIFT or BUOYANCY |
| coefficient | - new coefficient |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
Set a hydrodynamic coefficient for a rigid body.
- Parameters
-
| controller | - The WindAndWaterController used. |
| rb | - The rigid body whose coefficient we want to change. |
| type | - The coefficient we want to change; PRESSURE_DRAG, VISCOUS_DRAG, LIFT or BUOYANCY. |
| coefficient | - Value of the new coefficient. |
Assign tessellation level for native shapes (sphere, capsule and cylinder) used during aero- and hydrodynamics integrations.
This parameter is ignored for mesh shape types and box.
- Parameters
-
| tessellation | - tessellation level |
Translate from ShapeTessellation to scale of default meshing technique.
| 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.
| 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.
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
| agx::Real agxModel::WindAndWaterParameters::m_buoyancyScaling |
|
protectedinherited |
| agx::Real agxModel::WindAndWaterParameters::m_liftCoefficient |
|
protectedinherited |
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
|
|
mutableprotectedinherited |
| agx::Real agxModel::WindAndWaterParameters::m_pressureDragCoefficient |
|
protectedinherited |
| AtomicValue agx::Referenced::m_refCount |
|
mutableprotectedinherited |
| agx::Real agxModel::WindAndWaterParameters::m_viscousDragCoefficient |
|
protectedinherited |
The documentation for this class was generated from the following file: