ScottPlot
|
This plot type uses an OpenGL shader for rendering. More...
Public Member Functions | |
ScatterGL (IScatterSource data, IPlotControl control) | |
override void | Render (RenderPack rp) |
Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable. | |
void | GLFinish () |
Used to manually synchronize rendering. | |
void | StoreGLState () |
Store OpenGL atributes. | |
void | RestoreGLState () |
Restore previously saved OpenGL atributes. | |
void | Dispose () |
![]() | |
AxisLimits | GetAxisLimits () |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable. | |
Protected Member Functions | |
virtual void | InitializeGL () |
Matrix4d | CalcTransform () |
virtual void | RenderWithOpenGL (SKCanvas canvas, GRContext context) |
void | RenderMarkers () |
virtual void | Dispose (bool disposing) |
virtual void | CleanupGPUMemory () |
Protected Attributes | |
int | VertexBufferObject |
int | VertexArrayObject |
ILinesDrawProgram? | LinesProgram |
IMarkersDrawProgram? | MarkerProgram |
double[] | Vertices |
int | VerticesCount |
bool | GLHasBeenInitialized = false |
Properties | |
IPlotControl | PlotControl [get] |
The control used to display this plottable. It is used to access the GRContext at render time. | |
GLFallbackRenderStrategy | Fallback = GLFallbackRenderStrategy.Software [get, set] |
![]() | |
![]() | |
bool | IsVisible [get, set] |
Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method). | |
IAxes | Axes [get, set] |
This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time. | |
IEnumerable< LegendItem > | LegendItems [get] |
Items which will appear in the legend. | |
This plot type uses an OpenGL shader for rendering.
|
inline |
|
inlineprotected |
|
inlineprotectedvirtual |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in ScottPlot.Plottables.ScatterGLCustom.
void ScottPlot.Plottables.ScatterGL.GLFinish | ( | ) |
Used to manually synchronize rendering.
Implements ScottPlot.IPlottableGL.
|
inlineprotectedvirtual |
Reimplemented in ScottPlot.Plottables.ScatterGLCustom.
|
inline |
Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
Implements ScottPlot.IPlottable.
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in ScottPlot.Plottables.ScatterGLCustom.
|
inline |
Restore previously saved OpenGL atributes.
Implements ScottPlot.IPlottableGL.
|
inline |
Store OpenGL atributes.
Implements ScottPlot.IPlottableGL.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
getset |
|
get |
The control used to display this plottable. It is used to access the GRContext at render time.
Implements ScottPlot.IPlottableGL.