_LwoLayer Struct Reference

List of all members.

Detailed Description

Definition at line 224 of file lwo2reader.h.

Public Attributes

_LwoObjectm_LWOFile
 file which manage this struct, private use.
int m_LayerNumber
 index layer in LW's interface.
sLwoVertexm_LWO_Vertex
 vertex table, used by m_LWO_Polygon and LWO_triangle lists.
unsigned int m_NumberOfVertex
 number of vertex in table m_LWO_Vertex. polygons will index from 0 to m_NumberOfVertex-1.
sLwoPolygonm_LWO_Polygon
 the n-gon polygon tables, unsplitted and maybe not convex.
unsigned int m_MaxNbPolygon
 Number of polygons in m_LWO_Polygon.
unsigned int m_ColorFlag
 this layer has a color-per-vertex map. (TODO)
int m_MaxNbTriangle
 total number of triangle in m_LWO_Triangle, may be greater than m_MaxNbPolygon.
LwoTrianglem_LWO_Triangle
 triangle version of m_LWO_Polygon. active if ReadLwoFlag_SortTriangleBySurfaces.
unsigned int m_NumberOfSurfaceUsed
 number of surfaces (different rendering types) used in m_LWO_Triangle, and length of m_pSurfaceSortedTriangleListIndex.
sLwoSortedTriangleSurfacem_pSurfaceSortedTriangleListIndex
 point which surface use which part of the triangle list. Watch out, it is not the surface order surface are pointed by m_LwoFileSurfaceIndex.
int m_NumberOfDiscontinousVertexToAdd
 private use, algorythm to create discontinuous vertexes.(ReadLwoFlag_DiscontinuousUVToNewVertex)
LwoMatrix m_InitialObjectPos
 object pivot matrix, not a pointer.
int flags
 the * 16b flags, direct from lwo
int parent
 facultative parent layer (lwo)
float m_boundMin [3]
 cube coordinates where the object is bound:
float m_boundMax [3]
 cube coordinates where the object is bound:
char * name
 layer name
unsigned int m_NumberofMorph
 Number of element in m_MorphTable.
MorphSetm_MorphTable
 Morph table.
LwoMorphVertexbaseMorph
 facultative.exist if at least 1 morphset "morf"
RememberVMAPChunk * m_pFirstVMAP
 hash to resolve mapping layer
RememberVMAPChunk * m_pFirstVMAD
 hash to resolve mapping layer


Member Data Documentation

struct LwoMorphVertex* baseMorph
 

facultative.exist if at least 1 morphset "morf"

Definition at line 267 of file lwo2reader.h.

int flags
 

the * 16b flags, direct from lwo

Definition at line 253 of file lwo2reader.h.

float m_boundMax[3]
 

cube coordinates where the object is bound:

Definition at line 259 of file lwo2reader.h.

float m_boundMin[3]
 

cube coordinates where the object is bound:

Definition at line 257 of file lwo2reader.h.

unsigned int m_ColorFlag
 

this layer has a color-per-vertex map. (TODO)

Definition at line 238 of file lwo2reader.h.

struct LwoMatrix m_InitialObjectPos
 

object pivot matrix, not a pointer.

Definition at line 251 of file lwo2reader.h.

int m_LayerNumber
 

index layer in LW's interface.

Definition at line 228 of file lwo2reader.h.

sLwoPolygon* m_LWO_Polygon
 

the n-gon polygon tables, unsplitted and maybe not convex.

Definition at line 234 of file lwo2reader.h.

struct LwoTriangle* m_LWO_Triangle
 

triangle version of m_LWO_Polygon. active if ReadLwoFlag_SortTriangleBySurfaces.

Definition at line 243 of file lwo2reader.h.

sLwoVertex* m_LWO_Vertex
 

vertex table, used by m_LWO_Polygon and LWO_triangle lists.

Definition at line 230 of file lwo2reader.h.

struct _LwoObject* m_LWOFile
 

file which manage this struct, private use.

Definition at line 226 of file lwo2reader.h.

unsigned int m_MaxNbPolygon
 

Number of polygons in m_LWO_Polygon.

Definition at line 236 of file lwo2reader.h.

int m_MaxNbTriangle
 

total number of triangle in m_LWO_Triangle, may be greater than m_MaxNbPolygon.

Definition at line 241 of file lwo2reader.h.

struct MorphSet* m_MorphTable
 

Morph table.

Definition at line 265 of file lwo2reader.h.

int m_NumberOfDiscontinousVertexToAdd
 

private use, algorythm to create discontinuous vertexes.(ReadLwoFlag_DiscontinuousUVToNewVertex)

Definition at line 249 of file lwo2reader.h.

unsigned int m_NumberofMorph
 

Number of element in m_MorphTable.

Definition at line 263 of file lwo2reader.h.

unsigned int m_NumberOfSurfaceUsed
 

number of surfaces (different rendering types) used in m_LWO_Triangle, and length of m_pSurfaceSortedTriangleListIndex.

Definition at line 245 of file lwo2reader.h.

unsigned int m_NumberOfVertex
 

number of vertex in table m_LWO_Vertex. polygons will index from 0 to m_NumberOfVertex-1.

Definition at line 232 of file lwo2reader.h.

struct RememberVMAPChunk* m_pFirstVMAD
 

hash to resolve mapping layer

Definition at line 271 of file lwo2reader.h.

struct RememberVMAPChunk* m_pFirstVMAP
 

hash to resolve mapping layer

Definition at line 269 of file lwo2reader.h.

sLwoSortedTriangleSurface* m_pSurfaceSortedTriangleListIndex
 

point which surface use which part of the triangle list. Watch out, it is not the surface order surface are pointed by m_LwoFileSurfaceIndex.

Definition at line 247 of file lwo2reader.h.

char* name
 

layer name

Definition at line 261 of file lwo2reader.h.

int parent
 

facultative parent layer (lwo)

Definition at line 255 of file lwo2reader.h.


The documentation for this struct was generated from the following file:
      /\/\        4         N         k         !         N         D
                      _______  _ __ ___  _____            ___ _ _  ____
     ___________  __//___   /________  |/    / ___________\_______/    \
    /   _   _   \/   _     /    _   /      _/_/____/    _       __     /
   /    /   /       /     /    /    \      \/     /    /    \   \     /
  \\___/___/___/    ¯    _____/_____/       ______\___/_____/\________\\
               \________/_ ___ __ l____\      /elD!  
                 http://www.m4nkind.com \____/