65 if (! o_it->source() )
67 _meshes.push_back ( dynamic_cast< PolyMeshObject* >( *o_it )->mesh() );
70 return ( !_meshes.empty() );
77 if (! o_it->target() )
79 if ( dynamic_cast< PolyMeshObject* >( *o_it )->mesh() )
80 _meshes.push_back ( dynamic_cast< PolyMeshObject* >( *o_it )->mesh() );
83 return ( !_meshes.empty() );
98 return ( _object != 0 );
101 bool getMesh(
int _identifier , PolyMesh*& _mesh ) {
119 if ( polyMeshObject == 0) {
124 _mesh = polyMeshObject->
mesh();
135 return object->
mesh();
146 return object->mesh();
PolyMeshObject * polyMeshObject(BaseObjectData *_object)
Cast an BaseObject to a PolyMeshObject if possible.
bool dataType(DataType _type) const
MeshT * mesh()
return a pointer to the mesh
const QStringList ALL_OBJECTS
Iterable object range.
bool getMesh(int _identifier, PolyMesh *&_mesh)
Get the Poly Mesh which has the given identifier.
bool getObject(const int _identifier, BaseObject *&_object)
Get the object which has the given identifier.
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
PolyMesh * polyMesh(BaseObjectData *_object)
Get a poly mesh from an object.
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.
Type for a Meshobject containing a poly mesh.