MOAB: Mesh Oriented datABase  (version 5.4.1)
MBiGeom Class Reference

#include <FBiGeom_MOAB.hpp>

+ Collaboration diagram for MBiGeom:

Public Member Functions

 MBiGeom ()
 MBiGeom (MBiMesh *mbi, moab::FBEngine *fbe)
 ~MBiGeom ()
moab::InterfacemoabItf ()
moab::FBEngineFBItf ()
MBiMeshmbimesh ()

Private Attributes

MBiMesh_mbimesh
moab::FBEngine_fbe
bool _mbimeshCreated
bool _fbeCreated

Detailed Description

Definition at line 20 of file FBiGeom_MOAB.hpp.


Constructor & Destructor Documentation

MBiGeom::MBiGeom ( ) [inline]

Definition at line 27 of file FBiGeom_MOAB.hpp.

References _fbe, _fbeCreated, _mbimesh, _mbimeshCreated, and MBiMesh::mbImpl.

    {
        // this will instance a moab Core, too
        _mbimesh             = new MBiMesh( NULL );
        moab::Interface* mbi = _mbimesh->mbImpl;
        // pass mbi, so they will point to the same implementation
        _fbe            = new FBEngine( mbi );
        _mbimeshCreated = _fbeCreated = true;
    }
MBiGeom::MBiGeom ( MBiMesh mbi,
moab::FBEngine fbe 
) [inline]

Definition at line 36 of file FBiGeom_MOAB.hpp.

References _fbe, _fbeCreated, _mbimesh, and _mbimeshCreated.

    {
        _mbimesh        = mbi;
        _fbe            = fbe;
        _mbimeshCreated = _fbeCreated = false;
    }
MBiGeom::~MBiGeom ( ) [inline]

Definition at line 42 of file FBiGeom_MOAB.hpp.

References _fbe, _fbeCreated, _mbimesh, and _mbimeshCreated.

    {
        // some cleanup here
        if( _fbeCreated ) delete _fbe;
        if( _mbimeshCreated ) delete _mbimesh;
    }

Member Function Documentation

Definition at line 52 of file FBiGeom_MOAB.hpp.

References _fbe.

    {
        return _fbe;
    }
MBiMesh* MBiGeom::mbimesh ( ) [inline]

Definition at line 56 of file FBiGeom_MOAB.hpp.

References _mbimesh.

    {
        return _mbimesh;
    }

Definition at line 48 of file FBiGeom_MOAB.hpp.

References _mbimesh, and MBiMesh::mbImpl.

    {
        return _mbimesh->mbImpl;
    }

Member Data Documentation

Definition at line 23 of file FBiGeom_MOAB.hpp.

Referenced by FBItf(), MBiGeom(), and ~MBiGeom().

bool MBiGeom::_fbeCreated [private]

Definition at line 24 of file FBiGeom_MOAB.hpp.

Referenced by MBiGeom(), and ~MBiGeom().

Definition at line 22 of file FBiGeom_MOAB.hpp.

Referenced by MBiGeom(), mbimesh(), moabItf(), and ~MBiGeom().

bool MBiGeom::_mbimeshCreated [private]

Definition at line 24 of file FBiGeom_MOAB.hpp.

Referenced by MBiGeom(), and ~MBiGeom().

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines