esp/core/Esp.h file

Namespaces

namespace Eigen
namespace esp
Root namespace.

Typedefs

using Vector3uc = Matrix<uint8_t, 3, 1>
using Vector3ui = Matrix<uint32_t, 3, 1>
using Vector4uc = Matrix<uint8_t, 4, 1>
using Vector4ui = Matrix<uint32_t, 4, 1>
using Vector4ul = Matrix<uint64_t, 4, 1>
using RowMatrixXf = Matrix<float, Dynamic, Dynamic, RowMajor>
using vec2f = Eigen::Vector2f
using vec3f = Eigen::Vector3f
using vec4f = Eigen::Vector4f
using vec2d = Eigen::Vector2d
using vec3d = Eigen::Vector3d
using vec4d = Eigen::Vector4d
using vec2i = Eigen::Vector2i
using vec3i = Eigen::Vector3i
using vec4i = Eigen::Vector4i
using mat3f = Eigen::Matrix3f
using mat4f = Eigen::Matrix4f
using mat3d = Eigen::Matrix3d
using mat4d = Eigen::Matrix4d
using quatf = Eigen::Quaternionf
using vec3uc = Eigen::Vector3uc
using vec3ui = Eigen::Vector3ui
using vec4uc = Eigen::Vector4uc
using vec4ui = Eigen::Vector4ui
using vec4ul = Eigen::Vector4ul
using vecXi = Eigen::VectorXi
using box3f = Eigen::AlignedBox3f
using Transform = Eigen::Transform<float, 3, Eigen::Affine, Eigen::DontAlign>

Functions

static auto kJsonFormat(StreamPrecision, DontAlignCols, ", ", ", ", "", "", ""[", "]) -> const IOFormat
Eigen JSON string format specification.
template<typename T, int numRows, int numCols>
auto operator<<(std::ostream& os, const Matrix<T, numRows, numCols>& matrix) -> std::ostream&
template<typename T, int numRows, int numCols>
auto operator<<(Corrade::Utility::Debug& os, const Matrix<T, numRows, numCols>& matrix) -> std::enable_if<numRows==Dynamic||numCols==Dynamic, Corrade::Utility::Debug&>::type
Write Eigen matrix types into ostream in JSON string format.
template<typename T, int numRows, int numCols>
auto operator<<(Corrade::Utility::Debug& os, const Matrix<T, numRows, numCols>& matrix) -> std::enable_if<(numRows!=Dynamic && numCols!=Dynamic) && (numRows!=1 && numCols!=1), Corrade::Utility::Debug&>::type
template<typename T, int numRows, int numCols>
auto operator<<(Corrade::Utility::Debug& os, const Matrix<T, numRows, numCols>& matrix) -> std::enable_if<(numRows!=Dynamic && numCols!=Dynamic) && (numRows==1||numCols==1), Corrade::Utility::Debug&>::type
template<typename T>
auto operator<<(std::ostream& os, const Map<T>& m) -> std::ostream&
Write Eigen map into ostream in JSON string format.
auto operator<<(std::ostream& os, const box3f& bbox) -> std::ostream&
Write box3f into ostream in JSON string format.
auto operator<<(Corrade::Utility::Debug& os, const box3f& bbox) -> Corrade::Utility::Debug&
Write box3f as a magnum range.
template<typename T>
auto equal(const std::vector<std::shared_ptr<T>>& a, const std::vector<std::shared_ptr<T>>& b) -> bool
template<typename K, typename V>
auto equal(const std::map<K, std::shared_ptr<V>>& a, const std::map<K, std::shared_ptr<V>>& b) -> bool

Variables

int ID_UNDEFINED constexpr
Returned on failed creation or lookup of an ID.
double PHYSICS_ATTR_UNDEFINED constexpr
Undefined or invalid attribute in physics property query.
static const double NO_TIME
char NO_LIGHT_KEY constexpr
The esp::gfx::ShaderManager key for esp::gfx::LightInfo which has no lights.
char DEFAULT_LIGHTING_KEY constexpr
The esp::gfx::ShaderManager key for the default esp::gfx::LightInfo.
char DEFAULT_MATERIAL_KEY constexpr
The esp::gfx::ShaderManager key for the default esp::gfx::MaterialInfo.
char WHITE_MATERIAL_KEY constexpr
The esp::gfx::ShaderManager key for full ambient white esp::gfx::MaterialInfo used for primitive wire-meshes.
char PER_VERTEX_OBJECT_ID_MATERIAL_KEY constexpr
The ShaderManager key for MaterialInfo with per-vertex object ID.

Defines

#define ESP_SMART_POINTERS(...)
#define ESP_UNIQUE_PTR_PIMPL()
#define ESP_SHARED_PTR_PIMPL()
#define ESP_SMART_POINTERS_WITH_UNIQUE_PIMPL(T)
#define ESP_SMART_POINTERS_WITH_SHARED_PIMPL(T)