69 if (! o_it->source() )
71 _meshes.push_back ( dynamic_cast< TriMeshObject* >( *o_it )->mesh() );
74 return ( !_meshes.empty() );
81 if (! o_it->target() )
83 if ( dynamic_cast< TriMeshObject* >( *o_it )->mesh() )
84 _meshes.push_back ( dynamic_cast< TriMeshObject* >( *o_it )->mesh() );
87 return ( !_meshes.empty() );
103 return ( _object != 0 );
110 bool getMesh(
int _identifier , TriMesh*& _mesh ) {
128 if ( triangleMeshObject == 0)
131 _mesh = triangleMeshObject->
mesh();
147 return object->
mesh();
159 return object->mesh();
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 getSourceMeshes(std::vector< HexahedralMesh * > &_meshes)
Get a pointer to every HexahedralMesh which is marked as a source.
Type for a MeshObject containing a triangle mesh.
bool getObject(int _identifier, BSplineCurveObject *&_object)
bool dataType(DataType _type) const
TriMesh * triMesh(BaseObjectData *_object)
Get a triangle mesh from an object.
bool getTargetMeshes(std::vector< HexahedralMesh * > &_meshes)
Get a pointer to every HexahedralMesh which is marked as a target.
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
TriMeshObject * triMeshObject(BaseObjectData *_object)
Cast an BaseObject to a TriMeshObject if possible.
#define DATA_TRIANGLE_MESH