C# 클래스 Mckineap.Models.Engine3D.Model3D

상속: Mckineap.Models.Context.FileObject
파일 보기 프로젝트 열기: loic-lavergne/mckineap 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
animation Mckineap.Models.Engine3D.Animation
bones Collection
content System.Windows.Media.Media3D.Model3DGroup
hasAnimation bool
isInitialized bool
isMerged bool
joints Collection
scene Assimp.Scene

Private Properties

프로퍼티 타입 설명
CurrentModel3D_PropertyChanged void
Initialize void
Initialize void

공개 메소드들

메소드 설명
ConstructAsCapturedModel ( string name, KineapScene kineapScene ) : Model3D

Constructs a Model3D captured with Kinect or LeapMotion.
Creates a Model3D file in the models Workspace.

Deserialize ( ) : Model3D

Deserialize a Model

DrawLiveCapture ( int frame ) : void

Draw the model for live capture

DrawModel ( ) : bool

Draw the model for the UI

DrawSkeleton ( ) : bool

Draw the skeleton for UI

GetScene ( ) : Assimp.Scene
Model3D ( ) : Assimp
Model3D ( string fullpath ) : Assimp

Constructs a new Model3D object with a path and a name.
The Model is not initialized as long as the scene and the content are not set.

Model3D ( string fullpath, KineapScene kineapScene ) : Assimp
Model3D ( string fullpath, Assimp.Scene scene ) : Assimp

Constructs a new Model object with a path, a name and an Assimp scene.
The Model is not initialized as long as the scene and the content are not set.

PauseAnimation ( ) : void

Pause the animation

PlayAnimation ( ) : void

Play the animation

ReplaceInContent ( Joint joint ) : void

Replace a model in the Content

Serialize ( ) : void

Serialize a Model3D

StopAnimation ( ) : void

Stop the animation

UpdateAnim ( ) : bool

Update the skeleton in UI

비공개 메소드들

메소드 설명
CurrentModel3D_PropertyChanged ( object sender, System e ) : void
Initialize ( ) : void

Initialize Variables

Initialize ( string fullPath ) : void

Initialize Variables

메소드 상세

ConstructAsCapturedModel() 공개 정적인 메소드

Constructs a Model3D captured with Kinect or LeapMotion.
Creates a Model3D file in the models Workspace.
public static ConstructAsCapturedModel ( string name, KineapScene kineapScene ) : Model3D
name string The name of the captured Model3D.
kineapScene KinectStreamConverter.KineapScene
리턴 Model3D

Deserialize() 공개 메소드

Deserialize a Model
public Deserialize ( ) : Model3D
리턴 Model3D

DrawLiveCapture() 공개 메소드

Draw the model for live capture
public DrawLiveCapture ( int frame ) : void
frame int Current captured frame
리턴 void

DrawModel() 공개 메소드

Draw the model for the UI
public DrawModel ( ) : bool
리턴 bool

DrawSkeleton() 공개 메소드

Draw the skeleton for UI
public DrawSkeleton ( ) : bool
리턴 bool

GetScene() 공개 메소드

public GetScene ( ) : Assimp.Scene
리턴 Assimp.Scene

Model3D() 공개 메소드

public Model3D ( ) : Assimp
리턴 Assimp

Model3D() 공개 메소드

Constructs a new Model3D object with a path and a name.
The Model is not initialized as long as the scene and the content are not set.
public Model3D ( string fullpath ) : Assimp
fullpath string The path to the model folder.
리턴 Assimp

Model3D() 공개 메소드

public Model3D ( string fullpath, KineapScene kineapScene ) : Assimp
fullpath string
kineapScene KinectStreamConverter.KineapScene
리턴 Assimp

Model3D() 공개 메소드

Constructs a new Model object with a path, a name and an Assimp scene.
The Model is not initialized as long as the scene and the content are not set.
public Model3D ( string fullpath, Assimp.Scene scene ) : Assimp
fullpath string The path to the model folder.
scene Assimp.Scene The Assimp scene describing the Model.
리턴 Assimp

PauseAnimation() 공개 메소드

Pause the animation
public PauseAnimation ( ) : void
리턴 void

PlayAnimation() 공개 메소드

Play the animation
public PlayAnimation ( ) : void
리턴 void

ReplaceInContent() 공개 메소드

Replace a model in the Content
public ReplaceInContent ( Joint joint ) : void
joint Joint
리턴 void

Serialize() 공개 메소드

Serialize a Model3D
public Serialize ( ) : void
리턴 void

StopAnimation() 공개 메소드

Stop the animation
public StopAnimation ( ) : void
리턴 void

UpdateAnim() 공개 메소드

Update the skeleton in UI
public UpdateAnim ( ) : bool
리턴 bool

프로퍼티 상세

animation 보호되어 있는 프로퍼티

protected Mckineap.Models.Engine3D.Animation animation
리턴 Mckineap.Models.Engine3D.Animation

bones 보호되어 있는 프로퍼티

protected Collection bones
리턴 Collection

content 보호되어 있는 프로퍼티

protected Model3DGroup,System.Windows.Media.Media3D content
리턴 System.Windows.Media.Media3D.Model3DGroup

hasAnimation 보호되어 있는 프로퍼티

protected bool hasAnimation
리턴 bool

isInitialized 보호되어 있는 프로퍼티

protected bool isInitialized
리턴 bool

isMerged 보호되어 있는 프로퍼티

protected bool isMerged
리턴 bool

joints 보호되어 있는 프로퍼티

protected Collection joints
리턴 Collection

scene 보호되어 있는 프로퍼티

protected Scene,Assimp scene
리턴 Assimp.Scene