C# Class Fractrace.Animation.AnimationControl

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: trafassel/Gestaltlupe Class Usage Examples

Protected Properties

Property Type Description
_currentPreviewStep int
_currentPreviewSubStep double
_formula string
_inRenderingPreview bool
_pictureSize double

Public Methods

Method Description
Abort ( ) : void
AddCurrentHistoryEntry ( ) : void

Append Entry to Animation

AddToAnimation ( ) : void
AnimationControl ( ) : System

Constructer.

Init ( ParameterHistory data ) : void

Initialisierung.

RemoveStep ( int time ) : void

Remove entry with given time from timeline.

UpdateFromChangeProperty ( ) : void

Is called if some properties changed.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

mPreview1_RenderingEnds ( ) : void

Rendering of one preview image is ready.

Private Methods

Method Description
ComputeAnimationPart ( int from, int to, int steps, ParameterHistory animationHistory, int historyIndex ) : void

Compute part of animation.

CreateAnimationSteps ( string animationDescription ) : void

Create animation info from string.

InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

RenderPreview ( ) : void

Draws all preview images.

btnAddRow_Click ( object sender, EventArgs e ) : void

Zeile wird an der aktuellen Position eingefügt.

btnLoad_Click ( object sender, EventArgs e ) : void

Load Animation file.

btnPreview_Click ( object sender, EventArgs e ) : void

Diplay some animation steps as preview images.

btnSave_Click ( object sender, EventArgs e ) : void

Saved animation file.

btnStart_Click ( object sender, EventArgs e ) : void

Start rendering full Animation.

btnStop_Click ( object sender, EventArgs e ) : void

Stop Animation. Creation of current image is not stopped.

Method Details

Abort() public method

public Abort ( ) : void
return void

AddCurrentHistoryEntry() public method

Append Entry to Animation
public AddCurrentHistoryEntry ( ) : void
return void

AddToAnimation() public method

public AddToAnimation ( ) : void
return void

AnimationControl() public method

Constructer.
public AnimationControl ( ) : System
return System

Dispose() protected method

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
return void

Init() public method

Initialisierung.
public Init ( ParameterHistory data ) : void
data ParameterHistory
return void

RemoveStep() public method

Remove entry with given time from timeline.
public RemoveStep ( int time ) : void
time int
return void

UpdateFromChangeProperty() public method

Is called if some properties changed.
public UpdateFromChangeProperty ( ) : void
return void

mPreview1_RenderingEnds() protected method

Rendering of one preview image is ready.
protected mPreview1_RenderingEnds ( ) : void
return void

Property Details

_currentPreviewStep protected_oe property

protected int _currentPreviewStep
return int

_currentPreviewSubStep protected_oe property

Teilschritte, wenn nicht nur die Eckdaten geladen werden sollen.
protected double _currentPreviewSubStep
return double

_formula protected_oe property

Enthält die Formel des ersten Eintrages
protected string _formula
return string

_inRenderingPreview protected_oe property

True while rendering of preview images.
protected bool _inRenderingPreview
return bool

_pictureSize protected_oe property

Size of the picture in each frame.
protected double _pictureSize
return double