EHS
ehs::Mesh Class Referencefinal

#include <Mesh.h>

Inheritance diagram for ehs::Mesh:
ehs::BaseObj

Public Member Functions

 Mesh ()
 
 Mesh (Str_8 id, Array< Vertex_f > vertices, Array< UInt_32 > indices)
 
 Mesh (Str_8 id, Array< Vertex_f > vertices)
 
 Mesh (Mesh &&mesh) noexcept
 
 Mesh (const Mesh &mesh)
 
Meshoperator= (Mesh &&mesh) noexcept
 
Meshoperator= (const Mesh &mesh)
 
void Release ()
 
UInt_64 GetHashId () const
 
void SetId (Str_8 newId)
 
Str_8 GetId () const
 
void SetVertices (const Array< Vertex_f > &newVertices)
 
const Array< Vertex_f > & GetVertices () const
 
Array< Vertex_f > & GetVertices ()
 
void SetIndices (const Array< UInt_32 > &newIndices)
 
bool HasIndices () const
 
const Array< UInt_32 > & GetIndices () const
 
Array< UInt_32 > & GetIndices ()
 
void Calculate ()
 
- 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
 

Protected Attributes

UInt_64 hashId
 
Str_8 id
 
Array< Vertex_fvertices
 
Array< UInt_32indices
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Mesh() [1/5]

ehs::Mesh::Mesh ( )

◆ Mesh() [2/5]

ehs::Mesh::Mesh ( Str_8  id,
Array< Vertex_f vertices,
Array< UInt_32 indices 
)

◆ Mesh() [3/5]

ehs::Mesh::Mesh ( Str_8  id,
Array< Vertex_f vertices 
)

◆ Mesh() [4/5]

ehs::Mesh::Mesh ( Mesh &&  mesh)
noexcept

◆ Mesh() [5/5]

ehs::Mesh::Mesh ( const Mesh mesh)

Member Function Documentation

◆ Calculate()

void ehs::Mesh::Calculate ( )

◆ GetHashId()

UInt_64 ehs::Mesh::GetHashId ( ) const

◆ GetId()

Str_8 ehs::Mesh::GetId ( ) const

◆ GetIndices() [1/2]

Array< UInt_32 > & ehs::Mesh::GetIndices ( )

◆ GetIndices() [2/2]

const Array< UInt_32 > & ehs::Mesh::GetIndices ( ) const

◆ GetVertices() [1/2]

Array< Vertex_f > & ehs::Mesh::GetVertices ( )

◆ GetVertices() [2/2]

const Array< Vertex_f > & ehs::Mesh::GetVertices ( ) const

◆ HasIndices()

bool ehs::Mesh::HasIndices ( ) const

◆ operator=() [1/2]

Mesh & ehs::Mesh::operator= ( const Mesh mesh)

◆ operator=() [2/2]

Mesh & ehs::Mesh::operator= ( Mesh &&  mesh)
noexcept

◆ Release()

void ehs::Mesh::Release ( )

◆ SetId()

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

◆ SetIndices()

void ehs::Mesh::SetIndices ( const Array< UInt_32 > &  newIndices)

◆ SetVertices()

void ehs::Mesh::SetVertices ( const Array< Vertex_f > &  newVertices)

Member Data Documentation

◆ hashId

UInt_64 ehs::Mesh::hashId
protected

◆ id

Str_8 ehs::Mesh::id
protected

◆ indices

Array<UInt_32> ehs::Mesh::indices
protected

◆ vertices

Array<Vertex_f> ehs::Mesh::vertices
protected

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