63 if( _meshes.back() == NULL)
64 std::cerr <<
"ERROR: PolyhedralMesh getSourceMeshes fatal error\n";
67 return ( !_meshes.empty() );
83 if( _meshes.back() == NULL)
84 std::cerr <<
"ERROR: PolyhedralMesh getTargetMeshes fatal error\n";
87 return ( !_meshes.empty() );
107 return ( _object != 0 );
119 return object->
mesh();
130 return object->mesh();
#define DATA_POLYHEDRAL_MESH
PolyhedralMeshObject * polyhedralMeshObject(BaseObjectData *_object)
Cast an BaseObject to an PolyhedralMeshObject 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.
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.
PolyhedralMesh * polyhedralMesh(BaseObjectData *_object)
Get an PolyhedralMesh from an object.
MeshT * mesh()
return a pointer to the mesh