25 #ifndef vtkPVOptions_h 26 #define vtkPVOptions_h 35 class vtkPVOptionsInternal;
51 vtkGetStringMacro(HostName);
54 vtkGetMacro(ConnectID,
int);
55 vtkGetMacro(UseStereoRendering,
int);
56 vtkGetStringMacro(StereoType);
58 vtkGetMacro(ReverseConnection,
int);
59 vtkGetMacro(UseRenderingGroup,
int);
60 vtkGetVector2Macro(TileDimensions,
int);
61 vtkGetVector2Macro(TileMullions,
int);
66 virtual bool GetIsInTileDisplay()
const;
71 virtual bool GetIsInCave()
const;
76 vtkGetMacro(EGLDeviceIndex,
int);
84 vtkGetStringMacro(ParaViewDataName);
91 vtkGetStringMacro(ServersFileName);
100 vtkGetMacro(Timeout,
int);
108 vtkSetMacro(ConnectID,
int);
115 vtkSetStringMacro(LogFileName);
116 vtkGetStringMacro(LogFileName);
126 return (this->MultiClientMode || this->MultiClientModeWithErrorMacro) ? 1 : 0;
134 vtkGetMacro(DisableFurtherConnections,
int);
141 vtkGetMacro(MultiServerMode,
int);
152 vtkGetMacro(SymmetricMPIMode,
int);
153 vtkSetMacro(SymmetricMPIMode,
int);
160 vtkGetMacro(TellVersion,
int);
164 vtkGetStringMacro(ServerURL);
168 vtkGetMacro(CatalystLivePort,
int);
174 vtkSetStringMacro(ParaViewDataName);
182 vtkSetMacro(EnableStreaming,
int);
183 vtkGetMacro(EnableStreaming,
int);
190 vtkSetMacro(SatelliteMessageIds,
int);
191 vtkGetMacro(SatelliteMessageIds,
int);
198 vtkGetMacro(PrintMonitors,
int);
205 vtkGetStringMacro(TestPlugins);
206 vtkGetStringMacro(TestPluginPaths);
214 vtkGetMacro(EnableStackTrace,
int);
215 vtkSetMacro(EnableStackTrace,
int);
223 vtkGetMacro(DisableRegistry,
int);
234 vtkGetMacro(DisableXDisplayTests,
int);
241 vtkGetMacro(ForceOffscreenRendering,
int);
246 vtkGetMacro(ForceOnscreenRendering,
int);
252 vtkGetMacro(ForceNoMPIInitOnClient,
int);
253 vtkSetMacro(ForceNoMPIInitOnClient,
int);
254 vtkBooleanMacro(ForceNoMPIInitOnClient,
int);
261 vtkGetMacro(ForceMPIInitOnClient,
int);
262 vtkSetMacro(ForceMPIInitOnClient,
int);
263 vtkBooleanMacro(ForceMPIInitOnClient,
int);
271 vtkGetMacro(LogStdErrVerbosity,
int);
280 const std::string& GetDisplay(
int myrank = 0,
int num_ranks = 1);
288 PVRENDER_SERVER = 0x10,
289 PVDATA_SERVER = 0x20,
291 ALLPROCESS = PARAVIEW | PVCLIENT | PVSERVER | PVRENDER_SERVER | PVDATA_SERVER | PVBATCH
313 int PostProcess(
int argc,
const char*
const* argv)
override;
350 vtkSetStringMacro(ServerURL);
351 vtkSetStringMacro(ServersFileName);
352 vtkSetStringMacro(TestPlugins);
353 vtkSetStringMacro(TestPluginPaths);
357 int UseOffscreenRendering;
359 int UseStereoRendering;
360 int ReverseConnection;
361 int TileDimensions[2];
363 int UseRenderingGroup;
369 int SatelliteMessageIds;
371 int EnableStackTrace;
373 int ForceMPIInitOnClient;
374 int ForceNoMPIInitOnClient;
376 int ForceOffscreenRendering;
377 int ForceOnscreenRendering;
380 vtkSetStringMacro(StereoType);
386 vtkSetStringMacro(HostName);
388 int LogStdErrVerbosity;
390 std::vector<std::pair<std::string, int> > LogFiles;
391 std::vector<std::string> Displays;
392 int DisplaysAssignmentMode;
394 enum DisplaysAssignmentModeEnum
400 static int VerbosityArgumentHandler(
const char* argument,
const char* value,
void* call_data);
401 static int LogArgumentHandler(
const char* argument,
const char* value,
void* call_data);
402 static int DisplaysArgumentHandler(
const char* argument,
const char* value,
void* call_data);
403 static int DisplaysAssignmentModeArgumentHandler(
404 const char* argument,
const char* value,
void* call_data);
char * TestPluginPaths
Subclasses may need to access these.
virtual int IsMultiClientModeDebug()
int MultiClientModeWithErrorMacro
Subclasses may need to access these.
char * ServerURL
Subclasses may need to access these.
virtual void Initialize()
Initialize arguments.
char * TestPlugins
Subclasses may need to access these.
int DisableFurtherConnections
Subclasses may need to access these.
virtual int WrongArgument(const char *argument)
This method is called when wrong argument is found.
void PrintSelf(ostream &os, vtkIndent indent) override
int ClientMode
Subclasses may need to access these.
ParaView options storage.
virtual int DeprecatedArgument(const char *argument)
This method is called when a deprecated argument is found.
int CatalystLivePort
Subclasses may need to access these.
int SymmetricMPIMode
Subclasses may need to access these.
int MultiServerMode
Subclasses may need to access these.
char * ParaViewDataName
Subclasses may need to access these.
virtual int GetMultiClientMode()
Is this server was started for collaboration meaning that it allow several clients to connect to the ...
#define VTKREMOTINGCORE_EXPORT
int DisableXDisplayTests
Subclasses may need to access these.
int MultiClientMode
Subclasses may need to access these.
int ServerMode
Subclasses may need to access these.
ParaView options storage.
ParaView options storage.
static vtkCommandOptions * New()
char * ServersFileName
Subclasses may need to access these.
int RenderServerMode
Subclasses may need to access these.
virtual int PostProcess(int argc, const char *const *argv)
After parsing, process extra option dependencies.