|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
| 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) |
|
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 int | IsTypeOf (const char *type) |
|
static vtkInitializationHelper * | SafeDownCast (vtkObject *o) |
|
static bool | Initialize (int argc, char **argv, int processType, vtkCLIOptions *options=nullptr, bool enableStandardArgs=true) |
| Initializes ParaView engine. More...
|
|
static bool | Initialize (vtkStringList *argv, int processType) |
| Overload primary intended for Python wrapping. More...
|
|
static bool | Initialize (const char *executable, int type) |
| An overload that does not take argc/argv for convenience. More...
|
|
static bool | InitializeOptions (int argc, char **argv, int processType, vtkCLIOptions *options=nullptr, bool enableStandardArgs=true) |
| Initialize only the options of ParaView engine. More...
|
|
static bool | InitializeMiscellaneous (int type) |
| Initialize everything that needs to be initialized in the paraview engine after the options. More...
|
|
static void | Finalize () |
| Finalizes the server manager. More...
|
|
static int | GetExitCode () |
| Returns the exit code after Initialize . 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 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 vtkTypeBool | IsTypeOf (const char *name) |
|
static vtkObjectBase * | New () |
|
static vtkObjectBase * | New () |
|
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 35 of file vtkInitializationHelper.h.
static bool vtkInitializationHelper::Initialize |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
int |
processType, |
|
|
vtkCLIOptions * |
options = nullptr , |
|
|
bool |
enableStandardArgs = true |
|
) |
| |
|
static |
Initializes ParaView engine.
Returns true
on success, false
otherwise. When false
, use GetExitCode
to obtain the exit code. Note, for requests like --help
, --version
etc, this method returns false
with exit-code set to 0.
If vtkCLIOptions is nullptr, then this method internally creates and uses an internal vtkCLIOptions instance. In that case, extra / unknown arguments are simply ignored.
Internally calls InitializeOptions and InitializeMiscellaneous.
static bool vtkInitializationHelper::InitializeOptions |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
int |
processType, |
|
|
vtkCLIOptions * |
options = nullptr , |
|
|
bool |
enableStandardArgs = true |
|
) |
| |
|
static |
Initialize only the options of ParaView engine.
Returns true
on success, false
otherwise. When false
, use GetExitCode
to obtain the exit code. Note, for requests like --help
, --version
etc, this method returns false
with exit-code set to 0.
If vtkCLIOptions is nullptr, then this method internally creates and uses an internal vtkCLIOptions instance. In that case, extra / unknown arguments are simply ignored.
This method is used by Initialize but can be used when separating options initialization from the rest of the initialization.
static bool vtkInitializationHelper::InitializeMiscellaneous |
( |
int |
type | ) |
|
|
static |
Initialize everything that needs to be initialized in the paraview engine after the options.
Returns true
on success, false
otherwise.
Make sure to call InitializeOptions before calling this method.
This method is used by Initialize but can be used when separating options initialization from the rest of the initialization.