Skip to main content

Motion Standalone Postprocessor C# library 2024 R2

Interface IOperationsLine2DViewModel

Last update: 03.07.2024

Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll

public interface IOperationsLine2DViewModel : IOperationsLine2DViewModelBase, IOperationsBase

Implements

IOperationsLine2DViewModelBase, IOperationsBase

Properties

AxisX

Get or Set the visibility of Axis X.

bool AxisX { get; set; }

Property Value

bool

AxisY

Get or Set the visibility of Axis Y.

bool AxisY { get; set; }

Property Value

bool

Legend

Get or Set the visibility of legend.

bool Legend { get; set; }

Property Value

bool

ShowAnimationBar

Get or Set the visibility of animation bar.

bool ShowAnimationBar { get; set; }

Property Value

bool

TrackingCurve

Get or Set the visibility of the tracking bar.

bool TrackingCurve { get; set; }

Property Value

bool

TrackingOption

Get or Set the Tracking Option of Chart.

ChartAxisType TrackingOption { get; set; }

Property Value

ChartAxisType

Methods

CreateAbsolute(IEnumerable<string>, SignType)

Create a function to transform data series into absolute values for Y-Axis.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAbsolute(IEnumerable<string> lstSeriesName, SignType signType)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

signType SignType

The types of the absolute value are as follows.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateAbsolute(IEnumerable<IOperationsLineDataSeriesViewModelBase>, SignType)

Create a function to transform data series into absolute values for Y-Axis.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAbsolute(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, SignType signType)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the instance of the curve​s to perform the operation.

signType SignType

The types of the absolute value are as follows.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateAlign(IEnumerable<string>, AlignType)

Create a function to align data series to zero or the first point of the target curve.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAlign(IEnumerable<string> lstSeriesName, AlignType alignType)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

alignType AlignType

The types of the alignment are as follows.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateAlign(IEnumerable<IOperationsLineDataSeriesViewModelBase>, AlignType)

Create a function to align data series to zero or the first point of the target curve.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAlign(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, AlignType alignType)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the instance of the curve​s to perform the operation.

alignType AlignType

The types of the alignment are as follows.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateDifferentiatedCurve(IEnumerable<string>)

Create a function to use Calculus(Different) for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateDifferentiatedCurve(IEnumerable<string> lstSeriesName)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateDifferentiatedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase>)

Create a function to use Calculus(Different) for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateDifferentiatedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the instance of the curve​s to perform the operation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateFFT(IEnumerable<string>, FFTType, FFTWindowType, ScaleType, int, double, double)

Create a function to use FFT(Fast Fourier Transform) for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFFT(IEnumerable<string> lstSeriesName, FFTType fftType, FFTWindowType fftWindowType, ScaleType scaleType, int points, double start, double end)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

fftType FFTType

Magnitude, Phase

fftWindowType FFTWindowType

Rectangular, Triangular, Bartlett, Hanning, Hamming, Welch, BlackMan, None

scaleType ScaleType

Original, Logarithm, Decibel

points int

The number of data point for FFT.

start double

The start time for using FFT on target data series.

end double

The end time for using FFT on target data series.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateFFT(IEnumerable<IOperationsLineDataSeriesViewModelBase>, FFTType, FFTWindowType, ScaleType, int, double, double)

Create a function to use FFT(Fast Fourier Transform) for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFFT(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, FFTType fftType, FFTWindowType fftWindowType, ScaleType scaleType, int points, double start, double end)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

fftType FFTType

Magnitude, Phase

fftWindowType FFTWindowType

Rectangular, Triangular, Bartlett, Hanning, Hamming, Welch, BlackMan, None

scaleType ScaleType

Original, Logarithm, Decibel

points int

The number of data point for FFT.

start double

The start time for using FFT on target data series.

end double

The end time for using FFT on target data series.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateFiltering(IEnumerable<string>, FilteringType, int, double, double)

Create a function to use data filtering and smoothing for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFiltering(IEnumerable<string> lstSeriesName, FilteringType filteringType, int order, double frequency1, double frequency2)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

filteringType FilteringType

The types of the filter are as follows.

order int

As decreasing value, output would be more smooth.

frequency1 double

The value of frequency1.

frequency2 double

The value of frequency2.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateFiltering(IEnumerable<IOperationsLineDataSeriesViewModelBase>, FilteringType, int, double, double)

Create a function to use data filtering and smoothing for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFiltering(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, FilteringType filteringType, int order, double frequency1, double frequency2)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

filteringType FilteringType

The types of the filter are as follows.

order int

As decreasing value, output would be more smooth.

frequency1 double

The value of frequency1.

frequency2 double

The value of frequency2.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateFrequencyWeighting(IEnumerable<string>, WeightingType, FrequencyAxisType)

Create a function to use data filtering and smoothing for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFrequencyWeighting(IEnumerable<string> lstSeriesName, WeightingType weightingType, FrequencyAxisType axisType)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

weightingType WeightingType

The types of the weighting are as follows.

axisType FrequencyAxisType

The types of the axis are as follows.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateFrequencyWeighting(IEnumerable<IOperationsLineDataSeriesViewModelBase>, WeightingType, FrequencyAxisType)

Create a function to use data filtering and smoothing for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFrequencyWeighting(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, WeightingType weightingType, FrequencyAxisType axisType)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

weightingType WeightingType

The types of the weighting are as follows.

axisType FrequencyAxisType

The types of the axis are as follows.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateIntegratedCurve(IEnumerable<string>)

Create a function to use Calculus(Integration) for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateIntegratedCurve(IEnumerable<string> lstSeriesName)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateIntegratedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase>)

Create a function to use Calculus(Integration) for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateIntegratedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateInterpolation(IEnumerable<string>, int)

