GraphfGraph3D

GraphfGraph3D —

Synopsis




struct      GraphfGraph3DDataset;
struct      GraphfGraph3DView;
GraphfGraph3DView* graphf_graph_3d_view_alloc
                                            (const Graphf3DView *view,
                                             unsigned n_grids,
                                             const Graphf3DGrid *grids);
GraphfGraph3DView* graphf_graph_3d_view_new (const Graphf3DView *view,
                                             unsigned n_options,
                                             const GraphfOption *options);
void        graphf_graph_3d_view_free       (GraphfGraph3DView *view);
GraphfGraph3DDataset* graphf_graph_3d_dataset_new_points
                                            (guint data_size,
                                             guint n_z_rows,
                                             guint n_y_rows,
                                             guint n_x_rows,
                                             gpointer data,
                                             GDestroyNotify free_points,
                                             const Graphf3DDataOffsets *offsets,
                                             guint n_options,
                                             GraphfOption *options);
GraphfGraph3D* graphf_graph_3d_create       (unsigned n_options,
                                             const GraphfOption *options,
                                             unsigned n_views,
                                             GraphfGraph3DView **views,
                                             unsigned n_datasets,
                                             GraphfGraph3DDataset **datasets);

Description

Details

struct GraphfGraph3DDataset

struct GraphfGraph3DDataset {


  /* bytes per sample */
  guint data_size;

  gpointer data;
  guint n_z_rows;
  guint n_y_rows;
  guint n_x_rows;

  /* if rank==1, the x,y,z_index must all be >=0.
     if rank==2, the z index alone must be >=0. y,z_index may be any value.
     if rank==3, no restrictions. */
  Graphf3DDataOffsets offsets;

  GraphfAffine3D affine;

  /* Grid rendering */
  guint n_surface_lines;
  Graphf3DSurfaceLine *surface_lines;

  /* Surface rendering */
  guint n_surfaces;
  Graphf3DSurface *surfaces;

  Graphf3DMarkerType marker_type;
  guint32 marker_color;
  GDestroyNotify destroy;

  double extrema[3][2];
};


struct GraphfGraph3DView

struct GraphfGraph3DView {

  Graphf3DView view;
  unsigned n_grids;
  Graphf3DGrid *grids;
};


graphf_graph_3d_view_alloc ()

GraphfGraph3DView* graphf_graph_3d_view_alloc
                                            (const Graphf3DView *view,
                                             unsigned n_grids,
                                             const Graphf3DGrid *grids);

view:
Param2:
grids:
Returns :

graphf_graph_3d_view_new ()

GraphfGraph3DView* graphf_graph_3d_view_new (const Graphf3DView *view,
                                             unsigned n_options,
                                             const GraphfOption *options);

view:
Param2:
options:
Returns :

graphf_graph_3d_view_free ()

void        graphf_graph_3d_view_free       (GraphfGraph3DView *view);

view:

graphf_graph_3d_dataset_new_points ()

GraphfGraph3DDataset* graphf_graph_3d_dataset_new_points
                                            (guint data_size,
                                             guint n_z_rows,
                                             guint n_y_rows,
                                             guint n_x_rows,
                                             gpointer data,
                                             GDestroyNotify free_points,
                                             const Graphf3DDataOffsets *offsets,
                                             guint n_options,
                                             GraphfOption *options);

data_size:
n_z_rows:
n_y_rows:
n_x_rows:
data:
free_points:
offsets:
n_options:
options:
Returns :

graphf_graph_3d_create ()

GraphfGraph3D* graphf_graph_3d_create       (unsigned n_options,
                                             const GraphfOption *options,
                                             unsigned n_views,
                                             GraphfGraph3DView **views,
                                             unsigned n_datasets,
                                             GraphfGraph3DDataset **datasets);

Param1:
options:
Param3:
views:
Param5:
datasets:
Returns :