mantaflow
0.10
A framework for fluid simulation
|
Registers all classes and methods exposed to Python. More...
Public Member Functions | |
void | addClass (const std::string &name, const std::string &internalName, const std::string &baseclass) |
void | addExternalInitializer (InitFunc func) |
void | addMethod (const std::string &classname, const std::string &methodname, GenericFunction method) |
void | addOperator (const std::string &classname, const std::string &methodname, OperatorFunction method) |
void | addConstructor (const std::string &classname, Constructor method) |
void | addGetSet (const std::string &classname, const std::string &property, Getter getfunc, Setter setfunc) |
void | addPythonPath (const std::string &path) |
void | addPythonCode (const std::string &file, const std::string &code) |
PyObject * | createPyObject (const std::string &classname, const std::string &name, Manta::PbArgs &args, Manta::PbClass *parent) |
void | construct (const std::string &scriptname, const vector< string > &args) |
void | cleanup () |
void | renameObjects () |
void | runPreInit () |
PyObject * | initModule () |
ClassData * | lookup (const std::string &name) |
bool | canConvert (ClassData *from, ClassData *to) |
Static Public Member Functions | |
static WrapperRegistry & | instance () |
Registers all classes and methods exposed to Python.
This class is only used internally by Pb:: framwork. Please use the functionality of PbClass to lookup and translate pointers.