17 #ifndef vtkRemotingCoreConfiguration_h 18 #define vtkRemotingCoreConfiguration_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 };
const std::vector< std::string > & GetServerConfigurationsFiles() const
On client processes, this provides list of server configurations files to use instead of the default ...
const std::string & GetClientHostName() const
Get the hostname for the "client" process.
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.
const std::string & GetTimeoutCommand() const
Get the timeout command, called regularly on server side and giving remaining time available for serv...
command line options manager
const std::string & GetHostName() const
Get the hostname to use.
vtkDisplayConfiguration * GetDisplayConfiguration() const
When in CAVE mode, returns the display configurations.
const std::string & GetServerURL() const
On client processes, this returns the server connection url to use to connect to the server process(e...
display configuration container
const std::string & GetServerResourceName() const
On client processes, this returns the server connection resource name to use to connect to the server...
#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 &)