C# 클래스 KinectStreamConverter.AssimpUtil

This class gather methods allowing to facilitate manipulations with assimp objects
파일 보기 프로젝트 열기: loic-lavergne/mckineap

공개 메소드들

메소드 설명
CopyAnimationInto ( Assimp.Animation animSource, Assimp.Animation animTarget ) : Assimp.Animation
DuplicateAnimation ( Assimp.Animation anim ) : Assimp.Animation

Because there is no copy constructor inside Assimp.Net we decided to implemented or own copy method for animation. NB: This is a partial copy because we only copy what we are interested by

DuplicateNodeTree ( Assimp.Node rootNode ) : Assimp.Node
FindNodeAnim ( Assimp.Animation anim, string nodeName ) : Assimp.NodeAnimationChannel

Allow to find a NodeAnimationChannel inside a NodeAnimationChannels

GetRootNode ( Assimp.Node myNode ) : Assimp.Node
localPosition ( Vector3D posStart, Vector3D &posEnd ) : void
localRotation ( Quaternion rotStart, Quaternion &rotEnd ) : void

비공개 메소드들

메소드 설명
CopyNodeTree ( Assimp.Node oriParentNode, Assimp.Node copyRootNode ) : void

메소드 상세

CopyAnimationInto() 공개 정적인 메소드

public static CopyAnimationInto ( Assimp.Animation animSource, Assimp.Animation animTarget ) : Assimp.Animation
animSource Assimp.Animation
animTarget Assimp.Animation
리턴 Assimp.Animation

DuplicateAnimation() 공개 정적인 메소드

Because there is no copy constructor inside Assimp.Net we decided to implemented or own copy method for animation. NB: This is a partial copy because we only copy what we are interested by
public static DuplicateAnimation ( Assimp.Animation anim ) : Assimp.Animation
anim Assimp.Animation
리턴 Assimp.Animation

DuplicateNodeTree() 공개 정적인 메소드

public static DuplicateNodeTree ( Assimp.Node rootNode ) : Assimp.Node
rootNode Assimp.Node
리턴 Assimp.Node

FindNodeAnim() 공개 정적인 메소드

Allow to find a NodeAnimationChannel inside a NodeAnimationChannels
public static FindNodeAnim ( Assimp.Animation anim, string nodeName ) : Assimp.NodeAnimationChannel
anim Assimp.Animation The animation in which we are looking for our NodeAnimationChannel
nodeName string The node anim name that we are looking for
리턴 Assimp.NodeAnimationChannel

GetRootNode() 공개 정적인 메소드

public static GetRootNode ( Assimp.Node myNode ) : Assimp.Node
myNode Assimp.Node
리턴 Assimp.Node

localPosition() 공개 정적인 메소드

public static localPosition ( Vector3D posStart, Vector3D &posEnd ) : void
posStart Vector3D
posEnd Vector3D
리턴 void

localRotation() 공개 정적인 메소드

public static localRotation ( Quaternion rotStart, Quaternion &rotEnd ) : void
rotStart Quaternion
rotEnd Quaternion
리턴 void