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();
PolyMesh * polyMesh(BaseObjectData *_object)
Get a poly mesh from an object.
Type for a Meshobject containing a poly 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.
const QStringList ALL_OBJECTS
Iterable object range.
MeshT * mesh()
return a pointer to the mesh
bool dataType(DataType _type) const
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
PolyMeshObject * polyMeshObject(BaseObjectData *_object)
Cast an BaseObject to a PolyMeshObject if possible.
bool getTargetMeshes(std::vector< PolyMesh *> &_meshes)
Get a pointer to every Poly Mesh which is marked as a target mesh.
bool getMesh(int _identifier, PolyMesh *&_mesh)
Get the Poly Mesh which has the given identifier.