Go to the documentation of this file.
35 const unsigned pNPoints,
70 const float pRed,
const float pGreen,
71 const float pBlue,
const float pAlpha);
233 const float pBlue,
const float pAlpha);
FGAPI fg_err fg_get_vector_field_color_buffer_size(unsigned *pOut, const fg_vector_field pField)
Get the colors buffer size in bytes.
FGAPI fg_err fg_get_vector_field_direction_buffer(unsigned *pOut, const fg_vector_field pField)
Get the resource identifier for directions buffer.
FGAPI fg_err fg_get_vector_field_alpha_buffer_size(unsigned *pOut, const fg_vector_field pField)
Get the alpha values buffer size in bytes.
dtype
Definition: defines.h:188
FGAPI unsigned directionsSize() const
Get the directions buffer size.
fg_err
Definition: defines.h:49
FGAPI fg_err fg_get_vector_field_alpha_buffer(unsigned *pOut, const fg_vector_field pField)
Get the resource identifier for alpha values buffer.
FGAPI fg_err fg_get_vector_field_vertex_buffer_size(unsigned *pOut, const fg_vector_field pField)
Get the vertices buffer size in bytes.
FGAPI fg_err fg_get_vector_field_color_buffer(unsigned *pOut, const fg_vector_field pField)
Get the resource identifier for colors buffer.
FGAPI ~VectorField()
VectorField Destructor.
FGAPI fg_err fg_release_vector_field(fg_vector_field pField)
Destroy vector field object.
FGAPI fg_vector_field get() const
Get the handle to internal implementation of VectorField.
FGAPI void setLegend(const char *pLegend)
Set VectorField legend.
FGAPI fg_err fg_get_vector_field_vertex_buffer(unsigned *pOut, const fg_vector_field pField)
Get the resource identifier for vertices buffer.
FGAPI fg_err fg_set_vector_field_legend(fg_vector_field pField, const char *pLegend)
Set vector field legend.
FGAPI unsigned colorsSize() const
Get the colors buffer size in bytes.
fg_dtype
Definition: defines.h:150
FGAPI unsigned verticesSize() const
Get the vertex buffer size in bytes.
FGAPI void setColor(const forge::Color pColor)
Set global color for the field lines.
VectorField is a line graph to display two dimensional data.
Definition: vector_field.h:180
fg_color
Definition: defines.h:139
FGAPI unsigned vertices() const
Get the buffer identifier for vertices.
FGAPI unsigned colors() const
Get the buffer identifier for color values per vertex.
FGAPI unsigned alphas() const
Get the buffer identifier for alpha values per vertex.
FGAPI VectorField(const unsigned pNumPoints, const dtype pDataType, const ChartType pChartType)
Creates a VectorField object.
FGAPI unsigned alphasSize() const
Get the alpha values buffer size in bytes.
FGAPI fg_err fg_create_vector_field(fg_vector_field *pField, const unsigned pNPoints, const fg_dtype pType, const fg_chart_type pChartType)
Create a Vector field object.
FGAPI fg_err fg_retain_vector_field(fg_vector_field *pOut, fg_vector_field pIn)
Increase reference count of the resource.
FGAPI fg_err fg_get_vector_field_direction_buffer_size(unsigned *pOut, const fg_vector_field pField)
Get the directions buffer size in bytes.
fg_chart_type
Definition: defines.h:117
FGAPI fg_err fg_set_vector_field_color(fg_vector_field pField, const float pRed, const float pGreen, const float pBlue, const float pAlpha)
Set the color of vector field.
void * fg_vector_field
Definition: defines.h:47
FGAPI unsigned directions() const
Get the buffer identifier for field direction per vertex values.
#define FGAPI
Definition: defines.h:28