Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
qSlicerCorePythonManager Class Reference

#include <Base/QTCore/qSlicerCorePythonManager.h>

Inheritance diagram for qSlicerCorePythonManager:
Inheritance graph
[legend]
Collaboration diagram for qSlicerCorePythonManager:
Collaboration graph
[legend]

Public Types

typedef ctkAbstractPythonManager Superclass
 

Public Member Functions

void addVTKObjectToPythonMain (const QString &name, vtkObject *object)
 Convenient function allowing to add a VTK object to the interpreter main module. More...
 
void appendPythonPath (const QString &path)
 
void appendPythonPaths (const QStringList &paths)
 Append paths to sys.path. More...
 
virtual QStringList pythonPaths ()
 List of directories containing Python modules. More...
 
 qSlicerCorePythonManager (QObject *parent=0)
 
 ~qSlicerCorePythonManager ()
 

Protected Member Functions

virtual void preInitialization ()
 

Protected Attributes

ctkVTKPythonQtWrapperFactory * Factory
 

Detailed Description

Definition at line 33 of file qSlicerCorePythonManager.h.

Member Typedef Documentation

◆ Superclass

typedef ctkAbstractPythonManager qSlicerCorePythonManager::Superclass

Definition at line 38 of file qSlicerCorePythonManager.h.

Constructor & Destructor Documentation

◆ qSlicerCorePythonManager()

qSlicerCorePythonManager::qSlicerCorePythonManager ( QObject *  parent = 0)

◆ ~qSlicerCorePythonManager()

qSlicerCorePythonManager::~qSlicerCorePythonManager ( )

Member Function Documentation

◆ addVTKObjectToPythonMain()

void qSlicerCorePythonManager::addVTKObjectToPythonMain ( const QString &  name,
vtkObject *  object 
)

Convenient function allowing to add a VTK object to the interpreter main module.

◆ appendPythonPath()

void qSlicerCorePythonManager::appendPythonPath ( const QString &  path)

Append path to sys.path

Todo:
Add these methods to ctkAbstractPythonManager
See also
appendPythonPaths

◆ appendPythonPaths()

void qSlicerCorePythonManager::appendPythonPaths ( const QStringList &  paths)

Append paths to sys.path.

◆ preInitialization()

virtual void qSlicerCorePythonManager::preInitialization ( )
protectedvirtual

Reimplemented in qSlicerPythonManager.

◆ pythonPaths()

virtual QStringList qSlicerCorePythonManager::pythonPaths ( )
virtual

List of directories containing Python modules.

Member Data Documentation

◆ Factory

ctkVTKPythonQtWrapperFactory* qSlicerCorePythonManager::Factory
protected

Definition at line 59 of file qSlicerCorePythonManager.h.


The documentation for this class was generated from the following file: