17 #ifndef vtkRemotingCoreConfiguration_h
18 #define vtkRemotingCoreConfiguration_h
22 #include "vtkRemotingCoreModule.h"
49 vtkGetMacro(TellVersion,
bool);
55 vtkGetMacro(DisableRegistry,
bool);
61 vtkGetMacro(PrintMonitors,
bool);
72 const std::string&
GetHostName()
const {
return this->HostName; }
87 vtkGetMacro(ServerPort,
int);
94 vtkGetMacro(ReverseConnection,
bool);
100 vtkGetMacro(ConnectID,
int);
106 vtkSetMacro(ConnectID,
int);
113 vtkGetMacro(Timeout,
int);
124 vtkGetMacro(TimeoutCommandInterval,
int);
146 return this->ServerConfigurationsFiles;
163 const std::vector<std::string>&
GetPlugins()
const {
return this->Plugins; }
174 vtkGetMacro(UseStereoRendering,
bool);
180 vtkGetMacro(StereoType,
int);
181 const char* GetStereoTypeAsString()
const;
186 double GetEyeSeparation()
const;
191 vtkGetVector2Macro(TileMullions,
int);
196 void GetTileDimensions(
int dims[2]);
197 const int* GetTileDimensions();
202 bool GetIsInTileDisplay()
const;
207 bool GetIsInCave()
const;
221 vtkGetMacro(DisableXDisplayTests,
bool);
227 vtkGetMacro(ForceOffscreenRendering,
bool);
232 vtkGetMacro(ForceOnscreenRendering,
bool);
239 int GetEGLDeviceIndex();
244 std::string GetDisplay();
254 vtkGetMacro(MultiServerMode,
bool);
260 vtkGetMacro(MultiClientMode,
bool);
266 vtkGetMacro(DisableFurtherConnections,
bool);
284 void HandleDisplayEnvironment();
295 enum DisplaysAssignmentModeEnum
301 bool TellVersion =
false;
302 bool DisableRegistry =
false;
303 std::string HostName =
"localhost";
304 std::string ClientHostName =
"localhost";
305 int ServerPort = 11111;
306 bool ReverseConnection =
false;
308 std::string ServerURL;
309 std::string ServerResourceName;
311 std::string TimeoutCommand;
312 int TimeoutCommandInterval = 60;
313 bool UseStereoRendering =
false;
315 double EyeSeparation = 0.06;
316 bool DisableXDisplayTests =
false;
317 bool ForceOnscreenRendering =
false;
318 bool ForceOffscreenRendering =
false;
319 int EGLDeviceIndex = -1;
320 DisplaysAssignmentModeEnum DisplaysAssignmentMode = ROUNDROBIN;
321 bool MultiServerMode =
false;
322 bool MultiClientMode =
false;
323 bool DisableFurtherConnections =
false;
324 bool PrintMonitors =
false;
326 std::vector<std::string> Displays;
327 std::vector<std::string> PluginSearchPaths;
328 std::vector<std::string> Plugins;
329 std::vector<std::string> ServerConfigurationsFiles;
330 int TileDimensions[2] = { 0, 0 };
331 int TileMullions[2] = { 0, 0 };