MOAB: Mesh Oriented datABase
(version 5.5.0)
|
Functions | |
void | iMesh_getArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, void *tag_values, int *tag_values_allocated, int *tag_values_size, int *err) |
Get tag values of arbitrary type for an array of entities. More... | |
void | iMesh_getIntArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, int **tag_values, int *tag_values_allocated, int *tag_values_size, int *err) |
Get tag values of integer type for an array of entities. More... | |
void | iMesh_getDblArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, double **tag_values, int *tag_values_allocated, int *tag_values_size, int *err) |
Get tag values of double type for an array of entities. More... | |
void | iMesh_getEHArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, iBase_EntityHandle **tag_value, int *tag_value_allocated, int *tag_value_size, int *err) |
Get tag values of entity handle type for an array of entities. More... | |
void | iMesh_getESHArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, iBase_EntitySetHandle **tag_value, int *tag_value_allocated, int *tag_value_size, int *err) |
Get tag values of entity set handle type for an array of. More... | |
void | iMesh_setArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, const void *tag_values, const int tag_values_size, int *err) |
Set tag values of arbitrary type on an array of entities. More... | |
void | iMesh_setIntArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, const int *tag_values, const int tag_values_size, int *err) |
Set tag values of integer type on an array of entities. More... | |
void | iMesh_setDblArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, const double *tag_values, const int tag_values_size, int *err) |
Set tag values of double type on an array of entities. More... | |
void | iMesh_setEHArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, const iBase_EntityHandle *tag_values, const int tag_values_size, int *err) |
Set tag values of entity handle type on an array of entities. More... | |
void | iMesh_setESHArrData (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, const iBase_TagHandle tag_handle, const iBase_EntitySetHandle *tag_values, const int tag_values_size, int *err) |
Set tag values of entity set handle type on an array of. More... | |
Tag Data On Arrays of Entities TagData
void iMesh_getArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
void * | tag_values, | ||
int * | tag_values_allocated, | ||
int * | tag_values_size, | ||
int * | err | ||
) |
Get tag values of arbitrary type for an array of entities.
Get tag values of arbitrary type for an array of entities. Tag data is returned as void*. tag_values_size specifies the size of the memory pointed to by tag_values in terms of bytes. Applications may use this function to get data of any type, not just iBase_BYTES. However, because this function supports data of arbitrary type, in all cases the size specified by tag_values_size always in terms of bytes.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in,out] | tag_values | Pointer to tag data array being returned. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) Array pointer, allocated and occupied sizes argument trio) |
[in,out] | tag_values_allocated | Pointer to allocated size of tag data array |
[out] | tag_values_size | Pointer to occupied size in bytes of tag data |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1879 of file iMesh_MOAB.cpp.
References ALLOC_CHECK_TAG_ARRAY, CHKNONEMPTY, ERROR, ErrorCode, iBase_SUCCESS, iMesh_getTagName(), KEEP_ARRAY, MB_SUCCESS, MB_TAG_NOT_FOUND, MOABI, RETURN, and TAG_HANDLE.
Referenced by iMesh_getData(), iMesh_getDblArrData(), iMesh_getDblData(), iMesh_getEHArrData(), iMesh_getEHData(), iMesh_getESHArrData(), iMesh_getESHData(), iMesh_getIntArrData(), and iMesh_getIntData().
void iMesh_getDblArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
double ** | tag_values, | ||
int * | tag_values_allocated, | ||
int * | tag_values_size, | ||
int * | err | ||
) |
Get tag values of double type for an array of entities.
Get tag values of double type for an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in,out] | tag_values | Pointer to tag data array being returned. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) Array pointer, allocated and occupied sizes argument trio) |
[in,out] | tag_values_allocated | Pointer to allocated size of tag data array |
[out] | tag_values_size | Pointer to occupied size of tag data array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1950 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_DOUBLE, and iMesh_getArrData().
void iMesh_getEHArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
iBase_EntityHandle ** | tag_value, | ||
int * | tag_value_allocated, | ||
int * | tag_value_size, | ||
int * | err | ||
) |
Get tag values of entity handle type for an array of entities.
Get tag values of entity handle type for an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in,out] | tag_value | Pointer to tag data array being returned. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) Array pointer, allocated and occupied sizes argument trio) |
[in,out] | tag_value_allocated | Pointer to allocated size of tag data array |
[out] | tag_value_size | Pointer to occupied size of tag data array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1968 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_ENTITY_HANDLE, and iMesh_getArrData().
void iMesh_getESHArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
iBase_EntitySetHandle ** | tag_value, | ||
int * | tag_value_allocated, | ||
int * | tag_value_size, | ||
int * | err | ||
) |
Get tag values of entity set handle type for an array of.
entities
Get tag values of entity set handle type for an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in,out] | tag_value | Pointer to tag data array being returned. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) Array pointer, allocated and occupied sizes argument trio) |
[in,out] | tag_value_allocated | Pointer to allocated size of tag data array |
[out] | tag_value_size | Pointer to occupied size of tag data array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1986 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_ENTITY_SET_HANDLE, and iMesh_getArrData().
void iMesh_getIntArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
int ** | tag_values, | ||
int * | tag_values_allocated, | ||
int * | tag_values_size, | ||
int * | err | ||
) |
Get tag values of integer type for an array of entities.
Get tag values of integer type for an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in,out] | tag_values | Pointer to tag data array being returned. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) Array pointer, allocated and occupied sizes argument trio) |
[in,out] | tag_values_allocated | Pointer to allocated size of tag data array |
[out] | tag_values_size | Pointer to occupied size of tag data array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1932 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_INTEGER, and iMesh_getArrData().
void iMesh_setArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
const void * | tag_values, | ||
const int | tag_values_size, | ||
int * | err | ||
) |
Set tag values of arbitrary type on an array of entities.
Set tag values of arbitrary type on an array of entities. Tag data is passed as void*. tag_values_size specifies the size of the memory pointed to by tag_values in terms of bytes. Applications may use this function to set data of any type, not just iBase_BYTES. However, because this function supports data of arbitrary type, in all cases the size specified by tag_values_size is always in terms of bytes.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_values | Pointer to tag data being set on entity. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) |
[in] | tag_values_size | Size in bytes of tag data |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2004 of file iMesh_MOAB.cpp.
References CHKERR, CHKNONEMPTY, CONST_HANDLE_ARRAY_PTR, ERROR, ErrorCode, iBase_BAD_ARRAY_SIZE, iBase_SUCCESS, iMesh_getTagSizeBytes(), MOABI, RETURN, and TAG_HANDLE.
Referenced by iMesh_setData(), iMesh_setDblArrData(), iMesh_setDblData(), iMesh_setEHArrData(), iMesh_setEHData(), iMesh_setESHArrData(), iMesh_setESHData(), iMesh_setIntArrData(), and iMesh_setIntData().
void iMesh_setDblArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
const double * | tag_values, | ||
const int | tag_values_size, | ||
int * | err | ||
) |
Set tag values of double type on an array of entities.
Set tag values of double type on an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_values | Pointer to tag data being set on entities. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) |
[in] | tag_values_size | Size in total number of doubles of tag data |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2044 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_DOUBLE, and iMesh_setArrData().
void iMesh_setEHArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
const iBase_EntityHandle * | tag_values, | ||
const int | tag_values_size, | ||
int * | err | ||
) |
Set tag values of entity handle type on an array of entities.
Set tag values of entity handle type on an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_values | Pointer to tag data being set on entities. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) |
[in] | tag_values_size | Size in total number of entity handles of tag |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2057 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_ENTITY_HANDLE, and iMesh_setArrData().
void iMesh_setESHArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
const iBase_EntitySetHandle * | tag_values, | ||
const int | tag_values_size, | ||
int * | err | ||
) |
Set tag values of entity set handle type on an array of.
entities
Set tag values of entity set handle type on an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_values | Pointer to tag data being set on entities. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) |
[in] | tag_values_size | Size in total number of entity handles of tag |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2071 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_ENTITY_SET_HANDLE, and iMesh_setArrData().
void iMesh_setIntArrData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
const iBase_TagHandle | tag_handle, | ||
const int * | tag_values, | ||
const int | tag_values_size, | ||
int * | err | ||
) |
Set tag values of integer type on an array of entities.
Set tag values of integer type on an array of entities.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Entity array on which tag is being set |
[in] | entity_handles_size | Number of entities in array |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_values | Pointer to tag data being set on entities. Note that the implicit INTERLEAVED storage order rule applies (see iBase_StorageOrder) |
[in] | tag_values_size | Size in total number of integers of tag data |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2031 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_INTEGER, and iMesh_setArrData().