Stores code and option for python modules. More...
#include <vtkPVPythonModule.h>


Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| virtual char * | GetSource () |
| Set/get the full Python source for this module. More... | |
| virtual void | SetSource (const char *) |
| Set/get the full Python source for this module. More... | |
| virtual char * | GetFullName () |
| Set/get the full name for this module (e.g. More... | |
| virtual void | SetFullName (const char *) |
| Set/get the full name for this module (e.g. More... | |
| virtual int | GetIsPackage () |
| Set/get a flag indicating whether this module is actually a package (which can have submodules). More... | |
| virtual void | SetIsPackage (int) |
| Set/get a flag indicating whether this module is actually a package (which can have submodules). More... | |
| virtual void | IsPackageOn () |
| Set/get a flag indicating whether this module is actually a package (which can have submodules). More... | |
| virtual void | IsPackageOff () |
| Set/get a flag indicating whether this module is actually a package (which can have submodules). More... | |
Public Member Functions inherited from vtkObject | |
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| bool | GetDebug () |
| void | SetDebug (bool debugFlag) |
| virtual void | Modified () |
| virtual vtkMTimeType | GetMTime () |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| int | HasObserver (unsigned long event) |
| int | HasObserver (const char *event) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
| void | SetReferenceCount (int) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | PrintRevisions (ostream &) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
| void | PrintRevisions (ostream &) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkPVPythonModule * | SafeDownCast (vtkObject *o) |
| static vtkPVPythonModule * | New () |
| static void | RegisterModule (vtkPVPythonModule *module) |
| Register the Python module. More... | |
| static vtkPVPythonModule * | GetModule (const char *fullname) |
| Return the registered Python module with the given full module name. More... | |
| static int | HasModule (const char *fullname) |
| Returns 1 if a Python module with the given full name has been registered, 0 otherwise. More... | |
Static Public Member Functions inherited from vtkObject | |
| static vtkObject * | New () |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
| static vtkTypeBool | IsTypeOf (const char *name) |
| static vtkObjectBase * | New () |
| static vtkObjectBase * | New () |
Protected Member Functions | |
| vtkPVPythonModule () | |
| ~vtkPVPythonModule () override | |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
| void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| char * | Source |
| char * | FullName |
| int | IsPackage |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| vtkAtomicInt32 | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Stores code and option for python modules.
vtkPVPythonModule is a simple class that stores some Python source code that makes up a Python module as well as some state variables about the module (such as its name).
Definition at line 24 of file vtkPVPythonModule.h.
Definition at line 27 of file vtkPVPythonModule.h.
|
protected |
|
overrideprotected |
|
virtual |
Reimplemented from vtkObjectBase.
|
static |
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
|
virtual |
Set/get the full Python source for this module.
|
virtual |
Set/get the full Python source for this module.
|
virtual |
Set/get the full name for this module (e.g.
package.subpackage.module).
|
virtual |
Set/get the full name for this module (e.g.
package.subpackage.module).
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
|
virtual |
Set/get a flag indicating whether this module is actually a package (which can have submodules).
|
static |
Register the Python module.
Once registered, the module can be retrieved with GetModule and HaveModule. Python interpreters can query these global methods in a custom import mechanism.
|
static |
Return the registered Python module with the given full module name.
If no such module has been registered, this returns nullptr.
Returns 1 if a Python module with the given full name has been registered, 0 otherwise.
Definition at line 74 of file vtkPVPythonModule.h.
|
protected |
Definition at line 83 of file vtkPVPythonModule.h.
|
protected |
Definition at line 84 of file vtkPVPythonModule.h.
|
protected |
Definition at line 85 of file vtkPVPythonModule.h.
1.8.13 on Fri Aug 1 2025