EHS
Loading...
Searching...
No Matches
ehs::Mdl Class Reference

#include <Mdl.h>

Inheritance diagram for ehs::Mdl:
ehs::BaseObj

Public Member Functions

 Mdl ()
 
 Mdl (const Str_8 &filePath)
 
 Mdl (Str_8 id, Array< Mesh > meshes, Bone skeleton, Array< Animation > animations)
 
 Mdl (Str_8 id, Array< Mesh > meshes, Bone skeleton)
 
 Mdl (Str_8 id, Array< Mesh > meshes)
 
 Mdl (Mdl &&model) noexcept
 
 Mdl (const Mdl &model)=default
 
Mdloperator= (Mdl &&model) noexcept
 
Mdloperator= (const Mdl &model)=default
 
void Release ()
 
UInt_64 GetHashId () const
 
void SetId (Str_8 newId)
 
Str_8 GetId () const
 
const Array< Mesh > & GetMeshes () const
 
Array< Mesh > & GetMeshes ()
 
MeshGetMesh (UInt_64 inHashId)
 
MeshGetMesh (const Str_8 &inId)
 
const BoneGetSkeleton () const
 
BoneGetSkeleton ()
 
AnimationGetAnimation (UInt_64 inHashId)
 
const Array< Animation > & GetAnimations () const
 
Array< Animation > & GetAnimations ()
 
void Calculate ()
 
bool Export (const Str_8 &filePath) const
 
- Public Member Functions inherited from ehs::BaseObj
virtual ~BaseObj ()
 
 BaseObj ()
 
 BaseObj (BaseObj &&base) noexcept
 
 BaseObj (const BaseObj &base)
 
BaseObjoperator= (BaseObj &&base) noexcept
 
BaseObjoperator= (const BaseObj &base)
 
bool operator== (const BaseObj &base) const
 
bool operator!= (const BaseObj &base) const
 
const TypeGetHierarchy () const
 
UInt_64 GetHierarchySize () const
 
bool HasType (UInt_64 typeHashId) const
 
bool HasType (const Char_8 *typeId) const
 
Type GetType () const
 
UInt_64 GetTypeIdSize () const
 
const Char_8GetTypeId () const
 
UInt_64 GetTypeHashId () const
 
virtual BaseObjClone () const
 

Static Public Member Functions

static bool HasCodec (UInt_64 hashExt)
 
static bool HasCodec (const Str_8 &ext)
 
static bool AddCodec (MdlCodec codec)
 
static const MdlCodecGetCodec (UInt_64 hashExt)
 
static const MdlCodecGetCodec (const Str_8 &ext)
 

Protected Attributes

UInt_64 hashId
 
Str_8 id
 
Array< Meshmeshes
 
Bone skeleton
 
Array< Animationanimations
 

Additional Inherited Members

- Protected Member Functions inherited from ehs::BaseObj
void AddType (const Char_8 *id)
 

Constructor & Destructor Documentation

◆ Mdl() [1/7]

ehs::Mdl::Mdl ( )

◆ Mdl() [2/7]

ehs::Mdl::Mdl ( const Str_8 & filePath)

◆ Mdl() [3/7]

ehs::Mdl::Mdl ( Str_8 id,
Array< Mesh > meshes,
Bone skeleton,
Array< Animation > animations )

◆ Mdl() [4/7]

ehs::Mdl::Mdl ( Str_8 id,
Array< Mesh > meshes,
Bone skeleton )

◆ Mdl() [5/7]

ehs::Mdl::Mdl ( Str_8 id,
Array< Mesh > meshes )

◆ Mdl() [6/7]

ehs::Mdl::Mdl ( Mdl && model)
noexcept

◆ Mdl() [7/7]

ehs::Mdl::Mdl ( const Mdl & model)
default

Member Function Documentation

◆ AddCodec()

bool ehs::Mdl::AddCodec ( MdlCodec codec)
static

◆ Calculate()

void ehs::Mdl::Calculate ( )

◆ Export()

bool ehs::Mdl::Export ( const Str_8 & filePath) const

◆ GetAnimation()

Animation * ehs::Mdl::GetAnimation ( UInt_64 inHashId)

◆ GetAnimations() [1/2]

Array< Animation > & ehs::Mdl::GetAnimations ( )

◆ GetAnimations() [2/2]

const Array< Animation > & ehs::Mdl::GetAnimations ( ) const

◆ GetCodec() [1/2]

const MdlCodec * ehs::Mdl::GetCodec ( const Str_8 & ext)
static

◆ GetCodec() [2/2]

const MdlCodec * ehs::Mdl::GetCodec ( UInt_64 hashExt)
static

◆ GetHashId()

UInt_64 ehs::Mdl::GetHashId ( ) const

◆ GetId()

Str_8 ehs::Mdl::GetId ( ) const

◆ GetMesh() [1/2]

Mesh * ehs::Mdl::GetMesh ( const Str_8 & inId)

◆ GetMesh() [2/2]

Mesh * ehs::Mdl::GetMesh ( UInt_64 inHashId)

◆ GetMeshes() [1/2]

Array< Mesh > & ehs::Mdl::GetMeshes ( )

◆ GetMeshes() [2/2]

const Array< Mesh > & ehs::Mdl::GetMeshes ( ) const

◆ GetSkeleton() [1/2]

Bone & ehs::Mdl::GetSkeleton ( )

◆ GetSkeleton() [2/2]

const Bone & ehs::Mdl::GetSkeleton ( ) const

◆ HasCodec() [1/2]

bool ehs::Mdl::HasCodec ( const Str_8 & ext)
static

◆ HasCodec() [2/2]

bool ehs::Mdl::HasCodec ( UInt_64 hashExt)
static

◆ operator=() [1/2]

Mdl & ehs::Mdl::operator= ( const Mdl & model)
default

◆ operator=() [2/2]

Mdl & ehs::Mdl::operator= ( Mdl && model)
noexcept

◆ Release()

void ehs::Mdl::Release ( )

◆ SetId()

void ehs::Mdl::SetId ( Str_8 newId)

Member Data Documentation

◆ animations

Array<Animation> ehs::Mdl::animations
protected

◆ hashId

UInt_64 ehs::Mdl::hashId
protected

◆ id

Str_8 ehs::Mdl::id
protected

◆ meshes

Array<Mesh> ehs::Mdl::meshes
protected

◆ skeleton

Bone ehs::Mdl::skeleton
protected

The documentation for this class was generated from the following files: