|
AGX Dynamics 2.38.0.2
|
#include <WindAndWaterParameters.h>
Inheritance diagram for agxModel::HydrodynamicsParameters:Public Member Functions | |
| const agxModel::AddedMassStorage * | getAddedMassStorage () const |
| agx::Bool | initializeAddedMassStorage (const agx::String &filename) |
| Initializes the added mass storage given filename to store and/or restore the data for this given shape. | |
Public Member Functions inherited from agxModel::WindAndWaterParameters | |
| 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. | |
Protected Member Functions | |
| HydrodynamicsParameters (const agxCollide::Shape *shape, agxModel::AddedMassDbRef addedMassDb) | |
| virtual | ~HydrodynamicsParameters () |
Protected Member Functions inherited from agxModel::WindAndWaterParameters | |
| 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 |
Additional Inherited Members | |
Public Types inherited from agxModel::WindAndWaterParameters | |
| 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... | |
Static Public Member Functions inherited from agxModel::WindAndWaterParameters | |
| 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) |
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. | |
Protected Attributes inherited from agxModel::WindAndWaterParameters | |
| 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 |
Definition at line 151 of file WindAndWaterParameters.h.
|
protected |
|
protectedvirtual |
| const agxModel::AddedMassStorage * agxModel::HydrodynamicsParameters::getAddedMassStorage | ( | ) | const |
| agx::Bool agxModel::HydrodynamicsParameters::initializeAddedMassStorage | ( | const agx::String & | filename | ) |
Initializes the added mass storage given filename to store and/or restore the data for this given shape.