|
AGX Dynamics 2.42.3.1
|
#include <WindAndWaterParameters.h>
Inheritance diagram for agxModel::WindAndWaterParameters:Public Types | |
| 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... | |
Public Member Functions | |
| agx::Real | getCoefficient (Coefficient type) const |
| const agxCollide::Shape * | getShape () const |
| agxModel::WindAndWaterParameters::ShapeTessellation | getShapeTessellationLevel () const |
| virtual void | restore (agxStream::InputArchive &in) |
| Internal method. | |
| void | setCoefficient (Coefficient type, agx::Real coefficient) |
| Set pressure drag, viscous drag, lift or buoyancy coefficient. | |
| void | setShapeTessellationLevel (agxModel::WindAndWaterParameters::ShapeTessellation tessellation) |
| Assign tessellation level for native shapes (sphere, capsule and cylinder) used during aero- and hydrodynamics integrations. | |
| virtual void | store (agxStream::OutputArchive &out) const |
| Internal method. | |
Public Member Functions inherited from agx::Referenced | |
| Referenced () | |
| Default constructor. | |
| Referenced (const Referenced &) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. | |
| template<typename T > | |
| const T * | asSafe () const |
| int | getReferenceCount () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. | |
| Referenced & | operator= (const Referenced &) |
| Assignment operator. Will increment the number of references to the referenced object. | |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. | |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
Static Public Member Functions | |
| static void | setAerodynamicCoefficient (WindAndWaterController *controller, agx::RigidBody *rb, Coefficient type, agx::Real coefficient) |
| Set a aerodynamic coefficient for a rigid body. | |
| static void | setHydrodynamicCoefficient (WindAndWaterController *controller, agx::RigidBody *rb, Coefficient type, agx::Real coefficient) |
| Set a hydrodynamic coefficient for a rigid body. | |
| static agx::Real | shapeTessellationLevelToResolution (agxModel::WindAndWaterParameters::ShapeTessellation tessellationLevel) |
| Translate from ShapeTessellation to scale of default meshing technique. | |
Static Public Member Functions inherited from agx::Referenced | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Protected Member Functions | |
| WindAndWaterParameters (const agxCollide::Shape *shape, agxModel::AddedMassDbRef addedMassDb) | |
| virtual | ~WindAndWaterParameters () |
Protected Member Functions inherited from agx::Referenced | |
| virtual | ~Referenced () |
| Destructor. | |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| agxModel::AddedMassDbRef | m_addedMassDb |
| agxModel::AddedMassStorage::Identifier | m_addedMassIdentifier |
| agx::Real | m_buoyancyScaling |
| agx::Real | m_liftCoefficient |
| agx::Real | m_pressureDragCoefficient |
| agxCollide::ShapeConstObserver | m_shape |
| ShapeTessellation | m_tessellation |
| agx::Real | m_viscousDragCoefficient |
Protected Attributes inherited from agx::Referenced | |
| Mutex | m_mutex |
| ObserverContainer | m_observers |
| AtomicValue | m_refCount |
Additional Inherited Members | |
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. | |
Definition at line 28 of file WindAndWaterParameters.h.
| Enumerator | |
|---|---|
| PRESSURE_DRAG | |
| VISCOUS_DRAG | |
| LIFT | |
| BUOYANCY | |
Definition at line 44 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.
|
protected |
|
protectedvirtual |
| agx::Real agxModel::WindAndWaterParameters::getCoefficient | ( | Coefficient | type | ) | const |
| const agxCollide::Shape * agxModel::WindAndWaterParameters::getShape | ( | ) | const |
| WindAndWaterParameters::ShapeTessellation agxModel::WindAndWaterParameters::getShapeTessellationLevel | ( | ) | const |
Definition at line 178 of file WindAndWaterParameters.h.
|
virtual |
Internal method.
|
static |
Set a aerodynamic coefficient for a rigid body.
| 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. |
| void agxModel::WindAndWaterParameters::setCoefficient | ( | Coefficient | type, |
| agx::Real | coefficient | ||
| ) |
Set pressure drag, viscous drag, lift or buoyancy coefficient.
| type | - PRESSURE_DRAG, VISCOUS_DRAG, LIFT or BUOYANCY |
| coefficient | - new coefficient |
|
static |
Set a hydrodynamic coefficient for a rigid body.
| 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. |
| void agxModel::WindAndWaterParameters::setShapeTessellationLevel | ( | agxModel::WindAndWaterParameters::ShapeTessellation | tessellation | ) |
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.
| tessellation | - tessellation level |
|
static |
Translate from ShapeTessellation to scale of default meshing technique.
|
virtual |
Internal method.
|
protected |
Definition at line 130 of file WindAndWaterParameters.h.
|
protected |
Definition at line 129 of file WindAndWaterParameters.h.
|
protected |
Definition at line 128 of file WindAndWaterParameters.h.
|
protected |
Definition at line 126 of file WindAndWaterParameters.h.
|
protected |
Definition at line 125 of file WindAndWaterParameters.h.
|
protected |
Definition at line 131 of file WindAndWaterParameters.h.
|
protected |
Definition at line 132 of file WindAndWaterParameters.h.
|
protected |
Definition at line 127 of file WindAndWaterParameters.h.