63 if (! o_it->source() )
65 _meshes.push_back ( dynamic_cast< TriMeshObject* >( *o_it )->mesh() );
68 return ( !_meshes.empty() );
75 if (! o_it->target() )
77 if ( dynamic_cast< TriMeshObject* >( *o_it )->mesh() )
78 _meshes.push_back ( dynamic_cast< TriMeshObject* >( *o_it )->mesh() );
81 return ( !_meshes.empty() );
97 return ( _object != 0 );
104 bool getMesh(
int _identifier , TriMesh*& _mesh ) {
122 if ( triangleMeshObject == 0)
125 _mesh = triangleMeshObject->
mesh();
141 return object->
mesh();
153 return object->mesh();
bool dataType(DataType _type) const
MeshT * mesh()
return a pointer to the mesh
TriMeshObject * triMeshObject(BaseObjectData *_object)
Cast an BaseObject to a TriMeshObject if possible.
TriMesh * triMesh(BaseObjectData *_object)
Get a triangle mesh from an object.
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.
Type for a MeshObject containing a triangle mesh.
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.
#define DATA_TRIANGLE_MESH
bool getSourceMeshes(std::vector< PolyMesh *> &_meshes)
Get a pointer to every Poly Mesh which is marked as a source mesh.