Apply a tri mesh to a face.
More...
Definition at line 143 of file NucMeshShapeData.H.
Inherits NEM::NUCMESH::CopyOverrideShapeData< TriMeshSurface, GroupData >.
◆ CRTPBase
◆ TriMeshSurface()
NEM::NUCMESH::TriMeshSurface::TriMeshSurface |
( |
std::string |
groupName | ) |
|
|
inlineexplicit |
Definition at line 146 of file NucMeshShapeData.H.
References mesh.
CopyOverrideShapeData< TriMeshSurface, GroupData > CRTPBase
◆ setupAlgos()
void NEM::NUCMESH::TriMeshSurface::setupAlgos |
( |
const TopoDS_Shape & |
shape, |
|
|
SMESH_Gen & |
generator, |
|
|
SMESH_Mesh & |
mesh, |
|
|
std::vector< std::unique_ptr< SMESH_Hypothesis >> & |
generatedHyps |
|
) |
| const |
|
overridevirtual |
Default implementation does nothing
- Parameters
-
[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::GroupData.
Definition at line 141 of file NucMeshShapeData.C.
References NEM::NUCMESH::GroupData::setupAlgos().
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.
std::shared_ptr< meshBase > mesh
◆ updateDeleted()
virtual void NEM::GEO::ShapeData::updateDeleted |
( |
const TopoDS_Shape & |
shape, |
|
|
GeoManager & |
geoMetadata |
|
) |
| |
|
inlinevirtualinherited |
Default implementation does nothing
- Parameters
-
[in] | shape | Shape to be removed |
[in,out] | geoMetadata | Geometry-to-data map to alter |
Definition at line 83 of file ShapeData.H.
◆ updateGenerated()
virtual void NEM::GEO::ShapeData::updateGenerated |
( |
const TopoDS_Shape & |
shape, |
|
|
const TopTools_ListOfShape & |
generatedShapes, |
|
|
GeoManager & |
geoMetadata |
|
) |
| const |
|
inlinevirtualinherited |
Default implementation does nothing
- Parameters
-
[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.
◆ updateModified()
|
inlineoverridevirtualinherited |
Implements NEM::GEO::ShapeData.
Definition at line 75 of file NucMeshShapeData.H.
78 for (
auto &modifiedShape : modifiedShapes) {
79 geoMetadata.
getMap()[modifiedShape] =
80 std::shared_ptr<NEM::GEO::ShapeData>{
81 new T{*
static_cast<const T *
>(
this)}};
◆ groupName
std::string NEM::NUCMESH::GroupData::groupName |
|
inherited |
◆ type
SMDSAbs_ElementType NEM::NUCMESH::GroupData::type |
|
inherited |
The documentation for this class was generated from the following files: