#include <mitkPythonService.h>
implementation of the IPythonService using ctkabstractpythonmanager
- See also
- IPythonService
Definition at line 29 of file mitkPythonService.h.
◆ PythonService()
mitk::PythonService::PythonService |
( |
| ) |
|
instantiate python manager here
◆ ~PythonService()
mitk::PythonService::~PythonService |
( |
| ) |
|
|
override |
◆ AddAbsoluteSearchDirs()
void mitk::PythonService::AddAbsoluteSearchDirs |
( |
std::vector< std::string > |
dirs | ) |
|
|
overridevirtual |
◆ AddPythonCommandObserver()
◆ AddRelativeSearchDirs()
void mitk::PythonService::AddRelativeSearchDirs |
( |
std::vector< std::string > |
dirs | ) |
|
|
overridevirtual |
◆ CopyCvImageFromPython()
◆ CopySimpleItkImageFromPython()
mitk::Image::Pointer mitk::PythonService::CopySimpleItkImageFromPython |
( |
const std::string & |
varName | ) |
|
|
overridevirtual |
◆ CopyToPythonAsCvImage()
bool mitk::PythonService::CopyToPythonAsCvImage |
( |
mitk::Image * |
image, |
|
|
const std::string & |
varName |
|
) |
| |
|
overridevirtual |
◆ CopyToPythonAsSimpleItkImage()
bool mitk::PythonService::CopyToPythonAsSimpleItkImage |
( |
mitk::Image * |
image, |
|
|
const std::string & |
varName |
|
) |
| |
|
overridevirtual |
◆ CopyToPythonAsVtkPolyData()
bool mitk::PythonService::CopyToPythonAsVtkPolyData |
( |
mitk::Surface * |
surface, |
|
|
const std::string & |
varName |
|
) |
| |
|
overridevirtual |
◆ CopyVtkPolyDataFromPython()
◆ DoesVariableExist()
bool mitk::PythonService::DoesVariableExist |
( |
const std::string & |
name | ) |
const |
|
overridevirtual |
◆ Execute()
std::string mitk::PythonService::Execute |
( |
const std::string & |
pythonCommand, |
|
|
int |
commandType = SINGLE_LINE_COMMAND |
|
) |
| |
|
overridevirtual |
◆ ExecuteScript()
void mitk::PythonService::ExecuteScript |
( |
const std::string & |
pathToPythonScript | ) |
|
|
overridevirtual |
◆ GetPythonManager()
ctkAbstractPythonManager* mitk::PythonService::GetPythonManager |
( |
| ) |
|
|
overridevirtual |
◆ GetVariable()
std::string mitk::PythonService::GetVariable |
( |
const std::string & |
name | ) |
const |
|
overridevirtual |
◆ GetVariableStack()
std::vector<PythonVariable> mitk::PythonService::GetVariableStack |
( |
| ) |
const |
|
overridevirtual |
◆ IsOpenCvPythonWrappingAvailable()
bool mitk::PythonService::IsOpenCvPythonWrappingAvailable |
( |
| ) |
|
|
overridevirtual |
◆ IsSimpleItkPythonWrappingAvailable()
bool mitk::PythonService::IsSimpleItkPythonWrappingAvailable |
( |
| ) |
|
|
overridevirtual |
◆ IsVtkPythonWrappingAvailable()
bool mitk::PythonService::IsVtkPythonWrappingAvailable |
( |
| ) |
|
|
overridevirtual |
◆ NotifyObserver()
void mitk::PythonService::NotifyObserver |
( |
const std::string & |
command | ) |
|
|
overridevirtual |
◆ PythonErrorOccured()
bool mitk::PythonService::PythonErrorOccured |
( |
| ) |
const |
|
overridevirtual |
◆ RemovePythonCommandObserver()
The documentation for this class was generated from the following file: