C# Class Fractrace.Iterate

Hier werden die Voxelpunkte abgefahren und die Berechnungsroutine aufgerufen.
Show file Open project: trafassel/Gestaltlupe Class Usage Examples

Public Properties

Property Type Description
_oneStepProgress bool

Protected Properties

Property Type Description
_abort bool
_availableY int
_generateLock object
_height int
_isRightView bool
_lastUsedFormulas Formulas
_maxxIter int
_maxyIter int
_maxzIter int
_parameterDict Fractrace.Basic.ParameterDict
_pause bool
_start bool
_startCount int
_startCountLock object
_transformUpdate bool
_width int

Public Methods

Method Description
Abort ( ) : void

Von Außen wurde Abbruch angestoßen.

Iterate ( ) : System
Iterate ( ParameterDict parameterDict, IAsyncComputationStarter starter, bool isRightView = false ) : System
Iterate ( int width, int height ) : System

Initialisation

Iterate ( int width, int height, IAsyncComputationStarter starter, bool isRightView ) : System

Initialisation

SetOldData ( DataTypes oldData, DataTypes oldPictureData, int updateCount ) : void

Set data of the last iteration with the same rendering parameters.

StartAsync ( ) : void

Start asyncron computing with parameters mParameterDict.

StartAsync ( Fractrace.DataTypes.FracValues act_val, int zyklen, double screensize, bool _isJulia, bool perspective ) : void

Split computing in threads.

Wait ( ) : void

Wait till async computation ends.

Protected Methods

Method Description
Generate ( Fractrace.DataTypes.FracValues act_val, int zyklen, double screensize, int formula, bool perspective ) : void

Compute surface data.

IsAvailable ( int y ) : bool

Liefert true, wenn die angegebene z-Koordinate berechnet werden darf. Wird für die Synchronisation der asynchronen Prozesse verwendet.

IsSmallPreview ( ) : bool

Return true, if corresponding image is used as small preview.

Start ( ) : void

call Generate(m_act_val, m_zyklen, m_raster, m_screensize, m_formula, m_perspective) auf.

Method Details

Abort() public method

Von Außen wurde Abbruch angestoßen.
public Abort ( ) : void
return void

Generate() protected method

Compute surface data.
protected Generate ( Fractrace.DataTypes.FracValues act_val, int zyklen, double screensize, int formula, bool perspective ) : void
act_val Fractrace.DataTypes.FracValues
zyklen int
screensize double
formula int
perspective bool
return void

IsAvailable() protected method

Liefert true, wenn die angegebene z-Koordinate berechnet werden darf. Wird für die Synchronisation der asynchronen Prozesse verwendet.
protected IsAvailable ( int y ) : bool
y int
return bool

IsSmallPreview() protected method

Return true, if corresponding image is used as small preview.
protected IsSmallPreview ( ) : bool
return bool

Iterate() public method

public Iterate ( ) : System
return System

Iterate() public method

public Iterate ( ParameterDict parameterDict, IAsyncComputationStarter starter, bool isRightView = false ) : System
parameterDict Fractrace.Basic.ParameterDict
starter IAsyncComputationStarter
isRightView bool
return System

Iterate() public method

Initialisation
public Iterate ( int width, int height ) : System
width int
height int
return System

Iterate() public method

Initialisation
public Iterate ( int width, int height, IAsyncComputationStarter starter, bool isRightView ) : System
width int
height int
starter IAsyncComputationStarter
isRightView bool
return System

SetOldData() public method

Set data of the last iteration with the same rendering parameters.
public SetOldData ( DataTypes oldData, DataTypes oldPictureData, int updateCount ) : void
oldData DataTypes
oldPictureData DataTypes
updateCount int
return void

Start() protected method

call Generate(m_act_val, m_zyklen, m_raster, m_screensize, m_formula, m_perspective) auf.
protected Start ( ) : void
return void

StartAsync() public method

Start asyncron computing with parameters mParameterDict.
public StartAsync ( ) : void
return void

StartAsync() public method

Split computing in threads.
public StartAsync ( Fractrace.DataTypes.FracValues act_val, int zyklen, double screensize, bool _isJulia, bool perspective ) : void
act_val Fractrace.DataTypes.FracValues
zyklen int
screensize double
_isJulia bool
perspective bool
return void

Wait() public method

Wait till async computation ends.
public Wait ( ) : void
return void

Property Details

_abort protected property

protected bool _abort
return bool

_availableY protected property

protected int _availableY
return int

_generateLock protected property

Lock IsAvailable().
protected object _generateLock
return object

_height protected property

protected int _height
return int

_isRightView protected property

Wird bei der Stereoansicht verwendet. Hier wird unterschieden, ob es sich um eine Sicht vom rechten Auge handelt.
protected bool _isRightView
return bool

_lastUsedFormulas protected property

protected Formulas,Fractrace _lastUsedFormulas
return Formulas

_maxxIter protected property

protected int _maxxIter
return int

_maxyIter protected property

protected int _maxyIter
return int

_maxzIter protected property

protected int _maxzIter
return int

_oneStepProgress public property

True, if iteration runs without updates.
public bool _oneStepProgress
return bool

_parameterDict protected property

protected ParameterDict,Fractrace.Basic _parameterDict
return Fractrace.Basic.ParameterDict

_pause protected static property

protected static bool _pause
return bool

_start protected property

True while running iteration.
protected bool _start
return bool

_startCount protected property

protected int _startCount
return int

_startCountLock protected property

protected object _startCountLock
return object

_transformUpdate protected property

True if oldPictureDasta has bad quality
protected bool _transformUpdate
return bool

_width protected property

protected int _width
return int