C# Класс KinectStreamConverter.AssimpUtil

This class gather methods allowing to facilitate manipulations with assimp objects
Показать файл Открыть проект

Открытые методы

Метод Описание
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