C# Class VoxelTerrain.ProgramForm

Contains main application skeleton.
Inheritance: FrameworkForm
Show file Open project: barograf/VoxelTerrain Class Usage Examples

Public Methods

Method Description
CheckInput ( double deltaTime ) : void

Checks keyboard and mouse input.

Initialize ( ) : void

Initializes application.

ProgramForm ( ) : System

Default constructor.

ProgramForm ( string caption ) : System

Default constructor.

RenderFrame ( double deltaTime ) : void

Renders frame on the screen.

UpdateFrame ( double deltaTime ) : void

Updates frame logic.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

ProgramForm_Load ( object sender, EventArgs e ) : void
buttonGenerateSky_Click ( object sender, EventArgs e ) : void
buttonTerrainGenerate_Click ( object sender, EventArgs e ) : void
checkBoxWireframe_CheckedChanged ( object sender, EventArgs e ) : void
comboBoxComputingEngine_SelectedValueChanged ( object sender, EventArgs e ) : void
numericUpDownBumpPower1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownBumpPower2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownBumpPower3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownBumpPowerDetail_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownCameraSpeed_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownDiffuseIntensity1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownDiffuseIntensity2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownDiffuseIntensity3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownDispPower1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownDispPower2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownDispPower3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownFieldOfView_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownFogMaximumDistance_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownFogMinimumDistance_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownGlowPower_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownLuminance_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownMiddleGray_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownSpecularIntensity1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownSpecularIntensity2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownSpecularIntensity3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownSpecularRange1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownSpecularRange2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownSpecularRange3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTessellationMaximumDistance_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTessellationMaximum_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTessellationMinimumDistance_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTessellationMinimum_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTextureCoordinates1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTextureCoordinates2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTextureCoordinates3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTextureCoordinatesDetail_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTexturePack1_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTexturePack2_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTexturePack3_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownTexturePackDetail_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownWhiteCutoff_ValueChanged ( object sender, EventArgs e ) : void

Method Details

CheckInput() public method

Checks keyboard and mouse input.
public CheckInput ( double deltaTime ) : void
deltaTime double
return void

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

Initialize() public method

Initializes application.
public Initialize ( ) : void
return void

ProgramForm() public method

Default constructor.
public ProgramForm ( ) : System
return System

ProgramForm() public method

Default constructor.
public ProgramForm ( string caption ) : System
caption string Window caption string.
return System

RenderFrame() public method

Renders frame on the screen.
public RenderFrame ( double deltaTime ) : void
deltaTime double
return void

UpdateFrame() public method

Updates frame logic.
public UpdateFrame ( double deltaTime ) : void
deltaTime double
return void