Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • iMSTK iMSTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • iMSTKiMSTK
  • iMSTKiMSTK
  • Merge requests
  • !72
The source project of this merge request has been removed.

Refactor VRPN Server/Client API + VTKViewer window management

Merged Alexis Girault requested to merge (removed):improve-vrpn-device-api into master Jan 21, 2016
  • Overview 24
  • Pipelines 0
  • Changes

VRPN: Allows for the following workflow :

  1. Create a VRPNDeviceClient by specifying its URL (name@ipadress) and its type (see DeviceType class). The subclass VRPNForceDevice is setting the style to PHANTOM_OMNI by default for now.
  2. Create a VRPNDeviceServer
  3. Call VRPNDeviceServer::addDeviceClient() to add the client created on step 1). This will analyse the IP, name, and type of the device client to instantiate a VRPN device connection. The added devices are then stored in three std:map so the mainloop() can be called during the execution.

Updated their use in FEMSimulator and LaparoscopicCamera examples.

VTKViewer: implementing setVtkRenderWindow

  • This calls VTKRenderer::setRenderWindow. Needed to use a vtkRenderWindow from another instance (example : for a QT application, use QVTKWidget renderwindow)
  • Rename VTKViewer::getRenderWindow to getVtkRenderWindow
  • Use internal functions in getVtkCamera and getVtkRenderer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: improve-vrpn-device-api