C# Class AssimpConverter

AssimpConverter is a base class for the creation of a Converter which you can retrieve inside an implemented DeviceManager
Mostra file Open project: loic-lavergne/mckineap

Protected Properties

Property Type Description
currentFrame int
sceneList List

Public Methods

Method Description
CleanBuffer ( ) : void

Mainly Clean the scenes which are not used anymore inside the sceneList

Protected Methods

Method Description
GetAssimpAnimation ( int idAnimation ) : Animation

Try to retrieve the first reference of an unique Assimp Animation inside sceneList from an ID

GetOrCreateScene ( int idAnimation, ModelType, modelType ) : KineapScene

Get a scene or create it (And add it in the scene list)

OnFrame ( NewFrameArgs, e ) : void

Should call this function each time a new Frame had been treated inside a AssimpConverted implementation class

Method Details

CleanBuffer() public method

Mainly Clean the scenes which are not used anymore inside the sceneList
public CleanBuffer ( ) : void
return void

GetAssimpAnimation() protected method

Try to retrieve the first reference of an unique Assimp Animation inside sceneList from an ID
protected GetAssimpAnimation ( int idAnimation ) : Animation
idAnimation int The id scene that we are looking for
return Animation

GetOrCreateScene() protected method

Get a scene or create it (And add it in the scene list)
protected GetOrCreateScene ( int idAnimation, ModelType, modelType ) : KineapScene
idAnimation int
modelType ModelType,
return KinectStreamConverter.KineapScene

OnFrame() protected method

Should call this function each time a new Frame had been treated inside a AssimpConverted implementation class
protected OnFrame ( NewFrameArgs, e ) : void
e NewFrameArgs,
return void

Property Details

currentFrame protected_oe property

protected int currentFrame
return int

sceneList protected_oe property

protected List sceneList
return List