PlusToolkit / PlusLib

Software library for data acquisition, pre-processing, and calibration for navigated image-guided interventions.
http://www.plustoolkit.org
Other
136 stars 103 forks source link

Refactor access rights in vtkPlusDevice #99

Open Sunderlandkyl opened 7 years ago

Sunderlandkyl commented 7 years ago

Disable access to data sources, force all devices to request data from previous device in the pipeline, extract/copy any necessary data and place in new output channel.

This will increase memory requirements but provide a safer, cleaner, less bug-prone implementation.

Migrated from https://app.assembla.com/spaces/plus/tickets/756/details

Sunderlandkyl commented 7 years ago

2013-05-07 18:03 Andras Lasso Is it going to have a performance impact as well (extra copying)? Would be useful to do some performance testing to make sure the overhead of any extra copying and synchronization is negligible. With duplication of data it may be even possible that the performance will increase (as there may be less overhead in synchronization), but it's difficult to predict without actually trying it.