C# Class Fractrace.ParameterInput

Afficher le fichier Open project: trafassel/Gestaltlupe Class Usage Examples

Méthodes publiques

Свойство Type Description
MainParameterInput ParameterInput

Protected Properties

Свойство Type Description
_previewMode bool
currentPic int
oldDirectory string

Méthodes publiques

Méthode Description
AbortPreview ( ) : void

Stop the to the preview control assigned iter

AddToHistory ( ) : void

Die aktuellen Parameterdaten werden in die History gespeichert.

Assign ( ) : void

Fill mParameter from global ParameterDict.

ComputePreview ( ) : void
DrawSmallPreview ( ) : void

Start rendering in the small preview control.

EnableRepaint ( bool enable ) : void
EnableStartButton ( bool enable ) : void
ParameterInput ( ) : System
SaveHistory ( ) : void

Legt die aktuellen Parameter in die History ab.

SaveHistory ( string fileName ) : void

Legt die aktuellen Parameter in die History ab.

SetButtonsToStart ( ) : void

Buttons are activated/deactivated as if start where running.

SetButtonsToStop ( ) : void

Buttons are activated/deactivated as if start has just ended.

StartRendering ( ) : void

Start process of rendering.

UpdateFromData ( ) : void

A global variable has changed.

UpdatePictureArtInSmallPreview ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void

Dialogabfrage vor Beendigung der Anwendung.

RemoveEmptyDirectory ( ) : void

Wenn keine Bilddateien gespeichert wurden, wird das entsprechende Hauptverzeichnis gelöscht.

SavePicData ( ) : void

Save current image to _historyImages.

UpdateHistoryControl ( ) : void

Redraw history control.

Private Methods

Méthode Description
BtnSettings_Click ( object sender, System e ) : void
ComputationEnds ( ) : void
Exemplar_EventChanged ( object source, ParameterDictChangedEventArgs e ) : void

A global variable has changed.

ForceRedraw ( ) : void

Redraw result image.

InitDefaultScenesPictures ( ) : void

Gernerate buttons to load some default scenes.

InitLastSessionsPictures ( ) : void

Show images of last Sessions.

InitializeComponent ( ) : void

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

LoadConfiguration ( string fileName ) : void

Load project file.

LoadFromHistory ( ) : void

Activate time _history.CurrentTime.

LoadScene ( string dataFileName ) : void

Load Gestaltlupe project.

ParameterDictControl1_ElementChanged ( string name, string value ) : void
ParameterValuesChanged ( ) : void

Some parameter values has changed.

PictureBox_Click ( object sender, EventArgs e ) : void
Preview1_MouseWheel ( object sender, System.Drawing.MouseEventArgs e ) : void
Preview1_ProgressEvent ( double progress ) : void
PreviewButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the preview1 control.

PreviewButton_Click1 ( object sender, EventArgs e ) : void
PreviewButton_MouseDown ( object sender, System.Drawing.MouseEventArgs e ) : void
PreviewButton_MouseDown1 ( object sender, System.Drawing.MouseEventArgs e ) : void
PreviewButton_MouseLeave ( object sender, EventArgs e ) : void
PreviewButton_MouseLeave1 ( object sender, EventArgs e ) : void
PreviewButton_MouseMove ( object sender, System.Drawing.MouseEventArgs e ) : void
PreviewButton_MouseMove1 ( object sender, System.Drawing.MouseEventArgs e ) : void
PreviewButton_MouseUp ( object sender, System.Drawing.MouseEventArgs e ) : void
PreviewButton_MouseUp1 ( object sender, System.Drawing.MouseEventArgs e ) : void
SetSmallPreviewSize ( ) : void

ShowPicture ( string parameterdictFile ) : void

Sucht das passende Bild zur Parameterdict-Datei und zeigt es (wenn die Suche erfolgreich war) in Fenster1 an.

Stop ( ) : void
Timer1_Tick ( object sender, EventArgs e ) : void
UpdateCurrentTab ( ) : void

Update selected tab control.

UpdateFrontView ( ) : void
UpdateHistoryPic ( ) : bool

Load old image. Return true, if such image exists.

UpdateNavigateControl ( ) : void
btBulk_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btBulk control. The formula parameters and the formula itself are combined in a compact text, which can later be copied into the formula text window to get the current formula configuration.

btnAddToAnimation_Click ( object sender, EventArgs e ) : void
btnAnimation_Click ( object sender, EventArgs e ) : void
btnAppend_Click ( object sender, EventArgs e ) : void

Add file data to the current data.

btnBack_Click_1 ( object sender, EventArgs e ) : void

Load last history entry.

btnBatchExport_Click ( object sender, EventArgs e ) : void
btnCreateCompleteBulk_Click ( object sender, EventArgs e ) : void

The formula parameters, the formula itself and diplay settings are combined in a compact text, which can later be copied into the formula text window to get the current formula configuration.

btnDocumentation_Click ( object sender, EventArgs e ) : void
btnDocumentation_Click_1 ( object sender, EventArgs e ) : void
btnExport_Click ( object sender, EventArgs e ) : void
btnExtras_Click ( object sender, EventArgs e ) : void
btnFormat_Click ( object sender, EventArgs e ) : void
btnLastStep_Click ( object sender, EventArgs e ) : void

