help class for python modules More...
#include <vtkInitializationHelper.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &, vtkIndent) override |
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 vtkInitializationHelper * | SafeDownCast (vtkObject *o) |
static void | Initialize (const char *executable, int type) |
Initializes the server manager. More... | |
static void | Initialize (const char *executable, int type, vtkPVOptions *options) |
Initializes the server manager. More... | |
static void | Initialize (int argc, char **argv, int type, vtkPVOptions *options) |
Alternative API to initialize the server manager. More... | |
static void | Finalize () |
Finalizes the server manager. More... | |
static std::string | GetUserSettingsDirectory () |
Get directory for user settings file. More... | |
static std::string | GetUserSettingsFilePath () |
Get file path for the user settings file. More... | |
static void | StandaloneInitialize () |
Initialization for standalone executables linking against a PV library. More... | |
static void | StandaloneFinalize () |
Initialization for standalone executables linking against a PV library. More... | |
static void | SetLoadSettingsFilesDuringInitialization (bool) |
During initialization, vtkInitializationHelper reads "settings" files for configuring vtkSMSettings. More... | |
static bool | GetLoadSettingsFilesDuringInitialization () |
During initialization, vtkInitializationHelper reads "settings" files for configuring vtkSMSettings. More... | |
static void | SetOrganizationName (const std::string &organizationName) |
Sets the organization producing this application. More... | |
static const std::string & | GetOrganizationName () |
Sets the organization producing this application. More... | |
static void | SetApplicationName (const std::string &appName) |
Sets the name of the application. More... | |
static const std::string & | GetApplicationName () |
Sets the name of the application. 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 | |
vtkInitializationHelper () | |
~vtkInitializationHelper () 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 &) |
Static Protected Member Functions | |
static void | LoadSettings () |
Load user and site settings. More... | |
Additional Inherited Members | |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
help class for python modules
This class is used by the python modules when they are loaded from python (as opposed to pvpython). It simply initializes the server manager so that it can be used.
Definition at line 33 of file vtkInitializationHelper.h.
Definition at line 36 of file vtkInitializationHelper.h.
|
inlineprotected |
Definition at line 121 of file vtkInitializationHelper.h.
|
inlineoverrideprotected |
Definition at line 122 of file vtkInitializationHelper.h.
|
virtual |
Reimplemented from vtkObjectBase.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
Initializes the server manager.
Do not use the server manager before calling this.
|
static |
Initializes the server manager.
Do not use the server manager before calling this. In this variant, one passes in a vtkPVOptions instance.
--no-mpi
and --mpi
options are handled specially, by this call. If you want to pass those to vtkProcessModule so it doesn't (or does) initialize MPI, set the corresponding ivars on the options
object passed in.
|
static |
Alternative API to initialize the server manager.
This takes in the command line arguments and the vtkPVOptions instance to use to process the command line options.
|
static |
Finalizes the server manager.
Do not use the server manager after calling this.
|
static |
Initialization for standalone executables linking against a PV library.
This is needed to insure that linker does not remove object factories' auto init during static linking. It also cleans up after protobuf.
|
static |
Initialization for standalone executables linking against a PV library.
This is needed to insure that linker does not remove object factories' auto init during static linking. It also cleans up after protobuf.
|
static |
During initialization, vtkInitializationHelper reads "settings" files for configuring vtkSMSettings.
To disable this processing of the settings file for an application (e.g. in Catalyst), turn this off. On by default.
|
static |
During initialization, vtkInitializationHelper reads "settings" files for configuring vtkSMSettings.
To disable this processing of the settings file for an application (e.g. in Catalyst), turn this off. On by default.
|
static |
Sets the organization producing this application.
This is "ParaView" by default, but can be different for branded applications.
|
static |
Sets the organization producing this application.
This is "ParaView" by default, but can be different for branded applications.
|
static |
Sets the name of the application.
This is "ParaView" by default, but can be different for branded applications.
|
static |
Sets the name of the application.
This is "ParaView" by default, but can be different for branded applications.
|
static |
Get directory for user settings file.
The last character is always the file path separator appropriate for the system.
|
static |
Get file path for the user settings file.
|
staticprotected |
Load user and site settings.