38                             const unsigned pXPoints, 
const unsigned pYPoints,
    64                                   const float pRed, 
const float pGreen,
    65                                   const float pBlue, 
const float pAlpha);
   169         FGAPI Surface(
const unsigned pNumXPoints, 
const unsigned pNumYPoints, 
const dtype pDataType,
   200                             const float pBlue, 
const float pAlpha);
 FGAPI fg_err fg_get_surface_vertex_buffer(unsigned *pOut, const fg_surface pSurface)
Get the resource identifier for vertices buffer. 
FGAPI Surface(const unsigned pNumXPoints, const unsigned pNumYPoints, const dtype pDataType, const PlotType pPlotType=FG_PLOT_SURFACE, const MarkerType pMarkerType=FG_MARKER_NONE)
Creates a Surface object. 
FGAPI fg_err fg_get_surface_alpha_buffer(unsigned *pOut, const fg_surface pSurface)
Get the resource identifier for alpha values buffer. 
FGAPI fg_err fg_get_surface_alpha_buffer_size(unsigned *pOut, const fg_surface pSurface)
Get the alpha values buffer size in bytes. 
fg_marker_type
Definition: defines.h:166
No marker. 
Definition: defines.h:167
fg_color
Definition: defines.h:139
FGAPI fg_err fg_get_surface_color_buffer_size(unsigned *pOut, const fg_surface pSurface)
Get the colors buffer size in bytes. 
FGAPI unsigned verticesSize() const
Get the vertex buffer size in bytes. 
fg_plot_type
Definition: defines.h:160
dtype
Definition: defines.h:189
FGAPI unsigned colors() const
Get the buffer identifier for color values per vertex. 
FGAPI fg_err fg_set_surface_color(fg_surface pSurface, const float pRed, const float pGreen, const float pBlue, const float pAlpha)
Set the color of surface. 
#define FGAPI
Definition: defines.h:28
void * fg_surface
Definition: defines.h:46
FGAPI fg_err fg_get_surface_color_buffer(unsigned *pOut, const fg_surface pSurface)
Get the resource identifier for colors buffer. 
FGAPI void setColor(const forge::Color pColor)
Set the color of line graph(surface) 
FGAPI void setLegend(const char *pLegend)
Set surface legend. 
fg_err
Definition: defines.h:49
Surface plot. 
Definition: defines.h:163
FGAPI unsigned colorsSize() const
Get the colors buffer size in bytes. 
FGAPI fg_err fg_set_surface_legend(fg_surface pSurface, const char *pLegend)
Set surface legend. 
Surface is a graph to display three dimensional data. 
Definition: surface.h:153
FGAPI ~Surface()
surface Destructor 
FGAPI unsigned alphas() const
Get the buffer identifier for alpha values per vertex. 
FGAPI unsigned vertices() const
Get the buffer identifier for vertices. 
FGAPI fg_err fg_create_surface(fg_surface *pSurface, const unsigned pXPoints, const unsigned pYPoints, const fg_dtype pType, const fg_plot_type pPlotType, const fg_marker_type pMarkerType)
Create a Surface object. 
FGAPI fg_err fg_get_surface_vertex_buffer_size(unsigned *pOut, const fg_surface pSurface)
Get the vertices buffer size in bytes. 
FGAPI fg_err fg_destroy_surface(fg_surface pSurface)
Destroy surface object. 
FGAPI unsigned alphasSize() const
Get the alpha values buffer size in bytes. 
fg_dtype
Definition: defines.h:150