C# Class ProbeSHEncoder.OutputPanel

Inheritance: System.Windows.Forms.Panel
显示文件 Open project: Patapom/GodComplex

Protected Properties

Property Type Description
m_Bitmap System.Drawing.Bitmap
m_Probe Probe

Public Methods

Method Description
OutputPanel ( IContainer container ) : System
SampleCubeMap ( WMath _View, CubeMapSampler _Sampler, byte &_R, byte &_G, byte &_B ) : void
SampleCubeMap ( float3 _View, CubeMapSampler _Sampler, byte &_R, byte &_G, byte &_B ) : void
UpdateBitmap ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
CubeMapSamplerAlbedo ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerDistance ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerEmissiveMatID ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerFaceIndex ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerNeighborProbeID ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerNormal ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerSH ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerSetAlbedo ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerSetDistance ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerSetIndex ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerSetNormal ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerSetSamples ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
CubeMapSamplerStaticLit ( Probe _Pixel, byte &_R, byte &_G, byte &_B ) : void
InitializeComponent ( ) : void

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

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

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

OutputPanel() public method

public OutputPanel ( IContainer container ) : System
container IContainer
return System

SampleCubeMap() public method

public SampleCubeMap ( WMath _View, CubeMapSampler _Sampler, byte &_R, byte &_G, byte &_B ) : void
_View WMath
_Sampler CubeMapSampler
_R byte
_G byte
_B byte
return void

SampleCubeMap() public method

public SampleCubeMap ( float3 _View, CubeMapSampler _Sampler, byte &_R, byte &_G, byte &_B ) : void
_View float3
_Sampler CubeMapSampler
_R byte
_G byte
_B byte
return void

UpdateBitmap() public method

public UpdateBitmap ( ) : void
return void

Property Details

m_Bitmap protected_oe property

protected Bitmap,System.Drawing m_Bitmap
return System.Drawing.Bitmap

m_Probe protected_oe property

protected Probe m_Probe
return Probe