29 #ifndef vtkRemotingCoreConfiguration_h 30 #define vtkRemotingCoreConfiguration_h 61 vtkGetMacro(TellVersion,
bool);
67 vtkGetMacro(DisableRegistry,
bool);
73 vtkGetMacro(PrintMonitors,
bool);
84 const std::string&
GetHostName()
const {
return this->HostName; }
99 vtkGetMacro(ServerPort,
int);
106 vtkGetMacro(ReverseConnection,
bool);
112 vtkGetMacro(ConnectID,
int);
118 vtkSetMacro(ConnectID,
int);
125 vtkGetMacro(Timeout,
int);
153 return this->ServerConfigurationsFiles;
170 const std::vector<std::string>&
GetPlugins()
const {
return this->Plugins; }
181 vtkGetMacro(UseStereoRendering,
bool);
187 vtkGetMacro(StereoType,
int);
188 const char* GetStereoTypeAsString()
const;
193 double GetEyeSeparation()
const;
198 vtkGetVector2Macro(TileMullions,
int);
203 void GetTileDimensions(
int dims[2]);
204 const int* GetTileDimensions();
209 bool GetIsInTileDisplay()
const;
214 bool GetIsInCave()
const;
228 vtkGetMacro(DisableXDisplayTests,
bool);
234 vtkGetMacro(ForceOffscreenRendering,
bool);
239 vtkGetMacro(ForceOnscreenRendering,
bool);
246 int GetEGLDeviceIndex();
251 std::string GetDisplay();
261 vtkGetMacro(MultiServerMode,
bool);
267 vtkGetMacro(MultiClientMode,
bool);
273 vtkGetMacro(DisableFurtherConnections,
bool);
291 void HandleDisplayEnvironment();
302 enum DisplaysAssignmentModeEnum
308 bool TellVersion =
false;
309 bool DisableRegistry =
false;
310 std::string HostName =
"localhost";
311 std::string ClientHostName =
"localhost";
312 int ServerPort = 11111;
313 bool ReverseConnection =
false;
315 std::string ServerURL;
316 std::string ServerResourceName;
318 std::string TimeoutCommand;
319 bool UseStereoRendering =
false;
321 double EyeSeparation = 0.06;
322 bool DisableXDisplayTests =
false;
323 bool ForceOnscreenRendering =
false;
324 bool ForceOffscreenRendering =
false;
325 int EGLDeviceIndex = -1;
326 DisplaysAssignmentModeEnum DisplaysAssignmentMode = ROUNDROBIN;
327 bool MultiServerMode =
false;
328 bool MultiClientMode =
false;
329 bool DisableFurtherConnections =
false;
330 bool PrintMonitors =
false;
332 std::vector<std::string> Displays;
333 std::vector<std::string> PluginSearchPaths;
334 std::vector<std::string> Plugins;
335 std::vector<std::string> ServerConfigurationsFiles;
336 int TileDimensions[2] = { 0, 0 };
337 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 &)