diff options
Diffstat (limited to 'intern/openvdb/openvdb_capi.h')
-rw-r--r-- | intern/openvdb/openvdb_capi.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/intern/openvdb/openvdb_capi.h b/intern/openvdb/openvdb_capi.h index 826481bde34..ea963a269fc 100644 --- a/intern/openvdb/openvdb_capi.h +++ b/intern/openvdb/openvdb_capi.h @@ -58,13 +58,8 @@ typedef enum OpenVDBLevelSet_GridSampler { OPENVDB_LEVELSET_GRIDSAMPLER_QUADRATIC = 3, } OpenVDBLevelSet_Gridsampler; -struct OpenVDBReader; -struct OpenVDBWriter; struct OpenVDBTransform; struct OpenVDBLevelSet; -struct OpenVDBFloatGrid; -struct OpenVDBIntGrid; -struct OpenVDBVectorGrid; struct OpenVDBVolumeToMeshData { int tottriangles; @@ -108,78 +103,6 @@ enum { VEC_CONTRAVARIANT_ABSOLUTE = 4, }; -struct OpenVDBFloatGrid *OpenVDB_export_grid_fl(struct OpenVDBWriter *writer, - const char *name, - float *data, - const int res[3], - float matrix[4][4], - const float clipping, - struct OpenVDBFloatGrid *mask); - -struct OpenVDBIntGrid *OpenVDB_export_grid_ch(struct OpenVDBWriter *writer, - const char *name, - unsigned char *data, - const int res[3], - float matrix[4][4], - const float clipping, - struct OpenVDBFloatGrid *mask); - -struct OpenVDBVectorGrid *OpenVDB_export_grid_vec(struct OpenVDBWriter *writer, - const char *name, - const float *data_x, - const float *data_y, - const float *data_z, - const int res[3], - float matrix[4][4], - short vec_type, - const float clipping, - const bool is_color, - struct OpenVDBFloatGrid *mask); - -void OpenVDB_import_grid_fl(struct OpenVDBReader *reader, - const char *name, - float **data, - const int res[3]); - -void OpenVDB_import_grid_ch(struct OpenVDBReader *reader, - const char *name, - unsigned char **data, - const int res[3]); - -void OpenVDB_import_grid_vec(struct OpenVDBReader *reader, - const char *name, - float **data_x, - float **data_y, - float **data_z, - const int res[3]); - -struct OpenVDBWriter *OpenVDBWriter_create(void); -void OpenVDBWriter_free(struct OpenVDBWriter *writer); -void OpenVDBWriter_set_flags(struct OpenVDBWriter *writer, const int flag, const bool half); -void OpenVDBWriter_add_meta_fl(struct OpenVDBWriter *writer, const char *name, const float value); -void OpenVDBWriter_add_meta_int(struct OpenVDBWriter *writer, const char *name, const int value); -void OpenVDBWriter_add_meta_v3(struct OpenVDBWriter *writer, - const char *name, - const float value[3]); -void OpenVDBWriter_add_meta_v3_int(struct OpenVDBWriter *writer, - const char *name, - const int value[3]); -void OpenVDBWriter_add_meta_mat4(struct OpenVDBWriter *writer, - const char *name, - float value[4][4]); -void OpenVDBWriter_write(struct OpenVDBWriter *writer, const char *filename); - -struct OpenVDBReader *OpenVDBReader_create(void); -void OpenVDBReader_free(struct OpenVDBReader *reader); -void OpenVDBReader_open(struct OpenVDBReader *reader, const char *filename); -void OpenVDBReader_get_meta_fl(struct OpenVDBReader *reader, const char *name, float *value); -void OpenVDBReader_get_meta_int(struct OpenVDBReader *reader, const char *name, int *value); -void OpenVDBReader_get_meta_v3(struct OpenVDBReader *reader, const char *name, float value[3]); -void OpenVDBReader_get_meta_v3_int(struct OpenVDBReader *reader, const char *name, int value[3]); -void OpenVDBReader_get_meta_mat4(struct OpenVDBReader *reader, - const char *name, - float value[4][4]); - struct OpenVDBTransform *OpenVDBTransform_create(void); void OpenVDBTransform_free(struct OpenVDBTransform *transform); void OpenVDBTransform_create_linear_transform(struct OpenVDBTransform *transform, |