Physics objects
Description
Collaboration diagram for Physics objects:

Classes | |
| class | chrono::ChJoint |
| Wrapper class for a joint in a Chrono system which can be either a kinematic joint or a bushing. More... | |
| class | chrono::ChObj |
| Base class for all Chrono objects. More... | |
Enumerations | |
| enum | chrono::UpdateFlags : uint8_t { NONE = 0u, DYNAMICS = 1u << 0, JACOBIANS = 1u << 1, VISUAL_ASSETS = 1u << 2, UPDATE_ALL = DYNAMICS | JACOBIANS | VISUAL_ASSETS, UPDATE_ALL_NO_VISUAL = DYNAMICS | JACOBIANS } |
| Flags that control the update operations. More... | |
Functions | |
| constexpr UpdateFlags | chrono::operator| (UpdateFlags lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags | chrono::operator& (UpdateFlags lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags | chrono::operator^ (UpdateFlags lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags | chrono::operator~ (UpdateFlags flag) noexcept |
| constexpr UpdateFlags & | chrono::operator|= (UpdateFlags &lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags & | chrono::operator&= (UpdateFlags &lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags & | chrono::operator^= (UpdateFlags &lhs, UpdateFlags rhs) noexcept |
| template<typename Enum > | |
| constexpr bool | chrono::has_flag (Enum flags, Enum flag) noexcept |
Enumeration Type Documentation
◆ UpdateFlags
|
strong |
Flags that control the update operations.
These flags can be combined with bitwise operators. For example:
UpdateFlags flags = UpdateFlags::DYNAMICS | UpdateFlags::JACOBIANS;
if (has_flag(flags, UpdateFlags::DYNAMICS)) { ... }