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);
268 vtkGetMacro(ForceOnscreenRendering,
bool);
275 int GetEGLDeviceIndex();
280 std::string GetDisplay();
290 vtkGetMacro(MultiServerMode,
bool);
296 vtkGetMacro(MultiClientMode,
bool);
302 vtkGetMacro(DisableFurtherConnections,
bool);
320 void HandleDisplayEnvironment();
331 enum DisplaysAssignmentModeEnum
337 bool TellVersion =
false;
338 bool DisableRegistry =
false;
339 std::string HostName =
"localhost";
340 std::string ClientHostName =
"localhost";
341 std::string BindAddress =
"0.0.0.0";
343 bool ReverseConnection =
false;
345 std::string ServerURL;
346 std::string ServerResourceName;
348 std::string TimeoutCommand;
349 int TimeoutCommandInterval = 60;
350 bool UseStereoRendering =
false;
352 double EyeSeparation = 0.06;
353 bool DisableXDisplayTests =
false;
354 bool ForceOnscreenRendering =
false;
355 bool ForceOffscreenRendering =
false;
356 int EGLDeviceIndex = -1;
357 DisplaysAssignmentModeEnum DisplaysAssignmentMode = ROUNDROBIN;
358 bool MultiServerMode =
false;
359 bool MultiClientMode =
false;
360 bool DisableFurtherConnections =
false;
361 bool PrintMonitors =
false;
363 std::vector<std::string> Displays;
364 std::vector<std::string> PluginSearchPaths;
365 std::vector<std::string> Plugins;
366 std::vector<std::string> ServerConfigurationsFiles;
367 int TileDimensions[2] = { 0, 0 };
368 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 &)