C# Класс x_IMU_IMU_and_AHRS_Algorithms.Form_3Dcuboid

3D Cuboid form class.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Form_3Dcuboid() публичный Метод

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( ) : System
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

Initializes a new instance of the Form_3Dcuboid class.
public Form_3Dcuboid ( float dimensions ) : System
dimensions float /// Dimensions of the cuboid. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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). ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System

Form_3Dcuboid() публичный Метод

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. ///
Результат System