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::GEO::ShapeData Class Referenceabstract

Data stored in an instance of GeoManager. More...

Detailed Description

Definition at line 50 of file ShapeData.H.

Public Member Functions

virtual ~ShapeData ()=default
 
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...
 

Protected Member Functions

 ShapeData ()=default
 
 ShapeData (const ShapeData &)=default
 
 ShapeData (ShapeData &&)=default
 
ShapeDataoperator= (const ShapeData &)=default
 
ShapeDataoperator= (ShapeData &&)=default
 

Inherited by NEM::NUCMESH::NucMeshShapeData.

Constructor & Destructor Documentation

◆ ~ShapeData()

virtual NEM::GEO::ShapeData::~ShapeData ( )
virtualdefault

◆ ShapeData() [1/3]

NEM::GEO::ShapeData::ShapeData ( )
protecteddefault

◆ ShapeData() [2/3]

NEM::GEO::ShapeData::ShapeData ( const ShapeData )
protecteddefault

◆ ShapeData() [3/3]

NEM::GEO::ShapeData::ShapeData ( ShapeData &&  )
protecteddefault

Member Function Documentation

◆ operator=() [1/2]

ShapeData& NEM::GEO::ShapeData::operator= ( const ShapeData )
protecteddefault

◆ operator=() [2/2]

ShapeData& NEM::GEO::ShapeData::operator= ( ShapeData &&  )
protecteddefault

◆ updateDeleted()

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

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
inlinevirtual

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 virtual
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: