71 if (! o_it->source() )
73 _meshes.push_back ( dynamic_cast< PolyMeshObject* >( *o_it )->mesh() );
76 return ( !_meshes.empty() );
83 if (! o_it->target() )
85 if ( dynamic_cast< PolyMeshObject* >( *o_it )->mesh() )
86 _meshes.push_back ( dynamic_cast< PolyMeshObject* >( *o_it )->mesh() );
89 return ( !_meshes.empty() );
104 return ( _object != 0 );
107 bool getMesh(
int _identifier , PolyMesh*& _mesh ) {
125 if ( polyMeshObject == 0) {
130 _mesh = polyMeshObject->
mesh();
141 return object->
mesh();
152 return object->mesh();
bool getMesh(int _identifier, PolyMesh *&_mesh)
Get the Poly Mesh which has the given identifier.
bool getObject(int _identifier, BSplineCurveObject *&_object)
PolyMesh * polyMesh(BaseObjectData *_object)
Get a poly mesh from an object.
bool dataType(DataType _type) const
const QStringList ALL_OBJECTS
Iterable object range.
MeshT * mesh()
return a pointer to the mesh
PolyMeshObject * polyMeshObject(BaseObjectData *_object)
Cast an BaseObject to a PolyMeshObject if possible.
bool getTargetMeshes(std::vector< HexahedralMesh * > &_meshes)
Get a pointer to every HexahedralMesh which is marked as a target.
Type for a Meshobject containing a poly mesh.
bool getSourceMeshes(std::vector< HexahedralMesh * > &_meshes)
Get a pointer to every HexahedralMesh which is marked as a source.
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.