Fixes bug https://github.com/ethz-asl/cad-percept/issues/27 where visualization properties where not kept if Plugin got enabled/disabled or newly subscribed. Solution: handle reset() function properly by re-loading visualization properties into underlying visual.
Less code duplication by factoring out underlying MeshDisplay into a templated class plus adding some ~hack~ magic to make QT / moc-compiler happy (you can't have Q_Objects that are templated).
Fixes bug https://github.com/ethz-asl/cad-percept/issues/27 where visualization properties where not kept if Plugin got enabled/disabled or newly subscribed. Solution: handle reset() function properly by re-loading visualization properties into underlying visual.
Less code duplication by factoring out underlying MeshDisplay into a templated class plus adding some ~hack~ magic to make QT / moc-compiler happy (you can't have Q_Objects that are templated).