Adding python capabilities to the Result objects

This commit is contained in:
jriegel
2013-11-28 19:50:39 +01:00
parent 395c95a154
commit b8c80bd35c
7 changed files with 55 additions and 0 deletions

View File

@@ -58,3 +58,17 @@ PyObject *FemResultVector::getPyObject()
return Py::new_reference_to(PythonObject);
}
// Python feature ---------------------------------------------------------
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Fem::FemResultVectorPython, Fem::FemResultVector)
template<> const char* Fem::FemResultVectorPython::getViewProviderName(void) const {
return "FemGui::ViewProviderFemResultVectorPython";
}
/// @endcond
// explicit template instantiation
template class AppFemExport FeaturePythonT<Fem::FemResultVector>;
}