MOAB: Mesh Oriented datABase
(version 5.1.1)
|
Functions | |
void | iMesh_getData (iMesh_Instance instance, const iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, void *tag_value, int *tag_value_allocated, int *tag_value_size, int *err) |
Get the value of a tag of arbitrary type on an entity. | |
void | iMesh_getIntData (iMesh_Instance instance, const iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, int *out_data, int *err) |
void | iMesh_getDblData (iMesh_Instance instance, const iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, double *out_data, int *err) |
void | iMesh_getEHData (iMesh_Instance instance, const iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, iBase_EntityHandle *out_data, int *err) |
void | iMesh_getESHData (iMesh_Instance instance, const iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, iBase_EntitySetHandle *out_data, int *err) |
Get the value of a tag of entity set handle type on an. | |
void | iMesh_setData (iMesh_Instance instance, iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, const void *tag_value, const int tag_value_size, int *err) |
Set a tag value of arbitrary type on an entity. | |
void | iMesh_setIntData (iMesh_Instance instance, iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, const int tag_value, int *err) |
void | iMesh_setDblData (iMesh_Instance instance, iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, const double tag_value, int *err) |
void | iMesh_setEHData (iMesh_Instance instance, iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, const iBase_EntityHandle tag_value, int *err) |
void | iMesh_setESHData (iMesh_Instance instance, iBase_EntityHandle entity_handle, const iBase_TagHandle tag_handle, const iBase_EntitySetHandle tag_value, int *err) |
void iMesh_getData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
void * | tag_value, | ||
int * | tag_value_allocated, | ||
int * | tag_value_size, | ||
int * | err | ||
) |
Get the value of a tag of arbitrary type on an entity.
Get the value of a tag of arbitrary type on an entity. Tag data is passed back as void*. tag_value_size specifies the size of the memory pointed to by tag_value in terms of bytes. Applications may use this function to get data of any type, not just iBase_BYTES. However, because this function supports arbitrary type, in all cases the size specified by tag_value_size is always in terms of bytes.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[in,out] | tag_value | Pointer to tag data array being queried Array pointer, allocated and occupied sizes argument trio) |
[in,out] | tag_value_allocated | Pointer to tag data array allocated size |
[out] | tag_value_size | Pointer to occupied size in bytes of tag data |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2140 of file iMesh_MOAB.cpp.
References iMesh_getArrData.
{ iMesh_getArrData(instance, &entity_handle, 1, tag_handle, tag_value, tag_value_allocated, tag_value_size, err); }
void iMesh_getDblData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
double * | out_data, | ||
int * | err | ||
) |
Get the value of a tag of double type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[out] | out_data | Pointer to tag value returned from function |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2164 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_DOUBLE, and iMesh_getArrData.
{ CHKTAGTYPE(tag_handle, iBase_DOUBLE); void *val_ptr = out_data; int val_size = sizeof(double); iMesh_getArrData(instance, &entity_handle, 1, tag_handle, &val_ptr, &val_size, &val_size, err); }
void iMesh_getEHData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
iBase_EntityHandle * | out_data, | ||
int * | err | ||
) |
Get the value of a tag of entity handle type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[out] | out_data | Pointer to tag value returned from function |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2176 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, moab::dum, iBase_ENTITY_HANDLE, and iMesh_getArrData.
{ CHKTAGTYPE(tag_handle, iBase_ENTITY_HANDLE); void *val_ptr = out_data; int dum = sizeof(iBase_EntityHandle); iMesh_getArrData(instance, &entity_handle, 1, tag_handle, &val_ptr, &dum, &dum, err); }
void iMesh_getESHData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
iBase_EntitySetHandle * | out_data, | ||
int * | err | ||
) |
Get the value of a tag of entity set handle type on an.
entity Get the value of a tag of entity set handle type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[out] | out_data | Pointer to tag value returned from function |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2188 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, moab::dum, iBase_ENTITY_SET_HANDLE, and iMesh_getArrData.
{ CHKTAGTYPE(tag_handle, iBase_ENTITY_SET_HANDLE); void *val_ptr = out_data; int dum = sizeof(iBase_EntityHandle); iMesh_getArrData(instance, &entity_handle, 1, tag_handle, &val_ptr, &dum, &dum, err); }
void iMesh_getIntData | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
int * | out_data, | ||
int * | err | ||
) |
Get the value of a tag of integer type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[out] | out_data | Pointer to tag value returned from function |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2152 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_INTEGER, and iMesh_getArrData.
{ CHKTAGTYPE(tag_handle, iBase_INTEGER); void *val_ptr = out_data; int val_size = sizeof(int); iMesh_getArrData(instance, &entity_handle, 1, tag_handle, &val_ptr, &val_size, &val_size, err); }
void iMesh_setData | ( | iMesh_Instance | instance, |
iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
const void * | tag_value, | ||
const int | tag_value_size, | ||
int * | err | ||
) |
Set a tag value of arbitrary type on an entity.
Set a tag value of arbitrary type on an entity. Tag data is passed as void*. tag_value_size specifies the size of the memory pointed to by tag_value 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_value_size is always in terms of bytes.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_value | Pointer to tag data being set on entity |
[in] | tag_value_size | Size in bytes of tag data |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2200 of file iMesh_MOAB.cpp.
References iMesh_setArrData.
{ iMesh_setArrData(instance, &entity_handle, 1, tag_handle, tag_value, tag_value_size, err); }
void iMesh_setDblData | ( | iMesh_Instance | instance, |
iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
const double | tag_value, | ||
int * | err | ||
) |
Set a tag value of double type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_value | Tag value being set on entity |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2222 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_DOUBLE, and iMesh_setArrData.
{ CHKTAGTYPE(tag_handle, iBase_DOUBLE); iMesh_setArrData(instance, &entity_handle, 1, tag_handle, reinterpret_cast<const char*>(&tag_value), sizeof(double), err); }
void iMesh_setEHData | ( | iMesh_Instance | instance, |
iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
const iBase_EntityHandle | tag_value, | ||
int * | err | ||
) |
Set a tag value of entity handle type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_value | Tag value being set on entity |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2235 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_ENTITY_HANDLE, and iMesh_setArrData.
{ CHKTAGTYPE(tag_handle, iBase_ENTITY_HANDLE); iMesh_setArrData(instance, &entity_handle, 1, tag_handle, reinterpret_cast<const char*>(&tag_value), sizeof(iBase_EntityHandle), err); }
void iMesh_setESHData | ( | iMesh_Instance | instance, |
iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
const iBase_EntitySetHandle | tag_value, | ||
int * | err | ||
) |
Set a tag value of entity set handle type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_value | Tag value being set on entity |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2247 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_ENTITY_SET_HANDLE, and iMesh_setArrData.
{ CHKTAGTYPE(tag_handle, iBase_ENTITY_SET_HANDLE); iMesh_setArrData(instance, &entity_handle, 1, tag_handle, reinterpret_cast<const char*>(&tag_value), sizeof(iBase_EntityHandle), err); }
void iMesh_setIntData | ( | iMesh_Instance | instance, |
iBase_EntityHandle | entity_handle, | ||
const iBase_TagHandle | tag_handle, | ||
const int | tag_value, | ||
int * | err | ||
) |
Set a tag value of integer type on an entity.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity on which tag is being set |
[in] | tag_handle | Tag being set on an entity |
[in] | tag_value | Tag value being set on entity |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2210 of file iMesh_MOAB.cpp.
References CHKTAGTYPE, iBase_INTEGER, and iMesh_setArrData.
{ CHKTAGTYPE(tag_handle, iBase_INTEGER); iMesh_setArrData(instance, &entity_handle, 1, tag_handle, reinterpret_cast<const char*>(&tag_value), sizeof(int), err); }