View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004103||Slicer4||Core: Base Code||public||2015-12-08 10:27||2015-12-08 10:27|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0004103: Move general methods to vtkAddon|
When adding utilities to vtkAddon, it would be nice if you could check https://github.com/SlicerRt/SlicerRT/blob/master/SlicerRtCommon/SlicerRtCommon.h, there are many similar utility functions there that can be useful.
I will send another pull request with the fuzzy compare added to vtkAddon. I'm not sure where to add it in vtkAddon though. Should I create a vtkAddonMath class and make it a static method of that?
OK, I'll add a vtkAddonMatrix4x4 class, derived from vtkMatrix4x4 (similarly to how we did it for vtkOrientedGridTransform and vtkOrientedBSplineTransform)
(replacing inline transform handling with GetTransformBetweenTransformables could probably cut 5% of lines from Slicer base)
|Tags||No tags attached.|