Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LImporter Class Reference

#include <l3ds.h>

Inheritance diagram for LImporter:
L3DS L3DS

List of all members.

Public Member Functions

 LImporter ()
virtual ~LImporter ()
virtual bool LoadFile (const char *filename)=0
uint GetMeshCount ()
uint GetLightCount ()
uint GetMaterialCount ()
LMeshGetMesh (uint index)
LLightGetLight (uint index)
LMaterialGetMaterial (uint index)
LMaterialFindMaterial (const std::string &name)
LMeshFindMesh (const std::string &name)
LLightFindLight (const std::string &name)
void SetOptimizationLevel (LOptimizationLevel value)
LOptimizationLevel GetOptimizationLevel ()
 LImporter ()
virtual ~LImporter ()
virtual bool LoadFile (const char *filename)=0
DWORD GetMeshCount ()
DWORD GetLightCount ()
DWORD GetMaterialCount ()
LMeshGetMesh (DWORD index)
LLightGetLight (DWORD index)
LMaterialGetMaterial (DWORD index)
LMaterialFindMaterial (const Text &name)
LMeshFindMesh (const Text &name)
LLightFindLight (const Text &name)
void SetOptimizationLevel (LOptimizationLevel value)
LOptimizationLevel GetOptimizationLevel ()

Protected Member Functions

virtual void Clear ()
virtual void Clear ()

Protected Attributes

std::vector< LLightm_lights
std::vector< LMeshm_meshes
std::vector< LMaterialm_materials
LOptimizationLevel m_optLevel
List< LLightlights
List< LMeshmeshes
List< LMaterialmaterials
LOptimizationLevel optLevel

Detailed Description

Definition at line 338 of file l3ds.h.


Constructor & Destructor Documentation

LImporter::LImporter ( )

Definition at line 939 of file l3ds.cpp.

LImporter::~LImporter ( )
virtual

Definition at line 944 of file l3ds.cpp.

LImporter::LImporter ( )
virtual LImporter::~LImporter ( )
virtual

Member Function Documentation

virtual void LImporter::Clear ( )
protectedvirtual
void LImporter::Clear ( )
protectedvirtual

Definition at line 1003 of file l3ds.cpp.

LLight* LImporter::FindLight ( const Text name)
LLight * LImporter::FindLight ( const std::string &  name)

Definition at line 995 of file l3ds.cpp.

LMaterial* LImporter::FindMaterial ( const Text name)
LMaterial * LImporter::FindMaterial ( const std::string &  name)

Definition at line 979 of file l3ds.cpp.

LMesh* LImporter::FindMesh ( const Text name)
LMesh * LImporter::FindMesh ( const std::string &  name)

Definition at line 987 of file l3ds.cpp.

LLight& LImporter::GetLight ( DWORD  index)
LLight & LImporter::GetLight ( uint  index)

Definition at line 969 of file l3ds.cpp.

DWORD LImporter::GetLightCount ( )
uint LImporter::GetLightCount ( )

Definition at line 954 of file l3ds.cpp.

LMaterial& LImporter::GetMaterial ( DWORD  index)
LMaterial & LImporter::GetMaterial ( uint  index)

Definition at line 974 of file l3ds.cpp.

DWORD LImporter::GetMaterialCount ( )
uint LImporter::GetMaterialCount ( )

Definition at line 959 of file l3ds.cpp.

LMesh& LImporter::GetMesh ( DWORD  index)
LMesh & LImporter::GetMesh ( uint  index)

Definition at line 964 of file l3ds.cpp.

DWORD LImporter::GetMeshCount ( )
uint LImporter::GetMeshCount ( )

Definition at line 949 of file l3ds.cpp.

LOptimizationLevel LImporter::GetOptimizationLevel ( )
LOptimizationLevel LImporter::GetOptimizationLevel ( )

Definition at line 1016 of file l3ds.cpp.

virtual bool LImporter::LoadFile ( const char *  filename)
pure virtual

Implemented in L3DS, and L3DS.

virtual bool LImporter::LoadFile ( const char *  filename)
pure virtual

Implemented in L3DS, and L3DS.

void LImporter::SetOptimizationLevel ( LOptimizationLevel  value)
void LImporter::SetOptimizationLevel ( LOptimizationLevel  value)

Definition at line 1011 of file l3ds.cpp.


Member Data Documentation

List<LLight> LImporter::lights
protected

Definition at line 244 of file M3DS.h.

std::vector<LLight> LImporter::m_lights
protected

Definition at line 372 of file l3ds.h.

std::vector<LMaterial> LImporter::m_materials
protected

Definition at line 376 of file l3ds.h.

std::vector<LMesh> LImporter::m_meshes
protected

Definition at line 374 of file l3ds.h.

LOptimizationLevel LImporter::m_optLevel
protected

Definition at line 378 of file l3ds.h.

List<LMaterial> LImporter::materials
protected

Definition at line 248 of file M3DS.h.

List<LMesh> LImporter::meshes
protected

Definition at line 246 of file M3DS.h.

LOptimizationLevel LImporter::optLevel
protected

Definition at line 250 of file M3DS.h.


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