vector_field.h File Reference
`#include <fg/defines.h>`

Go to the source code of this file.

## Data Structures

class | VectorField
| VectorField is a line graph to display two dimensional data. More...

## Namespaces

namespace | forge

## Functions

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_release_vector_field (fg_vector_field pField)
| Destroy vector field object.
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.
FGAPI fg_err | fg_set_vector_field_legend (fg_vector_field pField, const char *pLegend)
| Set vector field 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_get_vector_field_color_buffer (unsigned *pOut, const fg_vector_field pField)
| Get the resource identifier for colors buffer.
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_direction_buffer (unsigned *pOut, const fg_vector_field pField)
| Get the resource identifier for directions 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_size (unsigned *pOut, const fg_vector_field pField)
| Get the colors buffer size in bytes.
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.
FGAPI fg_err | fg_get_vector_field_direction_buffer_size (unsigned *pOut, const fg_vector_field pField)
| Get the directions buffer size in bytes.