OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Ogre::Mesh Namespace Reference

Classes

struct  BoneAssignment
 
class  Chunk
 
class  ChunkFileHeader
 
class  ChunkGeometry
 
class  ChunkGeometryVertexBuffer
 
class  ChunkGeometryVertexData
 
class  ChunkGeometryVertexDecl
 
class  ChunkGeometryVertexDeclElement
 
class  ChunkMesh
 
class  ChunkMeshBoneAssignments
 
class  ChunkMeshBounds
 
class  ChunkMeshSkeletonLink
 
class  ChunkSubmesh
 
class  ChunkSubmeshOp
 
class  ChunkUnknown
 

Enumerations

enum  ChunkID {
  CID_Invalid = 0, CID_Header = 0x1000, CID_Mesh = 0x3000, CID_Submesh = 0x4000,
  CID_Submesh_Op = 0x4010, CID_Submesh_Bone_Assignment = 0x4100, CID_Submesh_Texture_Alias = 0x4200, CID_Geometry = 0x5000,
  CID_Geometry_Vertex_Decl = 0x5100, CID_Geometry_Vertex_Decl_Element = 0x5110, CID_Geometry_Vertex_Buffer = 0x5200, CID_Geometry_Vertex_Data = 0x5210,
  CID_Mesh_Skeleton_Link = 0x6000, CID_Mesh_Bone_Assignment = 0x7000, CID_Mesh_LOD = 0x8000, CID_Mesh_LOD_Usage = 0x8100,
  CID_Mesh_LOD_Manual = 0x8110, CID_Mesh_LOD_Generated = 0x8120, CID_Mesh_Bounds = 0x9000, CID_Submesh_Name_Table = 0xA000,
  CID_Submesh_Name_Table_Entry = 0xA100, CID_Edge_List = 0xB000, CID_Edge_List_LOD = 0xB100, CID_Edge_Group = 0xB110,
  CID_Pose_List = 0xC000, CID_Pose = 0xC100, CID_Pose_Vertex = 0xC111, CID_Animation_List = 0xD000,
  CID_Animation = 0xD100, CID_Animation_Track = 0xD110, CID_Animation_Morph_Keyframe = 0xD111, CID_Animation_Pose_Keyframe = 0xD112,
  CID_Animation_Pose_Ref = 0xD113, CID_Table_Extremes = 0xE000
}
 

Functions

 DEFINE_EXCEPTION (InvalidVersion,"Mesh header does not contain the expected version")
 
 DEFINE_EXCEPTION (SharedVertexGeometryForbidden,"A CID_Geometry chunk was found in a submesh with shared vertices")
 
 DEFINE_EXCEPTION (InvalidSubmeshOp,"The render operation of a CID_Submesh_Op chunk was invalid")
 
 DEFINE_EXCEPTION (InvalidVertexType,"The vertex type of a CID_Geometry_Vertex_Decl_Element chunk was invalid")
 
 DEFINE_EXCEPTION (InvalidVertexSemantic,"The vertex semantic of a CID_Geometry_Vertex_Decl_Element chunk was invalid")
 
 DEFINE_EXCEPTION (InvalidVertexDeclaration,"The vertex declaration of a CID_Geometry chunk was invalid")
 
 DEFINE_EXCEPTION (InvalidMaterial,"The material referenced by a mesh or submesh is not defined")
 
 DEFINE_EXCEPTION (VertexNotFound,"A specified vertex was not found")
 
 DEFINE_EXCEPTION (EmptyBoundingBox,"Bounding box is empty")
 
 DEFINE_EXCEPTION (NotImplemented,"The requested operation is not implemented")
 

Class Documentation

struct Ogre::Mesh::BoneAssignment

Definition at line 341 of file StdMeshLoaderBinaryChunks.h.

Class Members
uint32_t bone
uint32_t vertex
float weight

Enumeration Type Documentation

Enumerator
CID_Invalid 
CID_Header 
CID_Mesh 
CID_Submesh 
CID_Submesh_Op 
CID_Submesh_Bone_Assignment 
CID_Submesh_Texture_Alias 
CID_Geometry 
CID_Geometry_Vertex_Decl 
CID_Geometry_Vertex_Decl_Element 
CID_Geometry_Vertex_Buffer 
CID_Geometry_Vertex_Data 
CID_Mesh_Skeleton_Link 
CID_Mesh_Bone_Assignment 
CID_Mesh_LOD 
CID_Mesh_LOD_Usage 
CID_Mesh_LOD_Manual 
CID_Mesh_LOD_Generated 
CID_Mesh_Bounds 
CID_Submesh_Name_Table 
CID_Submesh_Name_Table_Entry 
CID_Edge_List 
CID_Edge_List_LOD 
CID_Edge_Group 
CID_Pose_List 
CID_Pose 
CID_Pose_Vertex 
CID_Animation_List 
CID_Animation 
CID_Animation_Track 
CID_Animation_Morph_Keyframe 
CID_Animation_Pose_Keyframe 
CID_Animation_Pose_Ref 
CID_Table_Extremes 

Definition at line 303 of file StdMeshLoaderBinaryChunks.h.

304  {
305  CID_Invalid = 0,
306  CID_Header = 0x1000,
307  CID_Mesh = 0x3000,
308  CID_Submesh = 0x4000,
309  CID_Submesh_Op = 0x4010,
311  CID_Submesh_Texture_Alias = 0x4200,
312  CID_Geometry = 0x5000,
313  CID_Geometry_Vertex_Decl = 0x5100,
316  CID_Geometry_Vertex_Data = 0x5210,
317  CID_Mesh_Skeleton_Link = 0x6000,
318  CID_Mesh_Bone_Assignment = 0x7000,
319  CID_Mesh_LOD = 0x8000,
320  CID_Mesh_LOD_Usage = 0x8100,
321  CID_Mesh_LOD_Manual = 0x8110,
322  CID_Mesh_LOD_Generated = 0x8120,
323  CID_Mesh_Bounds = 0x9000,
324  CID_Submesh_Name_Table = 0xA000,
326  CID_Edge_List = 0xB000,
327  CID_Edge_List_LOD = 0xB100,
328  CID_Edge_Group = 0xB110,
329  CID_Pose_List = 0xC000,
330  CID_Pose = 0xC100,
331  CID_Pose_Vertex = 0xC111,
332  CID_Animation_List = 0xD000,
333  CID_Animation = 0xD100,
334  CID_Animation_Track = 0xD110,
337  CID_Animation_Pose_Ref = 0xD113,
338  CID_Table_Extremes = 0xE000
339  };

Function Documentation

Ogre::Mesh::DEFINE_EXCEPTION ( InvalidVersion  ,
"Mesh header does not contain the expected version"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( SharedVertexGeometryForbidden  ,
"A CID_Geometry chunk was found in a submesh with shared vertices"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( InvalidSubmeshOp  ,
"The render operation of a CID_Submesh_Op chunk was invalid"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( InvalidVertexType  ,
"The vertex type of a CID_Geometry_Vertex_Decl_Element chunk was invalid"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( InvalidVertexSemantic  ,
"The vertex semantic of a CID_Geometry_Vertex_Decl_Element chunk was invalid"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( InvalidVertexDeclaration  ,
"The vertex declaration of a CID_Geometry chunk was invalid"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( InvalidMaterial  ,
"The material referenced by a mesh or submesh is not defined"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( VertexNotFound  ,
"A specified vertex was not found"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( EmptyBoundingBox  ,
"Bounding box is empty"   
)
Ogre::Mesh::DEFINE_EXCEPTION ( NotImplemented  ,
"The requested operation is not implemented"   
)