moving the "Coordinate System" box out of control into its own cpp/h/ui file
- that means moving the widget and all its signal/slot connections - Create new interface `WorldImageCorrespondence` for all calculations between image/pixel coords and world coords (dispatches to `ExtrCalibration` when 3D, else uses old 2D coord sys) - Moves the methods for wold image correspondence from the `ImageItem` to the newly created `CoordinateSystemBox` - During this change: Make the 2D coord system not depend on `mapToItem`; its now using normal affine transformations (`QTransform`) instead, which incidentally should make #383 easier - `imageSizeChanged` is now a slot of `Control`, such that `ImageItem` can call it without having a reference to `Control` by sending a signal (Following that: image item is now now directly depending on control anymore) - Some include clean-up
Showing
- CMakeLists.txt 5 additions, 0 deletionsCMakeLists.txt
- include/control.h 56 additions, 95 deletionsinclude/control.h
- include/coordItem.h 22 additions, 17 deletionsinclude/coordItem.h
- include/coordinateStructs.h 50 additions, 0 deletionsinclude/coordinateStructs.h
- include/coordinateSystemBox.h 173 additions, 0 deletionsinclude/coordinateSystemBox.h
- include/extrCalibration.h 7 additions, 5 deletionsinclude/extrCalibration.h
- include/extrinsicBox.h 9 additions, 10 deletionsinclude/extrinsicBox.h
- include/gridItem.h 9 additions, 7 deletionsinclude/gridItem.h
- include/imageItem.h 10 additions, 14 deletionsinclude/imageItem.h
- include/multiColorMarkerWidget.h 5 additions, 3 deletionsinclude/multiColorMarkerWidget.h
- include/petrack.h 9 additions, 12 deletionsinclude/petrack.h
- include/recognition.h 14 additions, 12 deletionsinclude/recognition.h
- include/trackerReal.h 19 additions, 18 deletionsinclude/trackerReal.h
- include/vector.h 49 additions, 12 deletionsinclude/vector.h
- include/worldImageCorrespondence.h 80 additions, 0 deletionsinclude/worldImageCorrespondence.h
- src/colorPlot.cpp 1 addition, 0 deletionssrc/colorPlot.cpp
- src/control.cpp 103 additions, 530 deletionssrc/control.cpp
- src/coordItem.cpp 52 additions, 154 deletionssrc/coordItem.cpp
- src/coordinateSystemBox.cpp 794 additions, 0 deletionssrc/coordinateSystemBox.cpp
- src/extrCalibration.cpp 22 additions, 28 deletionssrc/extrCalibration.cpp
Loading
Please register or sign in to comment