esp::assets namespace

Asset management namespace.

Namespaces

namespace managers

Classes

class AbstractAttributes
Base class for all implemented attributes.
class AbstractPhysicsAttributes
base attributes object holding attributes shared by all PhysicsObjectAttributes and PhysicsSceneAttributes objects; Should be treated as if is abstract - should never be instanced directly
class AbstractPrimitiveAttributes
template<typename T>
struct Asset
Wrapper for all valid asset types.
struct AssetInfo
AssetInfo stores information necessary to identify and load an Asset.
class BaseMesh
Base class for storing mesh asset data including geometry and topology.
class CapsulePrimitiveAttributes
attributes describing primitive capsule objects
struct CollisionMeshData
Provides references to geometry and topology for an individual component of an asset for use in generating collision shapes for simulation.
class ConePrimitiveAttributes
class CubePrimitiveAttributes
class CylinderPrimitiveAttributes
class GenericInstanceMeshData
class GenericMeshData
Mesh data storage and loading for gltf format assets. See ResourceManager::loadGeneralMeshData.
class IcospherePrimitiveAttributes
struct MeshData
Raw mesh data storage.
struct MeshMetaData
Stores meta data for an asset possibly containing multiple meshes, materials, textures, and a heirarchy of component transform relationships.
struct MeshTransformNode
Stores meta data for objects with a multi-component transformation heirarchy.
class Mp3dInstanceMeshData
class PhysicsManagerAttributes
attributes for a single physics manager
class PhysicsObjectAttributes
Specific Attributes instance which is constructed with a base set of physics object required attributes.
class PhysicsSceneAttributes
attributes for a single physical scene
class PTexMeshData
class ResourceManager
Singleton class responsible for loading and managing common simulator assets such as meshes, textures, and materials.
class UVSpherePrimitiveAttributes

Enums

enum class AssetType { UNKNOWN, SUNCG_OBJECT, SUNCG_SCENE, MP3D_MESH, INSTANCE_MESH, FRL_PTEX_MESH, UNKNOWN2, NAVMESH, PRIMITIVE }
Supported Asset types.
enum SupportedMeshType { NOT_DEFINED = -1, INSTANCE_MESH = 0, INSTANCE_MESH, PTEX_MESH = 1, GENERIC_MESH = 2, NUM_SUPPORTED_MESH_TYPES = 3 }
Enumeration of mesh types supported by the simulator.
enum class PrimObjTypes: uint32_t { CAPSULE_SOLID, CAPSULE_WF, CONE_SOLID, CONE_WF, CUBE_SOLID, CUBE_WF, CYLINDER_SOLID, CYLINDER_WF, ICOSPHERE_SOLID, ICOSPHERE_WF, UVSPHERE_SOLID, UVSPHERE_WF, END_PRIM_OBJ_TYPES }
The kinds of primitive modelled objects supported. Paired with Magnum::Primitive namespace objects.

Functions

auto operator==(const AssetInfo& a, const AssetInfo& b) -> bool
auto operator!=(const AssetInfo& a, const AssetInfo& b) -> bool
void initAttributesBindings(pybind11::module& m)

Variables

static const std::string EMPTY_SCENE

Enum documentation

enum class esp::assets::AssetType

Supported Asset types.

enum esp::assets::SupportedMeshType

Enumeration of mesh types supported by the simulator.

Each entry suggests a derived class of BaseMesh implementing the specific storage and processing interface to accomodate differing asset formats. Identifies the derived variant of this object.

Enumerators
NOT_DEFINED

Undefined mesh types are created programmatically without a specific format or loaded from an unkown format. Support for this type and behavior is likely limited. Object type is likely BaseMesh.

INSTANCE_MESH

Instance meshes loaded from sources including segmented object identifier data (e.g. semantic data: chair, table, etc...). Sources include .ply files and reconstructions of Matterport scans. Object is likely of type GenericInstanceMeshData or Mp3dInstanceMeshData.

INSTANCE_MESH

PTEX_MESH

Meshes loaded from Replica dataset. Object is likely type PTexMeshData.

GENERIC_MESH

Meshes loaded from gltf format (i.e. .glb file), or instances of Magnum Primitives. Object is likely type GenericMeshData.

NUM_SUPPORTED_MESH_TYPES

Number of enumerated supported types.

enum class esp::assets::PrimObjTypes: uint32_t

The kinds of primitive modelled objects supported. Paired with Magnum::Primitive namespace objects.

Enumerators
CAPSULE_SOLID

Primitive object corresponding to Magnum::Primitives::capsule3DSolid

CAPSULE_WF

Primitive object corresponding to Magnum::Primitives::capsule3DWireframe

CONE_SOLID

Primitive object corresponding to Magnum::Primitives::coneSolid

CONE_WF

Primitive object corresponding to Magnum::Primitives::coneWireframe

CUBE_SOLID

Primitive object corresponding to Magnum::Primitives::cubeSolid

CUBE_WF

Primitive object corresponding to Magnum::Primitives::cubeWireframe

CYLINDER_SOLID

Primitive object corresponding to Magnum::Primitives::cylinderSolid

CYLINDER_WF

Primitive object corresponding to Magnum::Primitives::cylinderWireframe

ICOSPHERE_SOLID

Primitive object corresponding to Magnum::Primitives::icosphereSolid

ICOSPHERE_WF

Primitive object corresponding to Magnum::Primitives::icosphereWireframe

UVSPHERE_SOLID

Primitive object corresponding to Magnum::Primitives::uvSphereSolid

UVSPHERE_WF

Primitive object corresponding to Magnum::Primitives::uvSphereWireframe

END_PRIM_OBJ_TYPES

marker for no more primitive objects - add any new objects above this entry

Function documentation

bool esp::assets::operator==(const AssetInfo& a, const AssetInfo& b)

bool esp::assets::operator!=(const AssetInfo& a, const AssetInfo& b)

void esp::assets::initAttributesBindings(pybind11::module& m)

Variable documentation

static const std::string esp::assets::EMPTY_SCENE