C# 클래스 Mckineap.Utilities.Converters.MergeAcceptance

Runs an acceptance algorithm for the 3D Model and Animation merge.
파일 보기 프로젝트 열기: loic-lavergne/mckineap

공개 메소드들

메소드 설명
Run ( Model3D sourceModel3D, Model3D destinationModel3D ) : bool

비공개 메소드들

메소드 설명
AreNodesIdentical ( Assimp.Node node, Assimp.Node otherNode ) : bool

Checks whether the two nodes are identical.

CheckRequirements ( Assimp.Scene sourceScene, Assimp.Scene destinationScene, int &sourceNodeCount, int &destinationNodeCount ) : bool

Checks whether the requirements for the merge acceptance algorithm are met with the two scenes.
TODO: Explain what are the requirements.

CompareNodes ( Assimp.Node node, Assimp.Node otherNode, double depthWeightThreshold, double &deltaDepth, double &deltaPercentage ) : void
CountNodeNumber ( Assimp.Node node, int &nodeNumber ) : void

Counts recursively the number of nodes in a node architecture.
Each node contains a pointer to the next nodes in a node architecture.

GetNodeArchitecture ( Model3D sourceModel3D, Model3D destinationModel3D ) : bool
MaxNode ( int nodeCount, int otherNodeCount ) : int

Returns the highest node count between the two node counts.

MinNode ( int nodeCount, int otherNodeCount ) : int

Returns the lowest node count between the two node counts.

메소드 상세

Run() 공개 정적인 메소드

public static Run ( Model3D sourceModel3D, Model3D destinationModel3D ) : bool
sourceModel3D Mckineap.Models.Engine3D.Model3D
destinationModel3D Mckineap.Models.Engine3D.Model3D
리턴 bool