C# Class Fractrace.PictureArt.FloatPlasicRenderer

Gestaltlupe default Renderer.
Inheritance: SmallMemoryRenderer
Mostra file Open project: trafassel/Gestaltlupe Class Usage Examples

Public Methods

Method Description
FloatPlasicRenderer ( Fractrace.DataTypes.PictureData pData ) : System

Initialisation.

Protected Methods

Method Description
CreateHeightMap ( ) : void

Field _heightMap is created from _pictureData.Points.

CreateShadowInfo ( ) : void
CreateStatisticInfo ( ) : void

Creates boundingbox infos.

DarkenPlane ( ) : void

Die Gestalt wird nach hinten abgedunkelt.

DrawPlane ( ) : void

Create rgb image.

GetAmbientValue ( double ypos ) : double

Get the value, which is used in computing the field of view.

GetColor ( int x, int y ) : Color

Return rgb value at (x,y)

GetLightF ( Fractrace.PictureArt.FloatVec3 normal ) : Fractrace.PictureArt.FloatVec3

Surface color according to _shininessFactor and _shininess.

GetRgb ( int x, int y ) : Fractrace.Geometry.Vec3

Get the color information of the bitmap at (x,y)

GetRgbAt ( int x, int y ) : Fractrace.Geometry.Vec3
NormalizePlane ( ) : void

Weißabgleich und Helligkeitskorrektur.

PreCalculate ( ) : void

Set fields from ParameterDict.Current.

SmoothEmptyPixel ( ) : void

Bildpunkte, die auf Grund fehlender Informationen nicht geladen werden konnten, werden aus den Umgebungsinformationen gemittelt.

SmoothPlane ( ) : void

Compute field of view.

Method Details

CreateHeightMap() protected method

Field _heightMap is created from _pictureData.Points.
protected CreateHeightMap ( ) : void
return void

CreateShadowInfo() protected method

protected CreateShadowInfo ( ) : void
return void

CreateStatisticInfo() protected method

Creates boundingbox infos.
protected CreateStatisticInfo ( ) : void
return void

DarkenPlane() protected method

Die Gestalt wird nach hinten abgedunkelt.
protected DarkenPlane ( ) : void
return void

DrawPlane() protected method

Create rgb image.
protected DrawPlane ( ) : void
return void

FloatPlasicRenderer() public method

Initialisation.
public FloatPlasicRenderer ( Fractrace.DataTypes.PictureData pData ) : System
pData Fractrace.DataTypes.PictureData
return System

GetAmbientValue() protected method

Get the value, which is used in computing the field of view.
protected GetAmbientValue ( double ypos ) : double
ypos double
return double

GetColor() protected method

Return rgb value at (x,y)
protected GetColor ( int x, int y ) : Color
x int
y int
return Color

GetLightF() protected method

Surface color according to _shininessFactor and _shininess.
protected GetLightF ( Fractrace.PictureArt.FloatVec3 normal ) : Fractrace.PictureArt.FloatVec3
normal Fractrace.PictureArt.FloatVec3
return Fractrace.PictureArt.FloatVec3

GetRgb() protected method

Get the color information of the bitmap at (x,y)
protected GetRgb ( int x, int y ) : Fractrace.Geometry.Vec3
x int
y int
return Fractrace.Geometry.Vec3

GetRgbAt() protected method

protected GetRgbAt ( int x, int y ) : Fractrace.Geometry.Vec3
x int
y int
return Fractrace.Geometry.Vec3

NormalizePlane() protected method

Weißabgleich und Helligkeitskorrektur.
protected NormalizePlane ( ) : void
return void

PreCalculate() protected method

Set fields from ParameterDict.Current.
protected PreCalculate ( ) : void
return void

SmoothEmptyPixel() protected method

Bildpunkte, die auf Grund fehlender Informationen nicht geladen werden konnten, werden aus den Umgebungsinformationen gemittelt.
protected SmoothEmptyPixel ( ) : void
return void

SmoothPlane() protected method

Compute field of view.
protected SmoothPlane ( ) : void
return void