|
FiberBundleHDF5
FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
|
Data Structures | |
| struct | F5Vertices_and_Connectivity |
Typedefs | |
| typedef struct F5Vertices_and_Connectivity | F5Vertices_and_Connectivity_t |
Functions | |
| F5_API void | F5closeVC (F5Vertices_and_Connectivity_t *) |
| F5_API F5Path * | F5write_triangular_surface (hid_t file_id, double time, const char *name, const F5_point3f_t *Coords, int nCoords, const F5_triangle32_t *Triangles, int nTriangles) |
| F5_API F5Path * | F5Cwrite_triangular_surface (hid_t file_id, double time, const char *name, const F5_point3f_t *Coords, int nCoords, const F5_triangle32_t *Triangles, int nTriangles, const char *coordinate_system) |
| F5_API F5Path * | F5Flink_triangular_surface (F5Path *target, double time, const char *gridname, const F5_point3f_t *Coords, int nCoords, const F5_triangle_t *Triangles, int nTriangles, const char *coordinate_system) |
| F5_API void | F5write_triangular_surface_vertex_vectors (hid_t file_id, double time, const char *name, const F5_point3f_t *Coords, int nCoords, const F5_triangle_t *Triangles, int nTriangles, const char *fieldname, const F5_vec3_float_t *VertexNormals) |
| F5_API void | F5write_triangular_surface_cell_vectors (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int nCoords, const F5_triangle_t *Triangles, int nTriangles, const char *fieldname, const F5_vec3_float_t *CellNormals) |
| F5_API void | F5write_regular_surface (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int Xdims, int Ydims) |
| F5_API void | F5write_regular_surface_vertex_field_rgb (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int Xdims, int Ydims, const char *fieldname, F5_rgb_t *data) |
| F5_API void | F5Cwrite_regular_surface (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int Xdims, int Ydims, const char *coordinate_system) |
| F5_API void | F5write_quad_surface (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int nCoords, const F5_quad_t *Quads, int nQuads) |
| F5_API void | F5Cwrite_quad_surface (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int nCoords, const F5_quad_t *Quads, int nQuads, const char *coordinate_system) |
| F5_API void | F5write_irregular_surface (hid_t file_id, double time, const char *name, const F5_vec3_point_t *Coords, int nCells, const int *CellSizes, const int **CellVertices) |
| typedef struct F5Vertices_and_Connectivity F5Vertices_and_Connectivity_t |
Definition at line 35 of file F5surface.h.
| F5_API void F5closeVC | ( | F5Vertices_and_Connectivity_t * | VC | ) |
Close whatever can be closed here.
Definition at line 9 of file F5surface.c.
References F5Vertices_and_Connectivity::Cells, F5Fclose(), and F5Vertices_and_Connectivity::Vertices.
| F5_API void F5Cwrite_quad_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | nCoords, | ||
| const F5_quad_t * | Quads, | ||
| int | nQuads, | ||
| const char * | coordinate_system ) |
Write a surface constructed by cells with four points (quads). Similar to F5write_quad_surface(), but allow specification of non-standard cartesian coordinate system.
| F5_API void F5Cwrite_regular_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | Xdims, | ||
| int | Ydims, | ||
| const char * | coordinate_system ) |
Write a regular surface. Similar to F5write_regular_surface(), but allow specification of non-standard cartesian coordinate system.
Definition at line 167 of file F5surface.c.
References F5close(), F5Dappend(), F5I_add_field(), F5Rcreate_cartesian_nD(), FIBER_HDF5_POSITIONS_STRING, F5Path::FileIDs, _F5_ChartPrecisionTypes::Point_hid_t, F5Path::Representation_hid, and ChartDomain_IDs::SinglePrecision.
Referenced by F5write_regular_surface().
| F5_API F5Path * F5Cwrite_triangular_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_point3f_t * | Coords, | ||
| int | nCoords, | ||
| const F5_triangle32_t * | Triangles, | ||
| int | nTriangles, | ||
| const char * | coordinate_system ) |
Write a triangular surface. Similar to F5write_triangular_surface(), but allow specification of non-standard cartesian coordinate system.
Definition at line 49 of file F5surface.c.
References F5Vertices_and_Connectivity::Cells, F5Cwrite_triangular_surface_vc(), F5Fclose(), and F5Vertices_and_Connectivity::Vertices.
Referenced by F5write_triangular_surface().
| F5_API F5Path * F5Flink_triangular_surface | ( | F5Path * | target, |
| double | time, | ||
| const char * | gridname, | ||
| const F5_point3f_t * | Coords, | ||
| int | nCoords, | ||
| const F5_triangle_t * | Triangles, | ||
| int | nTriangles, | ||
| const char * | coordinate_system ) |
Similar to F5write_triangular_surface(), but instead of writing the vertices and triangles as its own dataset, it references those of another surface object. The vertices and triangles are then shared (in HDF5: symbolic links to the target surface).
| Coords | The vertices of this surface; if none are given, re-use the vertices from the target surface. |
| Triangles | The triangles of this surfaces; if none are given, reuse the triangles from the target surface. |
Definition at line 100 of file F5surface.c.
References F5Fclose(), F5Fwrite_1D(), F5P_DEFAULT, F5Rcreate_cartesian_nD(), F5Rcreate_triangles_as_vertices_topology(), F5T_COORD3_FLOAT, F5T_TRIANGLE32, FIBER_HDF5_FACES, FIBER_HDF5_POINTS, FIBER_HDF5_POSITIONS_STRING, F5Path::File_hid, F5Path::FileIDs, F5Path::Grid_hid, _F5_ChartPrecisionTypes::Point_hid_t, F5Path::Representation_hid, and ChartDomain_IDs::SinglePrecision.
| F5_API void F5write_irregular_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | nCells, | ||
| const int * | CellSizes, | ||
| const int ** | CellVertices ) |
| F5_API void F5write_quad_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | nCoords, | ||
| const F5_quad_t * | Quads, | ||
| int | nQuads ) |
| F5_API void F5write_regular_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | Xdims, | ||
| int | Ydims ) |
Write a regular surface.
| file_id | Some HDF5 id corresponding to some already opened HDF5 file. |
| time | The physical time for this data set. |
| name | Some textual description of this surface; should be simple (avoid spaces, special characters and extensively long names). It is used to identify surfaces over multiple timesteps, so must be identical for subsequent calls on evolving surfaces. |
| Coords | The cartesian coordinates of the points |
| Xdims | Extension in first dimension |
| Ydims | Extension in first dimension |
Definition at line 154 of file F5surface.c.
References F5Cwrite_regular_surface(), FIBER_HDF5_DEFAULT_CHART, and name.
| F5_API void F5write_regular_surface_vertex_field_rgb | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | Xdims, | ||
| int | Ydims, | ||
| const char * | fieldname, | ||
| F5_rgb_t * | data ) |
A regular surface with a data field on the vertices.
/** A regular surface with a data field on the cells.
/** A field of colors given on the vertices.
| F5_API F5Path * F5write_triangular_surface | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_point3f_t * | Coords, | ||
| int | nCoords, | ||
| const F5_triangle32_t * | Triangles, | ||
| int | nTriangles ) |
Write a triangular surface.
| file_id | Some HDF5 id corresponding to some already opened HDF5 file. |
| time | The physical time for this data set. |
| name | Some textual description of this surface; should be simple (avoid spaces, special characters and extensively long names). It is used to identify surfaces over multiple timesteps, so must be identical for subsequent calls on evolving surfaces. |
| Coords | The cartesian coordinates of the points |
| nCoords | How many points are there |
| Triangles | The connectivity of the triangles, ie. which points belong to each triangle |
| nTriangles | How many triangles are there |
Definition at line 23 of file F5surface.c.
References F5Cwrite_triangular_surface(), FIBER_HDF5_DEFAULT_CHART, and name.
| F5_API void F5write_triangular_surface_cell_vectors | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_vec3_point_t * | Coords, | ||
| int | nCoords, | ||
| const F5_triangle_t * | Triangles, | ||
| int | nTriangles, | ||
| const char * | fieldname, | ||
| const F5_vec3_float_t * | CellNormals ) |
| F5_API void F5write_triangular_surface_vertex_vectors | ( | hid_t | file_id, |
| double | time, | ||
| const char * | name, | ||
| const F5_point3f_t * | Coords, | ||
| int | nCoords, | ||
| const F5_triangle_t * | Triangles, | ||
| int | nTriangles, | ||
| const char * | fieldname, | ||
| const F5_vec3_float_t * | VertexNormals ) |