62 if( _meshes.back() == NULL)
63 std::cerr <<
"ERROR: TetrahedralMesh getSourceMeshes fatal error\n";
66 return ( !_meshes.empty() );
82 if( _meshes.back() == NULL)
83 std::cerr <<
"ERROR: TetrahedralMesh getTargetMeshes fatal error\n";
86 return ( !_meshes.empty() );
106 return ( _object != 0 );
118 return object->
mesh();
129 return object->mesh();
TetrahedralMeshObject * tetrahedralMeshObject(BaseObjectData *_object)
Cast an BaseObject to an TetrahedralMeshObject if possible.
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.
#define DATA_TETRAHEDRAL_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.
TetrahedralMesh * tetrahedralMesh(BaseObjectData *_object)
Get an TetrahedralMesh from an object.
const QStringList TARGET_OBJECTS("target")
Iterable object range.
MeshT * mesh()
return a pointer to the mesh