Version: 8.3.0
VISCOUS_2D::_ProxyMeshHolder::_Data Struct Reference
Inheritance diagram for VISCOUS_2D::_ProxyMeshHolder::_Data:

Public Member Functions

 _Data (SMESH_ProxyMesh::Ptr &mesh)
 
bool IsDeletable () const
 

Static Public Member Functions

static
SMESH_subMeshEventListenerData
MakeData (SMESH_subMesh *dependentSM, const int type=0)
 Create a default listener data. More...
 

Data Fields

SMESH_ProxyMesh::Ptr _mesh
 
bool myIsDeletable
 if true, it will be deleted by SMESH_subMesh More...
 
int myType
 to recognize data type More...
 
std::list< SMESH_subMesh * > mySubMeshes
 

Constructor & Destructor Documentation

VISCOUS_2D::_ProxyMeshHolder::_Data::_Data ( SMESH_ProxyMesh::Ptr mesh)

Member Function Documentation

bool SMESH_subMeshEventListenerData::IsDeletable ( ) const
inherited
static SMESH_subMeshEventListenerData* SMESH_subMeshEventListenerData::MakeData ( SMESH_subMesh dependentSM,
const int  type = 0 
)
staticinherited

Create a default listener data.

Parameters
dependentSM- subMesh to store
type- data type
Return values
SMESH_subMeshEventListenerData*- a new listener data

See SMESH_subMeshEventListener::ProcessEvent() to know how the default listener uses it (implementation is in SMESH_subMesh.cxx)

References SMESH_subMeshEventListenerData::mySubMeshes, SMESH_subMeshEventListenerData::myType, and SMESH_subMeshEventListenerData::SMESH_subMeshEventListenerData().

Referenced by StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_ProjectionUtils::SetEventListener(), and VISCOUS_3D::ToClearSubWithMain().

Field Documentation

SMESH_ProxyMesh::Ptr VISCOUS_2D::_ProxyMeshHolder::_Data::_mesh
bool SMESH_subMeshEventListenerData::myIsDeletable
inherited

if true, it will be deleted by SMESH_subMesh

Referenced by SMESH_subMeshEventListenerData::IsDeletable().

int SMESH_subMeshEventListenerData::myType
inherited

to recognize data type

Referenced by SMESH_subMeshEventListenerData::MakeData().