namespace
coreCore Habitat functionality.
Namespaces
- namespace config
- Configuration functionality.
- namespace managedContainers
Classes
- class Buffer
- A class act as a data buffer.
- class Random
- struct RigidState
- describes the state of a rigid object as a composition of rotation (quaternion) and translation.
Enums
Functions
- void initCoreBindings(pybind11::module& m)
- Specify core bindings.
- void throwIfInPythonOtherwiseAbort(const char* message)
- For use in ESP_CHECK.
-
auto espLoggingSubsystem() -> logging::
Subsystem -
auto randomRotation() -> Magnum::
Quaternion - generate a random rotation
-
template<typename T>auto quatRotFromTwoVectors(const Magnum::
Math:: <T>& rotFrom, const Magnum::Vector3 Math:: <T>& rotTo) -> Magnum::Vector3 Math:: <T>Quaternion - Build a Magnum Quaternion as a rotation from two vectors.
-
template<typename T>auto orthonormalizeRotationShear(const Magnum::
Math:: <T>& transformation) -> Magnum::Matrix4 Math:: <T>Matrix4
Variables
- void(* throwInPython
- The throwInPython function pointer gets filled during Python bindings startup. If it's nullptr, we're in plain C++ code.
Enum documentation
enum class esp::core::DataType
#include <esp/core/Buffer.h>
#include <esp/core/Buffer.h>
Enumeration of data.
Function documentation
void esp::core:: initCoreBindings(pybind11::module& m)
#include <esp/bindings/Bindings.h>
Specify core bindings.
void esp::core:: throwIfInPythonOtherwiseAbort(const char* message)
#include <esp/core/Check.h>
For use in ESP_CHECK.
logging::Subsystem esp::core:: espLoggingSubsystem()
#include <esp/core/Logging.h>
Magnum::Quaternion esp::core:: randomRotation()
#include <esp/core/Utility.h>
generate a random rotation
Returns | a unit quternion |
---|
#include <esp/core/Utility.h>
template<typename T>
Magnum::Math::Quaternion <T> esp::core:: quatRotFromTwoVectors(const Magnum::Math::Vector3 <T>& rotFrom,
const Magnum::Math::Vector3 <T>& rotTo)
Build a Magnum Quaternion as a rotation from two vectors.
Parameters | |
---|---|
rotFrom | The vector to rotate. |
rotTo | The vector to rotate to. |
Returns | normalized rotation quaternion to perform the rotation. |
#include <esp/core/Utility.h>
template<typename T>
Magnum::Math::Matrix4 <T> esp::core:: orthonormalizeRotationShear(const Magnum::Math::Matrix4 <T>& transformation)
Variable documentation
void(* esp::core::throwInPython
#include <esp/core/Check.h>
#include <esp/core/Check.h>
The throwInPython function pointer gets filled during Python bindings startup. If it's nullptr, we're in plain C++ code.