12 #ifndef MESH_STRING_CLASS 13 #define MESH_STRING_CLASS 48 const std::string &name);
58 const std::string &ref,
62 const std::string &name);
77 const std::string &name,
90 const std::string &ref,
94 const std::string &name,
123 virtual void getMeshEdges(std::vector<const MeshEdge *> &edges)
const;
void deleteEdgeByInds(MLINT i1, MLINT i2)
Delete an MeshEdge from the MeshModel by point indices.
std::map< std::string, MeshEdge * > MeshEdgeNameMap
static MLUINT nameCounter_
The unique name counter for strings.
std::map< pwiFnvHash::FNVHash, MeshPoint * > pointMap_
Map point index hash to point.
MeshTopoIDToNameMap meshEdgeIDToNameMap_
Map edge unique ID to edge name.
MeshTopoRefToNameMap meshEdgeRefToNameMap_
Map edge application-defined reference string th edge name.
Storage for mesh topology and geometry associativity data.
MLUINT64 MLUINT
Standard unsigned integer - value depends on IS64BIT macro.
bool addEdge(MLINT i1, MLINT i2, MLINT mid, MLINT aref, MLINT gref, std::string &name, ParamVertex *pv1, ParamVertex *pv2, bool mapID)
Add a MeshEdge to the MeshModel using indices.
MLINT getNumEdges() const
Return the number of edges in the MeshModel.
MLUINT edgeCounter_
Serial counter as edges are added to the string (zero-based)
3D (volume) mesh topology
MeshEdge * getMeshEdgeByRef(const std::string &ref) const
Find a MeshEdge by reference.
std::map< std::string, std::string > MeshTopoRefToNameMap
std::map< std::string, MeshString * > MeshStringNameMap
MeshPointNameMap meshPointNameMap_
Map point name to point.
std::map< pwiFnvHash::FNVHash, MeshEdge * > edgeMap_
Map edge indices hash to edge.
MeshTopoIDToNameMap meshPointIDToNameMap_
Map point ID to point name.
std::map< MLINT, std::string > MeshTopoIDToNameMap
virtual MLUINT & getNameCounter()
Returns the current value of the counter used for generating unique mesh entity names.
virtual const std::string & getBaseName() const
Returns the base name used for generating unique mesh entity names.
MeshEdge * getMeshEdgeByName(const std::string &name) const
Find a MeshEdge by name.
std::map< std::string, MeshPoint * > MeshPointNameMap
MeshEdgeNameMap meshEdgeNameMap_
Map edge name to edge.
MeshEdge * findEdgeByInds(MLINT i1, MLINT i2) const
Find an edge in the MeshString associativity data.
Base class for mesh topology entities.
Parametric geometry data.
MLINT64 MLINT
Standard integer - value depends on IS64BIT macro.
void getMeshEdges(std::vector< const MeshEdge * > &edges) const
Return list of MeshEdge in the MeshModel.