C# Class SecondOrderPolynomialApproximation.Form1

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

Protected Properties

Property Type Description
m_AlignAxis Vector
m_Coefficients double[]
m_RGBCoefficients Vector[]

Public Methods

Method Description
Form1 ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

GetColorValueFromLSH ( float _x, float _y, float _z ) : Color
GetColorValueFromLSHOptimized ( float _x, float _y, float _z ) : Color
GetSHCoefficients ( WMath _Direction, double &_Coefficients ) : void
GetValueApproximate2ndOrderPolynomial ( float _x, float _y, float _z ) : float
UnPackRGBE ( uint _RGBE ) : WMath.Vector

Private Methods

Method Description
InitializeComponent ( ) : void

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

sphereViewLSH_MouseUp ( object sender, MouseEventArgs e ) : void
sphereView_MouseUp ( object sender, MouseEventArgs e ) : void

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

Form1() public method

public Form1 ( ) : System
return System

GetColorValueFromLSH() protected method

protected GetColorValueFromLSH ( float _x, float _y, float _z ) : Color
_x float
_y float
_z float
return Color

GetColorValueFromLSHOptimized() protected method

protected GetColorValueFromLSHOptimized ( float _x, float _y, float _z ) : Color
_x float
_y float
_z float
return Color

GetSHCoefficients() protected method

protected GetSHCoefficients ( WMath _Direction, double &_Coefficients ) : void
_Direction WMath
_Coefficients double
return void

GetValueApproximate2ndOrderPolynomial() protected method

protected GetValueApproximate2ndOrderPolynomial ( float _x, float _y, float _z ) : float
_x float
_y float
_z float
return float

UnPackRGBE() protected method

protected UnPackRGBE ( uint _RGBE ) : WMath.Vector
_RGBE uint
return WMath.Vector

Property Details

m_AlignAxis protected_oe property

protected Vector m_AlignAxis
return Vector

m_Coefficients protected_oe property

protected double[] m_Coefficients
return double[]

m_RGBCoefficients protected_oe property

protected Vector[] m_RGBCoefficients
return Vector[]