ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ScottPlot.DataSources.SignalConstSource< T > Class Template Reference
Inheritance diagram for ScottPlot.DataSources.SignalConstSource< T >:
ScottPlot.DataSources.SignalSourceGenericArray< T > ScottPlot.DataSources.SignalSourceBase ScottPlot.ISignalSource ScottPlot.IDataSource

Public Member Functions

 SignalConstSource (T[] ys, double period)
 
override SignalRangeY GetLimitsY (int firstIndex, int lastIndex)
 
- Public Member Functions inherited from ScottPlot.DataSources.SignalSourceGenericArray< T >
 SignalSourceGenericArray (T[] ys, double period)
 
IReadOnlyList< double > GetYs ()
 Return an object for working with all Y values.
 
IEnumerable< double > GetYs (int i1, int i2)
 Y values between a range of indexes (inclusive).
 
double GetY (int index)
 Returns the Y position for a given index.
 
override SignalRangeY GetLimitsY (int firstIndex, int lastIndex)
 
PixelColumn GetPixelColumn (IAxes axes, int xPixelIndex)
 Returns range information about the data at a specific pixel location.
 
- Public Member Functions inherited from ScottPlot.DataSources.SignalSourceBase
int GetIndex (double x, bool visibleDataOnly)
 
bool RangeContainsSignal (double xMin, double xMax)
 
double GetX (int index)
 
CoordinateRange GetLimitsX ()
 
CoordinateRange GetLimitsY ()
 
SignalRangeY GetLimitsY (int firstIndex, int lastIndex)
 
AxisLimits GetLimits ()
 
- Public Member Functions inherited from ScottPlot.ISignalSource
int GetIndex (double x, bool clamp)
 Returns the predicted index for the data point nearest a given X position. If clamped, the returned index will be clamped between 0 and Length - 1.
 
CoordinateRange GetLimitsX ()
 
CoordinateRange GetLimitsY ()
 
AxisLimits GetLimits ()
 

Public Attributes

readonly SegmentedTree< T > SegmentedTree = new()
 

Additional Inherited Members

- Protected Attributes inherited from ScottPlot.DataSources.SignalSourceGenericArray< T >
readonly T[] Ys
 
- Properties inherited from ScottPlot.DataSources.SignalSourceGenericArray< T >
override int Length [get]
 The length of the collection.
 
- Properties inherited from ScottPlot.DataSources.SignalSourceBase
double Period [get, set]
 
int Length [get]
 
int MinimumIndex = 0 [get, set]
 
int MaximumIndex = int.MaxValue [get, set]
 
int MinRenderIndex [get]
 
int MaxRenderIndex [get]
 
bool UsePixelOverlap = false [get]
 
double XOffset = 0 [get, set]
 
double YOffset = 0 [get, set]
 
double YScale = 1 [get, set]
 
- Properties inherited from ScottPlot.ISignalSource
double Period [get, set]
 X distance between Y points.
 
double XOffset [get, set]
 X position of the first data point.
 
double YOffset [get, set]
 Shift Y position of all values by this amount.
 
double YScale [get, set]
 Multiply Y values by this scale factor (before applying offset)
 
int MaximumIndex [get, set]
 Do not display data above this index.
 
int MinimumIndex [get, set]
 Do not display data below this index.
 
- Properties inherited from ScottPlot.IDataSource
int MinRenderIndex [get]
 
int MaxRenderIndex [get]
 

Constructor & Destructor Documentation

◆ SignalConstSource()

ScottPlot.DataSources.SignalConstSource< T >.SignalConstSource ( T[]  ys,
double  period 
)
inline

Member Function Documentation

◆ GetLimitsY()

override SignalRangeY ScottPlot.DataSources.SignalConstSource< T >.GetLimitsY ( int  firstIndex,
int  lastIndex 
)
inline

Member Data Documentation

◆ SegmentedTree


The documentation for this class was generated from the following file: