ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ScottPlot.Plottables.ScatterGLCustom Class Reference

This plot type uses an OpenGL shader for rendering. It extends ScatterGL to provide additional customizations. More...

Inheritance diagram for ScottPlot.Plottables.ScatterGLCustom:
ScottPlot.Plottables.ScatterGL Scatter ScottPlot.IPlottableGL IDisposable ScottPlot.IPlottable

Public Member Functions

 ScatterGLCustom (IScatterSource data, IPlotControl control)
 
- Public Member Functions inherited from ScottPlot.Plottables.ScatterGL
 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 ()
 
- Public Member Functions inherited from ScottPlot.IPlottable
AxisLimits GetAxisLimits ()
 Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
 

Protected Member Functions

override void InitializeGL ()
 
override void RenderWithOpenGL (SKCanvas canvas, GRContext context)
 
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from ScottPlot.Plottables.ScatterGL
Matrix4d CalcTransform ()
 
void RenderMarkers ()
 
virtual void CleanupGPUMemory ()
 

Protected Attributes

IMarkersDrawProgramJoinsProgram
 
- Protected Attributes inherited from ScottPlot.Plottables.ScatterGL
int VertexBufferObject
 
int VertexArrayObject
 
ILinesDrawProgramLinesProgram
 
IMarkersDrawProgramMarkerProgram
 
double[] Vertices
 
int VerticesCount
 
bool GLHasBeenInitialized = false
 

Additional Inherited Members

- Properties inherited from ScottPlot.Plottables.ScatterGL
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]
 
- Properties inherited from ScottPlot.IPlottableGL
- Properties inherited from ScottPlot.IPlottable
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< LegendItemLegendItems [get]
 Items which will appear in the legend.
 

Detailed Description

This plot type uses an OpenGL shader for rendering. It extends ScatterGL to provide additional customizations.

Constructor & Destructor Documentation

◆ ScatterGLCustom()

ScottPlot.Plottables.ScatterGLCustom.ScatterGLCustom ( IScatterSource  data,
IPlotControl  control 
)
inline

Member Function Documentation

◆ Dispose()

override void ScottPlot.Plottables.ScatterGLCustom.Dispose ( bool  disposing)
inlineprotectedvirtual

Reimplemented from ScottPlot.Plottables.ScatterGL.

◆ InitializeGL()

override void ScottPlot.Plottables.ScatterGLCustom.InitializeGL ( )
inlineprotectedvirtual

Reimplemented from ScottPlot.Plottables.ScatterGL.

◆ RenderWithOpenGL()

override void ScottPlot.Plottables.ScatterGLCustom.RenderWithOpenGL ( SKCanvas  canvas,
GRContext  context 
)
inlineprotectedvirtual

Reimplemented from ScottPlot.Plottables.ScatterGL.

Member Data Documentation

◆ JoinsProgram

IMarkersDrawProgram? ScottPlot.Plottables.ScatterGLCustom.JoinsProgram
protected

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