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.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
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.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public Form_3Dcuboid ( CameraViews cameraView ) : System | ||
cameraView | CameraViews | /// Value describing the camera view of the cuboid. /// |
return | System |
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 |
public Form_3Dcuboid ( float dimensions ) : System | ||
dimensions | float | /// Dimensions of the cuboid. /// |
return | System |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |