Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray3D::cModel3DSObject Class Reference

#include <cModel3DS.h>

Inheritance diagram for Gray3D::cModel3DSObject:
Gray::cRefBase IUnknown

Public Member Functions

 cModel3DSObject ()
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 

Public Attributes

int m_materialID
 The texture ID to use, which is the index into our m_aMaterials array. More...
 
bool m_bHasTexture
 This is true if there is a texture map for this object. m_materialID has a file. More...
 
cString m_strName
 The name of the object. More...
 
cArrayVal< cVector3fm_aVerts
 The object's vertices. More...
 
cArrayVal< cVector3fm_aNormals
 The object's normals. ComputeNormals() More...
 
cArrayVal< cVector2fm_aTexVerts
 The texture's UV coordinates. More...
 
cArrayVal< cModel3DSFacem_aFaces
 The faces information of the object. More...
 

Detailed Description

Hold a single mesh (plus decoration) inside cModel3DS.

Constructor & Destructor Documentation

◆ cModel3DSObject()

Gray3D::cModel3DSObject::cModel3DSObject ( )
inline

Member Data Documentation

◆ m_aFaces

cArrayVal<cModel3DSFace> Gray3D::cModel3DSObject::m_aFaces

The faces information of the object.

◆ m_aNormals

cArrayVal<cVector3f> Gray3D::cModel3DSObject::m_aNormals

The object's normals. ComputeNormals()

◆ m_aTexVerts

cArrayVal<cVector2f> Gray3D::cModel3DSObject::m_aTexVerts

The texture's UV coordinates.

◆ m_aVerts

cArrayVal<cVector3f> Gray3D::cModel3DSObject::m_aVerts

The object's vertices.

◆ m_bHasTexture

bool Gray3D::cModel3DSObject::m_bHasTexture

This is true if there is a texture map for this object. m_materialID has a file.

◆ m_materialID

int Gray3D::cModel3DSObject::m_materialID

The texture ID to use, which is the index into our m_aMaterials array.

◆ m_strName

cString Gray3D::cModel3DSObject::m_strName

The name of the object.


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