C# Class YAMP.PlotValue

Abstract base class for any plot.
Inheritance: Value
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Private Properties

Свойство Type Description
RaisePlotChanged void

Méthodes publiques

Méthode Description
Copy ( ) : Value

Passes a reference (not a copy!) to the current object.

PlotValue ( ) : System

Creates a new instance.

Update ( ) : void

Updates the data region, i.e. the complete plot.

UpdateLayout ( ) : void

Updates the layout of the plot, i.e. the properties of the plot itself.

UpdateProperties ( ) : void

Updates the properties of the plot series.

Méthodes protégées

Méthode Description
Convert ( MatrixValue m, Int32 offset, Int32 length ) : Double[]

Converts a given matrixvalue (seen as a vector) into a double array.

ConvertX ( MatrixValue m, Int32 dx, Int32 length, Int32 dy ) : Double[]

Converts only column values of the matrix into a double array.

ConvertY ( MatrixValue m, Int32 dy, Int32 length, Int32 dx ) : Double[]

Converts only row values of the matrix into a double array.

Generate ( Double minValue, Double step, Int32 count ) : Double[]

Generates an array of double values.

MakeArrayPeriodic ( Double values, Int32 n ) : Double[]

Increases the size of an array to n elements, repeating the containing elements.

Private Methods

Méthode Description
RaisePlotChanged ( String property ) : void

Invokes the OnPlotChanged event if it has been set.

Method Details

Convert() protected méthode

Converts a given matrixvalue (seen as a vector) into a double array.
protected Convert ( MatrixValue m, Int32 offset, Int32 length ) : Double[]
m MatrixValue The MatrixValue to convert.
offset System.Int32 The offset in the matrix (0 = start with 1st element).
length System.Int32 The number of elements to convert.
Résultat Double[]

ConvertX() protected méthode

Converts only column values of the matrix into a double array.
protected ConvertX ( MatrixValue m, Int32 dx, Int32 length, Int32 dy ) : Double[]
m MatrixValue The MatrixValue to convert.
dx System.Int32 The offset in columns.
length System.Int32 The number of rows to consider.
dy System.Int32 The offset in rows.
Résultat Double[]

ConvertY() protected méthode

Converts only row values of the matrix into a double array.
protected ConvertY ( MatrixValue m, Int32 dy, Int32 length, Int32 dx ) : Double[]
m MatrixValue The MatrixValue to convert.
dy System.Int32 The offset in rows.
length System.Int32 The number of columns to consider.
dx System.Int32 The offset in columns.
Résultat Double[]

Copy() public méthode

Passes a reference (not a copy!) to the current object.
public Copy ( ) : Value
Résultat Value

Generate() protected méthode

Generates an array of double values.
protected Generate ( Double minValue, Double step, Int32 count ) : Double[]
minValue Double The first value in the array.
step Double The difference between each element.
count System.Int32 The number of elements in the array.
Résultat Double[]

MakeArrayPeriodic() protected méthode

Increases the size of an array to n elements, repeating the containing elements.
protected MakeArrayPeriodic ( Double values, Int32 n ) : Double[]
values Double The current array.
n System.Int32 The desired size of the array.
Résultat Double[]

PlotValue() public méthode

Creates a new instance.
public PlotValue ( ) : System
Résultat System

Update() public méthode

Updates the data region, i.e. the complete plot.
public Update ( ) : void
Résultat void

UpdateLayout() public méthode

Updates the layout of the plot, i.e. the properties of the plot itself.
public UpdateLayout ( ) : void
Résultat void

UpdateProperties() public méthode

Updates the properties of the plot series.
public UpdateProperties ( ) : void
Résultat void