C# Class NewSF64Toolkit.OpenGL.OpenGLControl

Datei anzeigen Open project: mib-f8sm9c/NewSF64Toolkit Class Usage Examples

Public Properties

Property Type Description
Camera SFCamera
ChangedModes uint
Combiner0 uint
GeometryMode uint
LevelObjects List
LightAmbient float[]
LightDiffuse float[]
LightPosition float[]
LightSpecular float[]
Mode DisplayMode
OtherModeH uint
OtherModeL uint
SelectedObjectIndex int
SingleObjectDLIndices int[]
Store_RDPHalf1 uint

Public Methods

Method Description
OpenGLControl ( ) : System
ReDraww ( ) : void
UpdateCamera ( ) : void

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.

OpenGLControl_Resize ( object sender, EventArgs e ) : void
SetupViewport ( ) : void
glDisplay_KeyDown ( object sender, KeyEventArgs e ) : void
glDisplay_Load ( object sender, EventArgs e ) : void
glDisplay_MouseDown ( object sender, MouseEventArgs e ) : void
glDisplay_MouseMove ( object sender, MouseEventArgs e ) : void
glDisplay_MouseUp ( object sender, MouseEventArgs e ) : void
glDisplay_Paint ( object sender, PaintEventArgs e ) : void
gl_DrawScene ( ) : void
gl_InitRenderer ( ) : void
gl_LookAt ( double p_EyeX, double p_EyeY, double p_EyeZ, double p_CenterX, double p_CenterY, double p_CenterZ ) : void
gl_Perspective ( double fovy, double aspect, double zNear, double zFar ) : void
gl_ResizeScene ( int Width, int Height ) : void
hypot ( double a, double b ) : double

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

OpenGLControl() public method

public OpenGLControl ( ) : System
return System

ReDraww() public method

public ReDraww ( ) : void
return void

UpdateCamera() public method

public UpdateCamera ( ) : void
return void

Property Details

Camera public_oe property

public SFCamera,NewSF64Toolkit.OpenGL Camera
return SFCamera

ChangedModes public_oe static_oe property

public static uint ChangedModes
return uint

Combiner0 public_oe static_oe property

public static uint Combiner0
return uint

GeometryMode public_oe static_oe property

public static uint GeometryMode
return uint

LevelObjects public_oe property

public List LevelObjects
return List

LightAmbient public_oe property

public float[] LightAmbient
return float[]

LightDiffuse public_oe property

public float[] LightDiffuse
return float[]

LightPosition public_oe property

public float[] LightPosition
return float[]

LightSpecular public_oe property

public float[] LightSpecular
return float[]

Mode public_oe property

public DisplayMode Mode
return DisplayMode

OtherModeH public_oe static_oe property

public static uint OtherModeH
return uint

OtherModeL public_oe static_oe property

public static uint OtherModeL
return uint

SelectedObjectIndex public_oe property

public int SelectedObjectIndex
return int

SingleObjectDLIndices public_oe property

public int[] SingleObjectDLIndices
return int[]

Store_RDPHalf1 public_oe static_oe property

public static uint Store_RDPHalf1
return uint