12 #ifndef vtkInitializationHelper_h 13 #define vtkInitializationHelper_h 20 #if PARAVIEW_USE_PYTHON 21 #include "vtkPythonInterpreter.h" 51 static bool Initialize(
int argc,
char** argv,
int processType,
vtkCLIOptions* options =
nullptr,
52 bool enableStandardArgs =
true);
62 static bool Initialize(
const char* executable,
int type);
77 static bool InitializeProcessModule(
int argc,
char** argv,
int type);
93 static bool InitializeGlobalOptions(
int argc,
char** argv,
int processType,
94 vtkCLIOptions* options =
nullptr,
bool enableStandardArgs =
true);
112 static bool InitializeOtherOptions(
int argc,
char** argv,
int processType,
113 vtkCLIOptions* options =
nullptr,
bool enableStandardArgs =
true);
129 static bool InitializeOptions(
int argc,
char** argv,
int processType,
130 vtkCLIOptions* options =
nullptr,
bool enableStandardArgs =
true);
145 static bool InitializeSettings(
int type,
bool defaultCoreConfig);
157 static bool InitializeOthers();
164 static
bool InitializeMiscellaneous(
int type);
171 static
void InitializePythonVirtualEnvironment();
177 static
void Finalize();
182 static
int GetExitCode() {
return vtkInitializationHelper::ExitCode; }
191 static void StandaloneInitialize();
192 static void StandaloneFinalize();
201 static void SetLoadSettingsFilesDuringInitialization(
bool);
202 static bool GetLoadSettingsFilesDuringInitialization();
210 static void SetOrganizationName(
const std::string& organizationName);
211 static const std::string& GetOrganizationName();
219 static void SetApplicationName(
const std::string& appName);
220 static const std::string& GetApplicationName();
227 static std::string GetUserSettingsDirectory();
232 static std::string GetUserSettingsFilePath();
241 static void LoadSettings();
251 static bool ParseOptions(
int argc,
char** argv,
vtkCLIOptions* options,
254 static bool LoadSettingsFilesDuringInitialization;
255 static bool SaveUserSettingsFileDuringFinalization;
256 static std::string OrganizationName;
257 static std::string ApplicationName;
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
command line options manager
#define PARAVIEW_DEPRECATED_IN_5_13_0(reason)
#define VTKREMOTINGAPPLICATION_EXPORT
runtime configuration options for vtkRemotingCore module.
help class for python modules
void operator=(const vtkObjectBase &)
Manages allocation and freeing for a string list.