SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLImporter.h File Reference
#include <fstream>
#include <map>
#include <SL.h>
#include <SLAnimation.h>
#include <SLEnums.h>
#include <SLMesh.h>
Include dependency graph for SLImporter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SLImporter
 Interface for 3D file format importer implementations. More...
 

Typedefs

typedef std::map< int, SLMesh * > SLMeshMap
 

Enumerations

enum  SLPostProcessSteps {
  SLProcess_CalcTangentSpace = 0x1 , SLProcess_JoinIdenticalVertices = 0x2 , SLProcess_MakeLeftHanded = 0x4 , SLProcess_Triangulate = 0x8 , SLProcess_RemoveComponent = 0x10 , SLProcess_GenNormals = 0x20 ,
  SLProcess_GenSmoothNormals = 0x40 , SLProcess_SplitLargeMeshes = 0x80 , SLProcess_PreTransformVertices = 0x100 , SLProcess_LimitJointWeights = 0x200 , SLProcess_ValidateDataStructure = 0x400 , SLProcess_ImproveCacheLocality = 0x800 ,
  SLProcess_RemoveRedundantMaterials = 0x1000 , SLProcess_FixInfacingNormals = 0x2000 , SLProcess_SortByPType = 0x8000 , SLProcess_FindDegenerates = 0x10000 , SLProcess_FindInvalidData = 0x20000 , SLProcess_GenUVCoords = 0x40000 ,
  SLProcess_TransformUVCoords = 0x80000 , SLProcess_FindInstances = 0x100000 , SLProcess_OptimizeMeshes = 0x200000 , SLProcess_OptimizeGraph = 0x400000 , SLProcess_FlipUVs = 0x800000 , SLProcess_FlipWindingOrder = 0x1000000 ,
  SLProcess_SplitByJointCount = 0x2000000 , SLProcess_Dejoint = 0x4000000
}
 Copy of the aiPostProcessStep enum for usage in the wrapper load function. More...
 

Detailed Description

Authors
Marcus Hudritsch
Date
July 2014
Authors
Marcus Hudritsch
Remarks
Please use clangformat to format the code. See more code style on https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style

Definition in file SLImporter.h.

Typedef Documentation

◆ SLMeshMap

typedef std::map<int, SLMesh*> SLMeshMap

Definition at line 62 of file SLImporter.h.

Enumeration Type Documentation

◆ SLPostProcessSteps

Copy of the aiPostProcessStep enum for usage in the wrapper load function.

Enumerator
SLProcess_CalcTangentSpace 
SLProcess_JoinIdenticalVertices 
SLProcess_MakeLeftHanded 
SLProcess_Triangulate 
SLProcess_RemoveComponent 
SLProcess_GenNormals 
SLProcess_GenSmoothNormals 
SLProcess_SplitLargeMeshes 
SLProcess_PreTransformVertices 
SLProcess_LimitJointWeights 
SLProcess_ValidateDataStructure 
SLProcess_ImproveCacheLocality 
SLProcess_RemoveRedundantMaterials 
SLProcess_FixInfacingNormals 
SLProcess_SortByPType 
SLProcess_FindDegenerates 
SLProcess_FindInvalidData 
SLProcess_GenUVCoords 
SLProcess_TransformUVCoords 
SLProcess_FindInstances 
SLProcess_OptimizeMeshes 
SLProcess_OptimizeGraph 
SLProcess_FlipUVs 
SLProcess_FlipWindingOrder 
SLProcess_SplitByJointCount 
SLProcess_Dejoint 

Definition at line 31 of file SLImporter.h.

32 {
38  SLProcess_GenNormals = 0x20,
47  SLProcess_SortByPType = 0x8000,
48  SLProcess_FindDegenerates = 0x10000,
49  SLProcess_FindInvalidData = 0x20000,
50  SLProcess_GenUVCoords = 0x40000,
52  SLProcess_FindInstances = 0x100000,
53  SLProcess_OptimizeMeshes = 0x200000,
54  SLProcess_OptimizeGraph = 0x400000,
55  SLProcess_FlipUVs = 0x800000,
56  SLProcess_FlipWindingOrder = 0x1000000,
57  SLProcess_SplitByJointCount = 0x2000000,
58  SLProcess_Dejoint = 0x4000000
59 };
@ SLProcess_SplitByJointCount
Definition: SLImporter.h:57
@ SLProcess_OptimizeMeshes
Definition: SLImporter.h:53
@ SLProcess_SplitLargeMeshes
Definition: SLImporter.h:40
@ SLProcess_FindInstances
Definition: SLImporter.h:52
@ SLProcess_SortByPType
Definition: SLImporter.h:47
@ SLProcess_Triangulate
Definition: SLImporter.h:36
@ SLProcess_FlipUVs
Definition: SLImporter.h:55
@ SLProcess_ImproveCacheLocality
Definition: SLImporter.h:44
@ SLProcess_Dejoint
Definition: SLImporter.h:58
@ SLProcess_GenUVCoords
Definition: SLImporter.h:50
@ SLProcess_PreTransformVertices
Definition: SLImporter.h:41
@ SLProcess_FindDegenerates
Definition: SLImporter.h:48
@ SLProcess_FlipWindingOrder
Definition: SLImporter.h:56
@ SLProcess_FixInfacingNormals
Definition: SLImporter.h:46
@ SLProcess_FindInvalidData
Definition: SLImporter.h:49
@ SLProcess_GenNormals
Definition: SLImporter.h:38
@ SLProcess_GenSmoothNormals
Definition: SLImporter.h:39
@ SLProcess_ValidateDataStructure
Definition: SLImporter.h:43
@ SLProcess_LimitJointWeights
Definition: SLImporter.h:42
@ SLProcess_RemoveRedundantMaterials
Definition: SLImporter.h:45
@ SLProcess_TransformUVCoords
Definition: SLImporter.h:51
@ SLProcess_OptimizeGraph
Definition: SLImporter.h:54
@ SLProcess_JoinIdenticalVertices
Definition: SLImporter.h:34
@ SLProcess_MakeLeftHanded
Definition: SLImporter.h:35
@ SLProcess_RemoveComponent
Definition: SLImporter.h:37
@ SLProcess_CalcTangentSpace
Definition: SLImporter.h:33