62 if( _meshes.back() == NULL)
63 std::cerr <<
"ERROR: HexahedralMesh getSourceMeshes fatal error\n";
66 return ( !_meshes.empty() );
82 if( _meshes.back() == NULL)
83 std::cerr <<
"ERROR: HexahedralMesh getTargetMeshes fatal error\n";
86 return ( !_meshes.empty() );
106 return ( _object != 0 );
118 return object->
mesh();
129 return object->mesh();
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
bool dataType(DataType _type) const
const QStringList TARGET_OBJECTS("target")
Iterable object range.
bool getObject(const int _identifier, BaseObject *&_object)
Get the object which has the given identifier.
HexahedralMesh * hexahedralMesh(BaseObjectData *_object)
Get an HexahedralMesh from an object.
HexahedralMeshObject * hexahedralMeshObject(BaseObjectData *_object)
Cast an BaseObject to an HexahedralMeshObject if possible.
#define DATA_HEXAHEDRAL_MESH
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
bool getTargetMeshes(std::vector< PolyMesh *> &_meshes)
Get a pointer to every Poly Mesh which is marked as a target mesh.
bool getSourceMeshes(std::vector< PolyMesh *> &_meshes)
Get a pointer to every Poly Mesh which is marked as a source mesh.
MeshT * mesh()
return a pointer to the mesh