17 #ifndef vtkRemotingCoreConfiguration_h 18 #define vtkRemotingCoreConfiguration_h 49 vtkGetMacro(TellVersion,
bool);
55 vtkGetMacro(DisableRegistry,
bool);
61 vtkGetMacro(PrintMonitors,
bool);
74 vtkSetMacro(HostName, std::string);
75 vtkGetMacro(HostName, std::string);
85 vtkSetMacro(ClientHostName, std::string);
86 vtkGetMacro(ClientHostName, std::string);
98 vtkSetMacro(ServerPort,
int);
99 vtkGetMacro(ServerPort,
int);
107 vtkSetMacro(BindAddress, std::string);
108 vtkGetMacro(BindAddress, std::string);
118 vtkSetMacro(ReverseConnection,
bool);
119 vtkGetMacro(ReverseConnection,
bool);
128 vtkSetMacro(ConnectID,
int);
129 vtkGetMacro(ConnectID,
int);
138 vtkSetMacro(Timeout,
int);
139 vtkGetMacro(Timeout,
int);
148 vtkSetMacro(TimeoutCommand, std::string);
149 vtkGetMacro(TimeoutCommand, std::string);
157 vtkSetMacro(TimeoutCommandInterval,
int);
158 vtkGetMacro(TimeoutCommandInterval,
int);
167 vtkGetMacro(ServerURL, std::string);
173 vtkGetMacro(ServerResourceName, std::string);
181 return this->ServerConfigurationsFiles;
199 const std::vector<std::string>&
GetPlugins()
const {
return this->Plugins; }
210 vtkGetMacro(UseStereoRendering,
bool);
216 vtkGetMacro(StereoType,
int);
217 const char* GetStereoTypeAsString()
const;
222 double GetEyeSeparation()
const;
227 vtkGetVector2Macro(TileMullions,
int);
232 void GetTileDimensions(
int dims[2]);
233 const int* GetTileDimensions();
238 bool GetIsInTileDisplay()
const;
243 bool GetIsInCave()
const;
257 vtkGetMacro(DisableXDisplayTests,
bool);
263 vtkGetMacro(ForceOffscreenRendering,
bool);
283 vtkGetMacro(ForceOnscreenRendering,
bool);
290 int GetEGLDeviceIndex();
295 std::string GetDisplay();
305 vtkGetMacro(MultiServerMode,
bool);
311 vtkGetMacro(MultiClientMode,
bool);
317 vtkGetMacro(DisableFurtherConnections,
bool);
335 void HandleDisplayEnvironment();
346 enum DisplaysAssignmentModeEnum
352 bool TellVersion =
false;
353 bool DisableRegistry =
false;
354 std::string HostName =
"localhost";
355 std::string ClientHostName =
"localhost";
356 std::string BindAddress =
"0.0.0.0";
358 bool ReverseConnection =
false;
360 std::string ServerURL;
361 std::string ServerResourceName;
363 std::string TimeoutCommand;
364 int TimeoutCommandInterval = 60;
365 bool UseStereoRendering =
false;
367 double EyeSeparation = 0.06;
368 bool DisableXDisplayTests =
false;
369 bool ForceOnscreenRendering =
false;
370 bool ForceOffscreenRendering =
false;
372 int EGLDeviceIndex = -1;
373 DisplaysAssignmentModeEnum DisplaysAssignmentMode = ROUNDROBIN;
374 bool MultiServerMode =
false;
375 bool MultiClientMode =
false;
376 bool DisableFurtherConnections =
false;
377 bool PrintMonitors =
false;
379 std::vector<std::string> Displays;
380 std::vector<std::string> PluginSearchPaths;
381 std::vector<std::string> Plugins;
382 std::vector<std::string> ServerConfigurationsFiles;
383 int TileDimensions[2] = { 0, 0 };
384 int TileMullions[2] = { 0, 0 };
const std::vector< std::string > & GetServerConfigurationsFiles() const
On client processes, this provides list of server configurations files to use instead of the default ...
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
const std::vector< std::string > & GetPluginSearchPaths() const
Get a list of paths to add to plugin search paths.
command line options manager
vtkDisplayConfiguration * GetDisplayConfiguration() const
When in CAVE mode, returns the display configurations.
display configuration container
#define VTKREMOTINGCORE_EXPORT
const std::vector< std::string > & GetPlugins() const
Get a list of names for plugins to load.
runtime configuration options for vtkRemotingCore module.
void operator=(const vtkObjectBase &)