Version: 6.3.1
Public Member Functions | Data Fields

_IDSource Struct Reference

Inheritance diagram for _IDSource:
Inheritance graph
[legend]

Public Member Functions

SMESH::long_arrayGetIDs ()
SMESH::long_arrayGetMeshInfo ()
SMESH::SMESH_Mesh_ptr GetMesh ()
SMESH::array_of_ElementTypeGetTypes ()

Data Fields

SMESH::long_array _ids
SMESH::ElementType _type
SMESH::SMESH_Mesh_ptr _mesh

Detailed Description

Definition at line 420 of file SMESH_MeshEditor_i.cxx.


Member Function Documentation

SMESH::long_array* _IDSource.GetIDs ( )

Definition at line 425 of file SMESH_MeshEditor_i.cxx.

{ return new SMESH::long_array( _ids ); }
SMESH::SMESH_Mesh_ptr _IDSource.GetMesh ( )

Definition at line 427 of file SMESH_MeshEditor_i.cxx.

{ return SMESH::SMESH_Mesh::_duplicate( _mesh ); }
SMESH::long_array* _IDSource.GetMeshInfo ( )

Definition at line 426 of file SMESH_MeshEditor_i.cxx.

{ return 0; }
SMESH::array_of_ElementType* _IDSource.GetTypes ( )

Definition at line 428 of file SMESH_MeshEditor_i.cxx.

  {
    SMESH::array_of_ElementType_var types = new SMESH::array_of_ElementType;
    if ( _ids.length() > 0 ) {
      types->length( 1 );
      types[0] = _type;
    }
    return types._retn();
  }

Field Documentation

Definition at line 422 of file SMESH_MeshEditor_i.cxx.

Referenced by SMESH_MeshEditor_i.MakeIDSource().

SMESH::SMESH_Mesh_ptr _IDSource._mesh

Definition at line 424 of file SMESH_MeshEditor_i.cxx.

Referenced by SMESH_MeshEditor_i.MakeIDSource().

Definition at line 423 of file SMESH_MeshEditor_i.cxx.

Referenced by SMESH_MeshEditor_i.MakeIDSource().

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS