C# Class Fractrace.Animation.AnimationControl

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: trafassel/Gestaltlupe Class Usage Examples

Protected Properties

Свойство Type Description
_currentPreviewStep int
_currentPreviewSubStep double
_formula string
_inRenderingPreview bool
_pictureSize double

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

mPreview1_RenderingEnds ( ) : void

Rendering of one preview image is ready.

Private Methods

Méthode 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 méthode

public Abort ( ) : void
Résultat void

AddCurrentHistoryEntry() public méthode

Append Entry to Animation
public AddCurrentHistoryEntry ( ) : void
Résultat void

AddToAnimation() public méthode

public AddToAnimation ( ) : void
Résultat void

AnimationControl() public méthode

Constructer.
public AnimationControl ( ) : System
Résultat System

Dispose() protected méthode

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

Init() public méthode

Initialisierung.
public Init ( ParameterHistory data ) : void
data ParameterHistory
Résultat void

RemoveStep() public méthode

Remove entry with given time from timeline.
public RemoveStep ( int time ) : void
time int
Résultat void

UpdateFromChangeProperty() public méthode

Is called if some properties changed.
public UpdateFromChangeProperty ( ) : void
Résultat void

mPreview1_RenderingEnds() protected méthode

Rendering of one preview image is ready.
protected mPreview1_RenderingEnds ( ) : void
Résultat void

Property Details

_currentPreviewStep protected_oe property

protected int _currentPreviewStep
Résultat int

_currentPreviewSubStep protected_oe property

Teilschritte, wenn nicht nur die Eckdaten geladen werden sollen.
protected double _currentPreviewSubStep
Résultat double

_formula protected_oe property

Enthält die Formel des ersten Eintrages
protected string _formula
Résultat string

_inRenderingPreview protected_oe property

True while rendering of preview images.
protected bool _inRenderingPreview
Résultat bool

_pictureSize protected_oe property

Size of the picture in each frame.
protected double _pictureSize
Résultat double