Class to hold the material/physical group of a geometry. More...
Definition at line 92 of file NucMeshShapeData.H.
Public Member Functions | |
GroupData (std::string groupName, SMDSAbs_ElementType type) | |
void | setupAlgos (const TopoDS_Shape &shape, SMESH_Gen &generator, SMESH_Mesh &mesh, std::vector< std::unique_ptr< SMESH_Hypothesis >> &generatedHyps) const override |
Method that is called when a GeoManager instance tries to mesh shape . More... | |
virtual void | updateGenerated (const TopoDS_Shape &shape, const TopTools_ListOfShape &generatedShapes, GeoManager &geoMetadata) const |
Method that is called when a geometry operation generates new shapes. More... | |
virtual void | updateModified (const TopoDS_Shape &shape, const TopTools_ListOfShape &modifiedShapes, GeoManager &geoMetadata) const =0 |
Method that is called when a geometry operation modifies shape . More... | |
virtual void | updateDeleted (const TopoDS_Shape &shape, GeoManager &geoMetadata) |
Method that is called when geoMetadata removes shape . More... | |
Public Attributes | |
std::string | groupName |
SMDSAbs_ElementType | type |
Inherits NEM::NUCMESH::NucMeshShapeData.
Inherited by NEM::NUCMESH::CopyOverrideShapeData< QuadMeshSurface, GroupData >, NEM::NUCMESH::CopyOverrideShapeData< SideSetEdge, GroupData >, and NEM::NUCMESH::CopyOverrideShapeData< TriMeshSurface, GroupData >.
|
inline |
|
overridevirtual |
Default implementation does nothing
[in] | shape | Shape to mesh |
[in,out] | generator | Generator that will mesh |
[in,out] | mesh | Mesh that will mesh |
[out] | generatedHyps | Output list of created hypotheses/algorithms (for memory management; will be deleted when the GeoManager instance is deleted) |
Reimplemented from NEM::NUCMESH::NucMeshShapeData.
Reimplemented in NEM::NUCMESH::QuadMeshSurface, NEM::NUCMESH::TriMeshSurface, NEM::NUCMESH::EdgeSegments, and NEM::NUCMESH::SideSetEdge.
Definition at line 56 of file NucMeshShapeData.C.
References NEM::MSH::containerWrapper(), groupName, and type.
Referenced by NEM::NUCMESH::SideSetEdge::setupAlgos(), NEM::NUCMESH::TriMeshSurface::setupAlgos(), and NEM::NUCMESH::QuadMeshSurface::setupAlgos().
|
inlinevirtualinherited |
Default implementation does nothing
[in] | shape | Shape to be removed |
[in,out] | geoMetadata | Geometry-to-data map to alter |
Definition at line 83 of file ShapeData.H.
|
inlinevirtualinherited |
Default implementation does nothing
[in] | shape | Argument to operation; shape existing in geoMetadata |
[in] | generatedShapes | Shapes provided by a call to op.Generated(shape) for some geometry operation |
[in,out] | geoMetadata | Geometry-to-data map to alter |
Definition at line 62 of file ShapeData.H.
|
pure virtualinherited |
[in] | shape | Argument to operation; shape existing in geoMetadata |
[in] | modifiedShapes | Shapes provided by a call to op.Modified(shape) for some geometry operation |
[in,out] | geoMetadata | Geometry-to-data map to alter |
Implemented in NEM::NUCMESH::CopyOverrideShapeData< SideSetEdge, GroupData >, NEM::NUCMESH::CopyOverrideShapeData< TriMeshSurface, GroupData >, NEM::NUCMESH::CopyOverrideShapeData< EdgeSegments, SideSetEdge >, and NEM::NUCMESH::CopyOverrideShapeData< QuadMeshSurface, GroupData >.
std::string NEM::NUCMESH::GroupData::groupName |
Definition at line 102 of file NucMeshShapeData.H.
Referenced by setupAlgos().
SMDSAbs_ElementType NEM::NUCMESH::GroupData::type |
Definition at line 103 of file NucMeshShapeData.H.
Referenced by setupAlgos().