Vorgängerschritt wurde ausgewählt.

btnLoadExamples_Click ( object sender, EventArgs e ) : void
btnLoadLast_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnLoadLast control. Load last saved project.

btnLoad_Click ( object sender, EventArgs e ) : void

Load scene.

btnNextStep_Click ( object sender, EventArgs e ) : void

Load next history entry.

btnPause_Click ( object sender, EventArgs e ) : void

Berechnung anhalten

btnPred_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnPred control. Go to the last entry with generated bitmap.

btnPreview_Click ( object sender, EventArgs e ) : void

Compute preview.

btnSaveFormula_Click ( object sender, EventArgs e ) : void

Save only Gestalt parameters.

btnSaveImage_Click ( object sender, EventArgs e ) : void
btnSaveInHistory_Click ( object sender, EventArgs e ) : void

History wird um die aktuellen Daten erweitert.

btnSave_Click ( object sender, EventArgs e ) : void

Save ParameterDict.Current as *.gestalt file.

btnShowDocumentation_Click ( object sender, EventArgs e ) : void

Display the documentation.

btnStart_Click ( object sender, EventArgs e ) : void
btnStopAnimation_Click_1 ( object sender, EventArgs e ) : void
button10_Click ( object sender, EventArgs e ) : void

Show view parameters.

button1_Click ( object sender, EventArgs e ) : void

Load next history entry.

button1_Click_1 ( object sender, EventArgs e ) : void

Activate next history entry.

button27_Click ( object sender, EventArgs e ) : void

Berechnung stoppen

button2_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void

Set history to first history entry.

button6_Click ( object sender, EventArgs e ) : void

Set history to history entry with max time.

button7_Click ( object sender, EventArgs e ) : void

Show navigation tab.

button8_Click ( object sender, EventArgs e ) : void

Show material tab.

button9_Click ( object sender, EventArgs e ) : void

Formula button.

preview1_Clicked ( ) : void

User has click on Preview1 Control.

preview1_RenderingEnds ( ) : void

Erstellung des Images im Vorschaufenster wurde beendet.

splitContainer1_Panel1_ClientSizeChanged ( object sender, EventArgs e ) : void

Höhe wurde verschoben. Breite der Preview Controls setzen:

tabControl1_SelectedIndexChanged ( object sender, EventArgs e ) : void

Tab-Auswahl

tabControl2_SelectedIndexChanged ( object sender, EventArgs e ) : void
tbCurrentStep_TextChanged ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void

Method Details

AbortPreview() public méthode

Stop the to the preview control assigned iter
public AbortPreview ( ) : void
Résultat void

AddToHistory() public méthode

Die aktuellen Parameterdaten werden in die History gespeichert.
public AddToHistory ( ) : void
Résultat void

Assign() public méthode

Fill mParameter from global ParameterDict.
public Assign ( ) : void
Résultat void

ComputePreview() public méthode

public ComputePreview ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

DrawSmallPreview() public méthode

Start rendering in the small preview control.
public DrawSmallPreview ( ) : void
Résultat void

EnableRepaint() public méthode

public EnableRepaint ( bool enable ) : void
enable bool
Résultat void

EnableStartButton() public méthode

public EnableStartButton ( bool enable ) : void
enable bool
Résultat void

OnClosing() protected méthode

Dialogabfrage vor Beendigung der Anwendung.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

ParameterInput() public méthode

public ParameterInput ( ) : System
Résultat System

RemoveEmptyDirectory() protected méthode

Wenn keine Bilddateien gespeichert wurden, wird das entsprechende Hauptverzeichnis gelöscht.
protected RemoveEmptyDirectory ( ) : void
Résultat void

SaveHistory() public méthode

Legt die aktuellen Parameter in die History ab.
public SaveHistory ( ) : void
Résultat void

SaveHistory() public méthode

Legt die aktuellen Parameter in die History ab.
public SaveHistory ( string fileName ) : void
fileName string
Résultat void

SavePicData() protected méthode

Save current image to _historyImages.
protected SavePicData ( ) : void
Résultat void

SetButtonsToStart() public méthode

Buttons are activated/deactivated as if start where running.
public SetButtonsToStart ( ) : void
Résultat void

SetButtonsToStop() public méthode

Buttons are activated/deactivated as if start has just ended.
public SetButtonsToStop ( ) : void
Résultat void

StartRendering() public méthode

Start process of rendering.
public StartRendering ( ) : void
Résultat void

UpdateFromData() public méthode

A global variable has changed.
public UpdateFromData ( ) : void
Résultat void

UpdateHistoryControl() protected méthode

Redraw history control.
protected UpdateHistoryControl ( ) : void
Résultat void

UpdatePictureArtInSmallPreview() public méthode

public UpdatePictureArtInSmallPreview ( ) : void
Résultat void

Property Details

MainParameterInput public_oe static_oe property

Global instance of this unique window.
public static ParameterInput,Fractrace MainParameterInput
Résultat ParameterInput

_previewMode protected_oe property

protected bool _previewMode
Résultat bool

currentPic protected_oe property

used in Redraw Picture
protected int currentPic
Résultat int

oldDirectory protected_oe static_oe property

protected static string oldDirectory
Résultat string