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();
Type for a MeshObject containing a triangle mesh.
bool getMesh(int _identifier, PolyMesh *&_mesh)
Get the Poly Mesh which has the given identifier.
bool getObject(int _identifier, BSplineCurveObject *&_object)
bool dataType(DataType _type) const
const QStringList ALL_OBJECTS
Iterable object range.
MeshT * mesh()
return a pointer to the mesh
TriMeshObject * triMeshObject(BaseObjectData *_object)
Cast an BaseObject to a TriMeshObject if possible.
bool getTargetMeshes(std::vector< HexahedralMesh * > &_meshes)
Get a pointer to every HexahedralMesh which is marked as a target.
bool getSourceMeshes(std::vector< HexahedralMesh * > &_meshes)
Get a pointer to every HexahedralMesh which is marked as a source.
#define DATA_TRIANGLE_MESH
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
TriMesh * triMesh(BaseObjectData *_object)
Get a triangle mesh from an object.