detail.pythonalgorithm Module¶
- paraview.detail.pythonalgorithm.get_plugin_name(module_or_package)[source]¶
helper function called by vtkPVPythonAlgorithmPlugin to discover ParaView plugin name, if any.
- paraview.detail.pythonalgorithm.get_plugin_version(module_or_package)[source]¶
helper function called by vtkPVPythonAlgorithmPlugin to discover ParaView plugin version, if any.
- paraview.detail.pythonalgorithm.get_plugin_xmls(module_or_package)[source]¶
helper function called by vtkPVPythonAlgorithmPlugin to discover all “proxy” decorated classes in the module or package. We don’t recurse into the package, on simply needs to export all classes that form the ParaView plugin in the __init__.py for the package.
- paraview.detail.pythonalgorithm.load_plugin(filepath, default_modulename=None)[source]¶
helper function called by vtkPVPythonAlgorithmPlugin to load a python file.
- paraview.detail.pythonalgorithm.reload_plugin_module(module)[source]¶
helper function to reload a plugin module previously loaded via load_plugin
- class paraview.detail.pythonalgorithm.smdomain[source]¶
Bases:
object
Provides decorators that add domains to properties.
- class paraview.detail.pythonalgorithm.smhint[source]¶
Bases:
object
Provides decorators that add hints to proxies and properties.
- class paraview.detail.pythonalgorithm.smproperty[source]¶
Bases:
object
Provides decorators for class methods that are to be exposed as server-manager properties in ParaView. Only methods that are decorated using one of the available decorators will be exposed be accessible to ParaView UI or client-side Python scripting API.
- class paraview.detail.pythonalgorithm.smproxy[source]¶
Bases:
object
Provides decorators for class objects that should be exposed to ParaView.