C# Class x_IMU_IMU_and_AHRS_Algorithms.Form_3Dcuboid

3D Cuboid form class.
Inheritance: System.Windows.Forms.Form
Mostra file Open project: FedericoLolli/Fox_ahrs_gui_1xx Class Usage Examples

Public Methods

Method Description
Form_3Dcuboid ( ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( CameraViews cameraView ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( CameraViews cameraView, float cameraDistance ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( float dimensions ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( float dimensions, CameraViews cameraView ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( float dimensions, CameraViews cameraView, float cameraDistance ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( float dimensions, float cameraDistance ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( string imageFilePaths ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( string imageFilePaths, CameraViews cameraView ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( string imageFilePaths, CameraViews cameraView, float cameraDistance ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( string imageFilePaths, float dimensions ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( string imageFilePaths, float dimensions, CameraViews cameraView ) : System

Initializes a new instance of the Form_3Dcuboid class.

Form_3Dcuboid ( string imageFilePaths, float dimensions, CameraViews cameraView, float cameraDistance ) : System

Initializes a new instance of the Form_3Dcuboid class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Form_3Dcuboid_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form closing event to minimise form instead of close.

Form_3Dcuboid_VisibleChanged ( object sender, EventArgs e ) : void

Form visible changed event to start/stop form update formUpdateTimer.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadTextureFromImage ( string filesNames ) : uint[]

Loads textures from files.

formUpdateTimer_Tick ( object sender, EventArgs e ) : void

Timer tick event to refresh graphics.

simpleOpenGlControl_Load ( object sender, EventArgs e ) : void

Form load event to initialises OpenGL graphics.

simpleOpenGlControl_Paint ( object sender, PaintEventArgs e ) : void

Redraw cuboid polygons.

simpleOpenGlControl_SizeChanged ( object sender, EventArgs e ) : void

Window resize event to adjusts perspective.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( ) : System
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( CameraViews cameraView ) : System
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( CameraViews cameraView, float cameraDistance ) : System
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
cameraDistance float /// Distance of the camera from the world origin. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( float dimensions ) : System
dimensions float /// Dimensions of the cuboid. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( float dimensions, CameraViews cameraView ) : System
dimensions float /// Dimensions of the cuboid. ///
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( float dimensions, CameraViews cameraView, float cameraDistance ) : System
dimensions float /// Dimensions of the cuboid. ///
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
cameraDistance float /// Distance of the camera from the world origin. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( float dimensions, float cameraDistance ) : System
dimensions float /// Dimensions of the cuboid. ///
cameraDistance float /// Distance of the camera from the world origin. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( string imageFilePaths ) : System
imageFilePaths string /// File paths of images used for 6 faces of cuboid. Index order is: Right (+X), Left (-X), Back (+Y), Front (-Y), Top (+Z), and Bottom (-Z). ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( string imageFilePaths, CameraViews cameraView ) : System
imageFilePaths string /// File paths of images used for 6 faces of cuboid. Index order is: Right (+X), Left (-X), Back (+Y), Front (-Y), Top (+Z), and Bottom (-Z). ///
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( string imageFilePaths, CameraViews cameraView, float cameraDistance ) : System
imageFilePaths string /// File paths of images used for 6 faces of cuboid. Index order is: Right (+X), Left (-X), Back (+Y), Front (-Y), Top (+Z), and Bottom (-Z). ///
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
cameraDistance float /// Distance of the camera from the world origin. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( string imageFilePaths, float dimensions ) : System
imageFilePaths string /// File paths of images used for 6 faces of cuboid. Index order is: Right (+X), Left (-X), Back (+Y), Front (-Y), Top (+Z), and Bottom (-Z). ///
dimensions float /// Dimensions of the cuboid. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( string imageFilePaths, float dimensions, CameraViews cameraView ) : System
imageFilePaths string /// File paths of images used for 6 faces of cuboid. Index order is: Right (+X), Left (-X), Back (+Y), Front (-Y), Top (+Z), and Bottom (-Z). ///
dimensions float /// Dimensions of the cuboid. ///
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
return System

Form_3Dcuboid() public method

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( string imageFilePaths, float dimensions, CameraViews cameraView, float cameraDistance ) : System
imageFilePaths string /// File paths of images used for 6 faces of cuboid. Index order is: Right (+X), Left (-X), Back (+Y), Front (-Y), Top (+Z), and Bottom (-Z). ///
dimensions float /// Dimensions of the cuboid. ///
cameraView CameraViews /// Value describing the camera view of the cuboid. ///
cameraDistance float /// Distance of the camera from the world origin. ///
return System