OpenCMISS-Zinc 3.0.0 Release C++ API Documentation
|
A generic group field used for grouping local subobjects. More...
#include <fieldgroup.hpp>
Additional Inherited Members | |
![]() | |
enum | ChangeFlag { CHANGE_FLAG_NONE = CMZN_FIELD_CHANGE_FLAG_NONE, CHANGE_FLAG_ADD = CMZN_FIELD_CHANGE_FLAG_ADD, CHANGE_FLAG_REMOVE = CMZN_FIELD_CHANGE_FLAG_REMOVE, CHANGE_FLAG_IDENTIFIER = CMZN_FIELD_CHANGE_FLAG_IDENTIFIER, CHANGE_FLAG_DEFINITION = CMZN_FIELD_CHANGE_FLAG_DEFINITION, CHANGE_FLAG_FULL_RESULT = CMZN_FIELD_CHANGE_FLAG_FULL_RESULT, CHANGE_FLAG_PARTIAL_RESULT = CMZN_FIELD_CHANGE_FLAG_PARTIAL_RESULT, CHANGE_FLAG_RESULT = CMZN_FIELD_CHANGE_FLAG_RESULT, CHANGE_FLAG_FINAL = CMZN_FIELD_CHANGE_FLAG_FINAL } |
enum | CoordinateSystemType { COORDINATE_SYSTEM_TYPE_INVALID = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_INVALID, COORDINATE_SYSTEM_TYPE_RECTANGULAR_CARTESIAN = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_RECTANGULAR_CARTESIAN, COORDINATE_SYSTEM_TYPE_CYLINDRICAL_POLAR = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_CYLINDRICAL_POLAR, COORDINATE_SYSTEM_TYPE_SPHERICAL_POLAR = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_SPHERICAL_POLAR, COORDINATE_SYSTEM_TYPE_PROLATE_SPHEROIDAL = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_PROLATE_SPHEROIDAL, COORDINATE_SYSTEM_TYPE_OBLATE_SPHEROIDAL = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_OBLATE_SPHEROIDAL, COORDINATE_SYSTEM_TYPE_FIBRE = CMZN_FIELD_COORDINATE_SYSTEM_TYPE_FIBRE } |
enum | DomainType { DOMAIN_TYPE_INVALID = CMZN_FIELD_DOMAIN_TYPE_INVALID, DOMAIN_TYPE_POINT = CMZN_FIELD_DOMAIN_TYPE_POINT, DOMAIN_TYPE_NODES = CMZN_FIELD_DOMAIN_TYPE_NODES, DOMAIN_TYPE_DATAPOINTS = CMZN_FIELD_DOMAIN_TYPE_DATAPOINTS, DOMAIN_TYPE_MESH1D = CMZN_FIELD_DOMAIN_TYPE_MESH1D, DOMAIN_TYPE_MESH2D = CMZN_FIELD_DOMAIN_TYPE_MESH2D, DOMAIN_TYPE_MESH3D = CMZN_FIELD_DOMAIN_TYPE_MESH3D, DOMAIN_TYPE_MESH_HIGHEST_DIMENSION = CMZN_FIELD_DOMAIN_TYPE_MESH_HIGHEST_DIMENSION } |
enum | ValueType { VALUE_TYPE_INVALID = CMZN_FIELD_VALUE_TYPE_INVALID, VALUE_TYPE_REAL = CMZN_FIELD_VALUE_TYPE_REAL, VALUE_TYPE_STRING = CMZN_FIELD_VALUE_TYPE_STRING, VALUE_TYPE_MESH_LOCATION = CMZN_FIELD_VALUE_TYPE_MESH_LOCATION } |
typedef int | ChangeFlags |
typedef int | DomainTypes |
![]() | |
cmzn_field_id | id |
A generic group field used for grouping local subobjects.
A generic group field type able to record which local subobjects are in the group (recorded by attached node group and element group fields), or whether the entire local region is in the group. This field returns true/1 at domain locations in the group, false/0 otherwise. The group field also maintains links to child groups in child regions, for building subsets of entire region trees.
|
inline |
Add the local/owning region of this group field to the group, i.e. all local objects/domains. This function is not hierarchical: subregions are not added. Note that subobject groups such as node and element groups attached to this group field are left intact by this function.
|
inline |
Add the specified region to the group i.e. all its objects/domains. The specified region must be in the tree of this group's local/owning region and not already in the group. This function is not hierarchical: subregions are not added.
region | Handle to region to be added. |
|
inline |
Remove all objects from this group, clear all its subgroups, and remove & destroy them if possible.
|
inline |
Remove all local objects from group, but leave subregion subgroups intact.
|
inline |
Query if group contains its local/owning region, i.e. all local objects/ domains. This function is not hierarchical: subregions are not checked.
|
inline |
Query if specified region is in the group i.e. all its objects/domains. The specified region must be in the tree of this group's local/owning region. This function is not hierarchical: subregions are not checked.
region | Handle to region to check. |
|
inline |
Create and return an element group field compatible with the supplied mesh, i.e. able to contain elements from its master mesh. The element group field is registered as a sub-object group for this group. The mesh can be from the group's own region or any subregion of it. Subregion groups for any intermediate and the final mesh-owning regions are automatically created to contain the element group, if needed. Fails if a compatible element group field already exists.
mesh | Handle to a mesh the element group is to be compatible with. If not already a master mesh, the master is obtained from it. |
|
inline |
Create and return a node group field compatible with the supplied nodeset, i.e. able to contain nodes from its master nodeset. The node group field is registered as a sub-object group for this group. The nodeset can be from the group's own region or any subregion of it. Subregion groups for any intermediate and the final nodeset-owning regions are automatically created to contain the node group, if needed. Fails if a compatible node group field already exists.
nodeset | Handle to a nodeset the node group is to be compatible with. If not already a master nodeset, the master is obtained from it. |
|
inline |
Create a group field for the specified subregion, include it in the specified group and return a handle to the newly created sub-group field. The specified region must be in the tree of this group's local/owning region and not already in the group.
region | Handle to region to create a subgroup for. |
|
inline |
Find and return handle to the sub-object element group compatible with the specified mesh, if one exists for the group. The mesh can be from the group's own region or any subregion of it.
mesh | Handle to a mesh the element group is to be compatible with. If not already a master mesh, the master is obtained from it. |
|
inline |
Find and return handle to the sub-object node group compatible with the specified nodeset, if one exists for the group. The nodeset can be from the group's own region or any subregion of it.
nodeset | Handle to a nodeset the node group is to be compatible with. If not already a master nodeset, the master is obtained from it. |
|
inline |
Return the first non-empty subregion group in the group tree including itself.
|
inline |
Get a subgroup of the given group for the specified domain.
domainField | the domain field |
|
inline |
Get the group field for subregion in the specified group if it exists. The specified region must be in the tree of this group's local/owning region.
region | Handle to region to get the subgroup for. |
|
inline |
Query if this group and all its subregion and sub-object groups are empty.
|
inline |
Query if this group contains no objects from the local region.
|
inline |
Remove and destroy all empty subregion and subobject groups of this group. Empty subgroups in use by other clients may remain after call.
|
inline |
Remove the local/owning region of this group field from the group, i.e. all local objects/domains. This function is not hierarchical: subregions are not removed. Note that subobject groups such as node and element groups attached to this group field are left intact by this function.
|
inline |
Remove specified region from group if currently in it. The specified region must be in the tree of this group's local/owning region. This function is not hierarchical: subregions are not removed.
region | Handle to region to be removed. |