43 #ifdef ENABLE_OPENVOLUMEMESH_TETRAHEDRAL_SUPPORT 63 _meshes.push_back ( PluginFunctions::tetrahedralMesh( *o_it ) );
64 if( _meshes.back() == NULL)
65 std::cerr <<
"ERROR: TetrahedralMesh getSourceMeshes fatal error\n";
68 return ( !_meshes.empty() );
83 _meshes.push_back ( PluginFunctions::tetrahedralMesh( *o_it ) );
84 if( _meshes.back() == NULL)
85 std::cerr <<
"ERROR: TetrahedralMesh getTargetMeshes fatal error\n";
88 return ( !_meshes.empty() );
96 bool getObject(
int _identifier, TetrahedralMeshObject*& _object ) {
107 _object =
dynamic_cast< TetrahedralMeshObject*
>(object);
108 return ( _object != 0 );
118 if ( _object->
dataType(DATA_TETRAHEDRAL_MESH) ) {
119 TetrahedralMeshObject*
object =
dynamic_cast< TetrahedralMeshObject*
>(_object);
120 return object->mesh();
125 TetrahedralMesh* tetrahedralMesh(
int _identifier ) {
126 TetrahedralMeshObject*
object = tetrahedralMeshObject(_identifier);
131 return object->mesh();
135 TetrahedralMeshObject* tetrahedralMeshObject(
BaseObjectData* _object ) {
136 if ( ! _object->
dataType(DATA_TETRAHEDRAL_MESH) )
138 return dynamic_cast< TetrahedralMeshObject*
>( _object );
142 TetrahedralMeshObject* tetrahedralMeshObject(
int _identifier )
144 TetrahedralMeshObject* pol_obj;
155 #endif // ENABLE_OPENVOLUMEMESH_TETRAHEDRAL_SUPPORT
bool getObject(int _identifier, BSplineCurveObject *&_object)
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
bool dataType(DataType _type) const
const QStringList TARGET_OBJECTS("target")
Iterable object range.
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.
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.