#include <meshentity.h>
Inheritance diagram for MeshEntityChunk:


Public Member Functions | |
| MeshEntityChunk (unsigned short usType, const NeoEngine::HashString &rstrType, const NeoEngine::HashString &rstrID="") | |
| MeshEntityChunk (const NeoEngine::HashString &rstrID="") | |
| virtual | ~MeshEntityChunk () |
| virtual int | ParseData (unsigned int uiFlags, NeoEngine::FileManager *pkFileManager) |
| virtual int | GetSize (bool bIncludeHeader=false) const |
| virtual bool | IsComplex () const |
| void | AttachChunk (Chunk *pkChunk, bool bReplace=false) |
| Chunk * | FindChunk (const NeoEngine::HashString &rstrID, unsigned short usType, int iRecurse=-1, bool bIgnoreID=false) |
| int | FindChunks (const NeoEngine::HashString &rstrID, unsigned short usType, std::vector< Chunk * > *pvpkResult, bool bRecurse=false, bool bIgnoreID=false) |
| const std::vector< Chunk * > & | GetSubChunks () const |
| unsigned short | GetType () const |
| const NeoEngine::HashString & | GetTypeAsString () const |
| const NeoEngine::HashString & | GetID () const |
| virtual int | ReadData (NeoEngine::File *pkFile, ChunkIO::CHUNKIOMODE eMode, unsigned int uiEnd) |
| virtual int | WriteData (NeoEngine::File *pkFile, ChunkIO::CHUNKIOMODE eMode, unsigned int uiLevel) |
| int | ParseRecursive (unsigned int uiFlags, NeoEngine::FileManager *pkFileManager) |
Static Public Member Functions | |
| Chunk * | Allocator (unsigned short usType, const NeoEngine::HashString &rstrType, const NeoEngine::HashString &rstrID) |
Public Attributes | |
| NeoEngine::SceneEntity * | m_pkEntity |
| unsigned short | m_usVersion |
| bool | m_bParse |
Protected Attributes | |
| unsigned short | m_usType |
| NeoEngine::HashString | m_strType |
| NeoEngine::HashString | m_strID |
| unsigned short | m_usFindType |
| std::vector< Chunk * > | m_vpkSubChunks |
|
||||||||||||||||
|
Initialize chunk |
|
|
Setup chunk with default values
|
|
|
Deallocate data and subchunks |
|
||||||||||||
|
Parse chunk data
Reimplemented from SceneEntityChunk. |
|
||||||||||||||||
|
Allocate new chunk
|
|
|
Get size of chunk in binary mode
Implements Chunk. Reimplemented in PolygonBufferChunk, PolygonStripChunk, SkinVertexBufferChunk, and VertexBufferChunk. |
|
|
Implements Chunk. |
|
||||||||||||
|
Attach subchunk
|
|
||||||||||||||||||||
|
Locate chunk in hierarchy matching chunk properties
|
|
||||||||||||||||||||||||
|
Find all subchunks matching query
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Read chunk data from file
Reimplemented in BoolChunk, ColorChunk, FloatChunk, IntChunk, MaterialChunk, MatrixChunk, PolygonBufferChunk, PolygonStripChunk, QuaternionChunk, ShortChunk, SkinVertexBufferChunk, StringChunk, TechniqueChunk, VectorChunk, and VertexBufferChunk. |
|
||||||||||||||||
|
Write chunk data to file
Reimplemented in BoolChunk, ColorChunk, FloatChunk, IntChunk, MatrixChunk, PolygonBufferChunk, PolygonStripChunk, QuaternionChunk, ShortChunk, SkinVertexBufferChunk, StringChunk, VectorChunk, and VertexBufferChunk. |
|
||||||||||||
|
Parse child chunks, then ourselves
|
|
|
Scene entity object |
|
|
Chunk version |
|
|
Chunk type |
|
|
Type as string |
|
|
Chunk ID |
|
|
Chunk type used in search |
|
|
Sub chunks |
|
|
Parse flag. If false, the chunk will not be parsed |
1.3.5