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();
bool getSourceMeshes(std::vector< PolyMesh *> &_meshes)
Get a pointer to every Poly Mesh which is marked as a source mesh.
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.
#define DATA_HEXAHEDRAL_MESH
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
bool dataType(DataType _type) const
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.
const QStringList TARGET_OBJECTS("target")
Iterable object range.
HexahedralMeshObject * hexahedralMeshObject(BaseObjectData *_object)
Cast an BaseObject to an HexahedralMeshObject if possible.
MeshT * mesh()
return a pointer to the mesh