NEMoSys  0.63.0
A modular, extensible resource with robust automated mesh generation, mesh quality analysis, adaptive mesh refinement, and data transfer between arbitrary meshes.
NEM::NUCMESH::NucMeshShapeData Class Referenceabstract

Detailed Description

Definition at line 48 of file NucMeshShapeData.H.

Public Member Functions

virtual void setupAlgos (const TopoDS_Shape &shape, SMESH_Gen &generator, SMESH_Mesh &mesh, std::vector< std::unique_ptr< SMESH_Hypothesis >> &generatedHyps) const
 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...
 

Inherits NEM::GEO::ShapeData.

Inherited by NEM::NUCMESH::GroupData.

Member Function Documentation

◆ setupAlgos()

virtual void NEM::NUCMESH::NucMeshShapeData::setupAlgos ( const TopoDS_Shape &  shape,
SMESH_Gen &  generator,
SMESH_Mesh &  mesh,
std::vector< std::unique_ptr< SMESH_Hypothesis >> &  generatedHyps 
) const
inlinevirtual

Default implementation does nothing

Parameters
[in]shapeShape to mesh
[in,out]generatorGenerator that will mesh
[in,out]meshMesh that will mesh
[out]generatedHypsOutput list of created hypotheses/algorithms (for memory management; will be deleted when the GeoManager instance is deleted)

Reimplemented in NEM::NUCMESH::QuadMeshSurface, NEM::NUCMESH::TriMeshSurface, NEM::NUCMESH::EdgeSegments, NEM::NUCMESH::SideSetEdge, and NEM::NUCMESH::GroupData.

Definition at line 60 of file NucMeshShapeData.H.

62  {};

◆ updateDeleted()

virtual void NEM::GEO::ShapeData::updateDeleted ( const TopoDS_Shape &  shape,
GeoManager geoMetadata 
)
inlinevirtualinherited

Default implementation does nothing

Parameters
[in]shapeShape to be removed
[in,out]geoMetadataGeometry-to-data map to alter

Definition at line 83 of file ShapeData.H.

84  {};

◆ 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]shapeArgument to operation; shape existing in geoMetadata
[in]generatedShapesShapes provided by a call to op.Generated(shape) for some geometry operation
[in,out]geoMetadataGeometry-to-data map to alter

Definition at line 62 of file ShapeData.H.

64  {};

◆ updateModified()

virtual void NEM::GEO::ShapeData::updateModified ( const TopoDS_Shape &  shape,
const TopTools_ListOfShape modifiedShapes,
GeoManager geoMetadata 
) const
pure virtualinherited
Parameters
[in]shapeArgument to operation; shape existing in geoMetadata
[in]modifiedShapesShapes provided by a call to op.Modified(shape) for some geometry operation
[in,out]geoMetadataGeometry-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 >.


The documentation for this class was generated from the following file: