C# 클래스 Mckineap.Models.Context.Projects.Project

Project class.
Contains a Project instance, represented by a path, a name and several applied methods
상속: FileObject
파일 보기 프로젝트 열기: loic-lavergne/mckineap 1 사용 예제들

공개 메소드들

메소드 설명
DeleteModel3D ( Mckineap model ) : void

Delete a Model3D

GetCategoryPath ( string category ) : String

Returns the path of a Project's sub-category specified by the category parameter.
If the category isn't found, then an empty string is returned

GetConfigurationFile ( ) : String

Returns a string containing the full path of the configuration file

GetModel3DByName ( string name ) : Mckineap.Models.Engine3D.Model3D

Get a Model3D from his Name

GetSafeConfigurationFile ( ) : String

Returns a string that only contains the configuration file name

HasModels ( ) : System.Boolean

Returns true if the Project's Models are not null, otherwise returns false

HasPreferences ( ) : System.Boolean

Returns true if the Project's Preferences are not null, otherwise returns false

LoadCapturedModel3D ( string name, KineapScene kineapScene ) : void

Load a captured Model3D From Kinect or LeapMotion

LoadModel3D ( string path, Assimp.Scene scene ) : void

Loads a Model3D whether it is a Model or an Animation.

Project ( string fullPath ) : Assimp

Project constructor Constructs a new Project object with a path and a name

ProjectNameWasChanged ( string otherName ) : void
PropertyWasChanged ( string property ) : void
SelectModel3D ( Mckineap model ) : void

Select a Model from the list

비공개 메소드들

메소드 설명
CheckModelsWorkspace ( ) : System.Boolean

Check if the Model3D is in the Workspace

Copy ( string path ) : void

Copies a Model in User filepath

Copy ( string source, string destination ) : void

Copies a Model in User filepath

Load ( Mckineap model3D ) : void

Loads a Model3D in the associated model3DList ands sets the currentModel3D.

LoadModels3D ( ) : System.Boolean

Load the Model3D saved in the Project

ModelExists ( string path ) : System.Boolean

Checks whether the model is from the Project's Models workspace.

메소드 상세

DeleteModel3D() 공개 메소드

Delete a Model3D
public DeleteModel3D ( Mckineap model ) : void
model Mckineap the Model3D to delete
리턴 void

GetCategoryPath() 공개 메소드

Returns the path of a Project's sub-category specified by the category parameter.
If the category isn't found, then an empty string is returned
public GetCategoryPath ( string category ) : String
category string The Project's sub-category (eg. "Preferences", "Models", etc.)
리턴 String

GetConfigurationFile() 공개 메소드

Returns a string containing the full path of the configuration file
public GetConfigurationFile ( ) : String
리턴 String

GetModel3DByName() 공개 메소드

Get a Model3D from his Name
public GetModel3DByName ( string name ) : Mckineap.Models.Engine3D.Model3D
name string The Name of the Model3D.
리턴 Mckineap.Models.Engine3D.Model3D

GetSafeConfigurationFile() 공개 메소드

Returns a string that only contains the configuration file name
public GetSafeConfigurationFile ( ) : String
리턴 String

HasModels() 공개 메소드

Returns true if the Project's Models are not null, otherwise returns false
public HasModels ( ) : System.Boolean
리턴 System.Boolean

HasPreferences() 공개 메소드

Returns true if the Project's Preferences are not null, otherwise returns false
public HasPreferences ( ) : System.Boolean
리턴 System.Boolean

LoadCapturedModel3D() 공개 메소드

Load a captured Model3D From Kinect or LeapMotion
public LoadCapturedModel3D ( string name, KineapScene kineapScene ) : void
name string The name of the Model3D file
kineapScene KinectStreamConverter.KineapScene
리턴 void

LoadModel3D() 공개 메소드

Loads a Model3D whether it is a Model or an Animation.
public LoadModel3D ( string path, Assimp.Scene scene ) : void
path string The path of the Model3D file.
scene Assimp.Scene The Assimp Scene of the imported Model3D.
리턴 void

Project() 공개 메소드

Project constructor Constructs a new Project object with a path and a name
public Project ( string fullPath ) : Assimp
fullPath string
리턴 Assimp

ProjectNameWasChanged() 공개 메소드

public ProjectNameWasChanged ( string otherName ) : void
otherName string
리턴 void

PropertyWasChanged() 공개 메소드

public PropertyWasChanged ( string property ) : void
property string
리턴 void

SelectModel3D() 공개 메소드

Select a Model from the list
public SelectModel3D ( Mckineap model ) : void
model Mckineap The Model3D to select
리턴 void