Create a function to use interpolation for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateInterpolation(IEnumerable<string> lstSeriesName, int points)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

points int

The number of the data points for interpolation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateInterpolation(IEnumerable<IOperationsLineDataSeriesViewModelBase>, int)

Create a function to use interpolation for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateInterpolation(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, int points)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

points int

The number of the data points for interpolation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateLogScale(IEnumerable<string>, double, double, bool)

Create a function to use the logarithm scale for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateLogScale(IEnumerable<string> lstSeriesName, double coefficient, double baseValue, bool decibel)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

coefficient double

The value of the coefficient.

baseValue double

The value of the base.

decibel bool

Taking the decibel scale for the list of the curve (20𝐿𝑜𝑔_10(Y)).

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateLogScale(IEnumerable<IOperationsLineDataSeriesViewModelBase>, double, double, bool)

Create a function to use the logarithm scale for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateLogScale(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, double coefficient, double baseValue, bool decibel)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

coefficient double

The value of the coefficient.

baseValue double

The value of the base.

decibel bool

Taking the decibel scale for the list of the curve (20𝐿𝑜𝑔_10(Y)).

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateSTFT(IHeatMapSTFTDataViewModel, IList<string>)

Create a function to use STFT(Short Time Fourier Transform) for data series.

void CreateSTFT(IHeatMapSTFTDataViewModel hitmapData, IList<string> lstSeriesName)

Parameters

hitmapData IHeatMapSTFTDataViewModel

The list of the curve name to perform the operation.

lstSeriesName IList<string>

The interface includes STFT information.

CreateSTFT(IHeatMapSTFTDataViewModel, IEnumerable<IOperationsLineDataSeriesViewModelBase>)

Create a function to use STFT(Short Time Fourier Transform) for data series.

void CreateSTFT(IHeatMapSTFTDataViewModel hitmapData, IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels)

Parameters

hitmapData IHeatMapSTFTDataViewModel

The list of the curve name to perform the operation.

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The interface includes STFT information.

CreateScale(IEnumerable<string>, double, double)

Create a function to scale data series by the scale value.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateScale(IEnumerable<string> lstSeriesName, double scaleX, double scaleY)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

scaleX double

The value to scale for X- axis.

scaleY double

The value to scale for Y- axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateScale(IEnumerable<IOperationsLineDataSeriesViewModelBase>, double, double)

Create a function to scale data series by the scale value.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateScale(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, double scaleX, double scaleY)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

scaleX double

The value to scale for X- axis.

scaleY double

The value to scale for Y- axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateSimpleMath(IEnumerable<string>, SimpleMathType, int)

Create a function to add, subtract and multiple between curves.

IOperationsLineDataSeriesViewModelBase CreateSimpleMath(IEnumerable<string> lstSeriesName, SimpleMathType simpleMathType, int points)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

simpleMathType SimpleMathType

The types of the simple math are as follows.

points int

The number of data points for interpolation.

Returns

IOperationsLineDataSeriesViewModelBase

The instance of curve.

CreateSimpleMath(IEnumerable<IOperationsLineDataSeriesViewModelBase>, SimpleMathType, int)

Create a function to add, subtract and multiple between curves.

IOperationsLineDataSeriesViewModelBase CreateSimpleMath(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, SimpleMathType simpleMathType, int points)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

simpleMathType SimpleMathType

The types of the simple math are as follows.

points int

The number of data points for interpolation.

Returns

IOperationsLineDataSeriesViewModelBase

The instance of curve.

CreateSmoothing(IEnumerable<string>, SmoothingType, int, int)

Create a function to use data filtering and smoothing for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateSmoothing(IEnumerable<string> lstSeriesName, SmoothingType smoothingType, int pointsOfWindow, int polyOrder)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

smoothingType SmoothingType

The types of the sommthing are as follows.

pointsOfWindow int

The number of points for window.

polyOrder int

The value of polyOrder.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateSmoothing(IEnumerable<IOperationsLineDataSeriesViewModelBase>, SmoothingType, int, int)

Create a function to use data filtering and smoothing for data series.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateSmoothing(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, SmoothingType smoothingType, int pointsOfWindow, int polyOrder)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

smoothingType SmoothingType

The types of the sommthing are as follows.

pointsOfWindow int

The number of points for window.

polyOrder int

The value of polyOrder.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateSoundPressureLevelLineSeries(string, string, Point2D[], string, string)

Create a function to use SoundPressure for data series.

void CreateSoundPressureLevelLineSeries(string fullName, string resultDocumentFilePath, Point2D[] points, string xDimension, string yDimension)

Parameters

fullName string

resultDocumentFilePath string

points Point2D[]

xDimension string

yDimension string

CreateTranslate(IEnumerable<string>, double, double)

Create a function to translate data series by the offset.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateTranslate(IEnumerable<string> lstSeriesName, double offsetX, double offsetY)

Parameters

lstSeriesName IEnumerable<string>

The list of the curve name to perform the operation.

offsetX double

The value to translate for X- axis.

offsetY double

The value to translate for Y- axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

CreateTranslate(IEnumerable<IOperationsLineDataSeriesViewModelBase>, double, double)

Create a function to translate data series by the offset.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateTranslate(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, double offsetX, double offsetY)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of the curve​ instance to perform the operation.

offsetX double

The value to translate for X- axis.

offsetY double

The value to translate for Y- axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

The instance of curves.

ExportToAnsysSound(IEnumerable<IRenderableSeries>)

Export data series to Ansys Sound.

void ExportToAnsysSound(IEnumerable<IRenderableSeries> lstSeriesName)

Parameters

lstSeriesName IEnumerable<IRenderableSeries>

The list of the curve name to perform the operation.