#include <Model_3DS.h>
Collaboration diagram for Model_3DS:
Public Member Functions | |
void | Load (char *name) |
void | Draw () |
Model_3DS () | |
virtual | ~Model_3DS () |
Public Attributes | |
char * | modelname |
char * | path |
int | numObjects |
int | numMaterials |
int | totalVerts |
int | totalFaces |
bool | shownormals |
Material * | Materials |
Object * | Objects |
Vector | pos |
Vector | rot |
float | scale |
bool | lit |
bool | visible |
FILE * | bin3ds |
Private Member Functions | |
void | IntColorChunkProcessor (long length, long findex, int matindex) |
void | FloatColorChunkProcessor (long length, long findex, int matindex) |
void | MainChunkProcessor (long length, long findex) |
void | EditChunkProcessor (long length, long findex) |
void | MaterialChunkProcessor (long length, long findex, int matindex) |
void | MaterialNameChunkProcessor (long length, long findex, int matindex) |
void | DiffuseColorChunkProcessor (long length, long findex, int matindex) |
void | TextureMapChunkProcessor (long length, long findex, int matindex) |
void | MapNameChunkProcessor (long length, long findex, int matindex) |
void | ObjectChunkProcessor (long length, long findex, int objindex) |
void | TriangularMeshChunkProcessor (long length, long findex, int objindex) |
void | VertexListChunkProcessor (long length, long findex, int objindex) |
void | TexCoordsChunkProcessor (long length, long findex, int objindex) |
void | FacesDescriptionChunkProcessor (long length, long findex, int objindex) |
void | FacesMaterialsListChunkProcessor (long length, long findex, int objindex, int subfacesindex) |
void | CalculateNormals () |
Classes | |
struct | ChunkHeader |
struct | Color4i |
struct | Material |
struct | MaterialFaces |
struct | Object |
struct | Vector |
struct | Vertex |
Model_3DS::Model_3DS | ( | ) |
Model_3DS::~Model_3DS | ( | ) | [virtual] |
void Model_3DS::Load | ( | char * | name | ) |
void Model_3DS::Draw | ( | ) |
void Model_3DS::IntColorChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::FloatColorChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::MainChunkProcessor | ( | long | length, | |
long | findex | |||
) | [private] |
void Model_3DS::EditChunkProcessor | ( | long | length, | |
long | findex | |||
) | [private] |
void Model_3DS::MaterialChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::MaterialNameChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::DiffuseColorChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::TextureMapChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::MapNameChunkProcessor | ( | long | length, | |
long | findex, | |||
int | matindex | |||
) | [private] |
void Model_3DS::ObjectChunkProcessor | ( | long | length, | |
long | findex, | |||
int | objindex | |||
) | [private] |
void Model_3DS::TriangularMeshChunkProcessor | ( | long | length, | |
long | findex, | |||
int | objindex | |||
) | [private] |
void Model_3DS::VertexListChunkProcessor | ( | long | length, | |
long | findex, | |||
int | objindex | |||
) | [private] |
void Model_3DS::TexCoordsChunkProcessor | ( | long | length, | |
long | findex, | |||
int | objindex | |||
) | [private] |
void Model_3DS::FacesDescriptionChunkProcessor | ( | long | length, | |
long | findex, | |||
int | objindex | |||
) | [private] |
void Model_3DS::FacesMaterialsListChunkProcessor | ( | long | length, | |
long | findex, | |||
int | objindex, | |||
int | subfacesindex | |||
) | [private] |
void Model_3DS::CalculateNormals | ( | ) | [private] |
char* Model_3DS::modelname |
char* Model_3DS::path |
float Model_3DS::scale |
bool Model_3DS::lit |
bool Model_3DS::visible |
FILE* Model_3DS::bin3ds |