12 #ifndef GEOMETRY_GROUP_CLASS 13 #define GEOMETRY_GROUP_CLASS 51 const std::string &
getName()
const;
76 const std::vector<MLINT> &
getGIDs();
161 void getIDs(std::vector<MLINT> &idList)
const;
bool addGroup(GeometryGroup &group)
void addGID(MLINT gid)
Add GeometryGroup that is part of this group.
bool getGroupID(MLINT &id)
Get the ID of the group containing this group.
std::vector< MLINT > groupIDs_
IDs of contained geometry groups.
const std::set< std::string > & getEntityNameSet() const
Get a set of geometry entity names referenced by the GeometryGroup.
GeometryGroup * getByName(std::string name)
Storage for mesh topology and geometry associativity data.
void setAref(MLINT aref)
Set the MeshLinkAttribute AttID referenced by the GeometryGroup.
void setID(MLINT id)
Set the ID of this GeometryGroup.
std::string name_
Group name.
std::set< std::string > entity_names_
Names of contained geometry entities.
MLINT gid_
Group unique ID.
bool hasAref() const
Whether the GeometryGroup has a MeshLinkAttribute AttID reference defined.
void setName(const char *name)
Set the name of the GeometryGroup.
std::vector< GeometryGroup > geometry_groups_
const std::vector< MLINT > & getGIDs()
Return the GeometryGroup IDs that make up this group.
void getIDs(std::vector< MLINT > &idList) const
Return array of GeometryGroup IDs.
Storage for geometry groups.
void addEntityName(const char *name)
Add a geometry entity's name to the GeometryGroup.
const std::vector< std::string > getEntityNames() const
Get a list of geometry entity names referenced by the GeometryGroup.
GeometryGroup()
Default constructor.
MLINT getAref() const
Get the MeshLinkAttribute AttID referenced by the GeometryGroup.
MLINT groupID_
Group ID of containing group.
void setGroupID(MLINT id)
Set the ID of the group containing this group.
MLINT getCount() const
Return count of GeometryGroups.
const std::string & getName() const
Get the name of this GeometryGroup.
void setEntityNames(const std::set< std::string > &names)
Set the GeometryGroup's geometry entity list.
MLINT aref_
Group attribute ID.
~GeometryGroup()
Destructor.
std::vector< MLINT > get_refAttIDs(const MeshAssociativity &meshAssoc) const
Return list of MeshLinkAttribute AttIDs referenced by the GeometryGroup.
MLINT getID() const
Get the ID of this GeometryGroup.
MLINT64 MLINT
Standard integer - value depends on IS64BIT macro.
GeometryGroup * getByID(MLINT id)
bool getArefID(MLINT *aref) const
Return the MeshLinkAttribute AttID referenced by the GeometryGroup.
Storage for geometry association by entity reference.