summaryrefslogtreecommitdiffhomepage
path: root/pose-widget
AgeCommit message (Collapse)Author
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-22[COVERITY] pose-widget: fix integer math where fpu was meantStanislaw Halik
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-21modules: add .ts filesStanislaw Halik
2016-12-28pose-widget: qrc init needed only for static librariesStanislaw Halik
cf. http://doc.qt.io/qt-5/resources.html#using-resources-in-a-library
2016-12-28pose-widget: qrc initializer needn't be exportedStanislaw Halik
It's only used in _init inside that library.
2016-12-28pose-widget: fix resources in libraryStanislaw Halik
They must be initialized at top namespace
2016-11-18pose-widget: avoid impl namespace clashStanislaw Halik
2016-11-12pose-widget, logic/tracker: adjust euler helpers usageStanislaw Halik
2016-11-05delete empty .tsStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw Halik
2016-11-03move simple-mat from logic to compat to simplify dependenciesStanislaw Halik
2016-10-11pose-widget: make octopus more slimStanislaw Halik
It looked weird as such a fatso forgotso.
2016-10-05api, cv, gui, pose-widget: remove window visibility checkStanislaw Halik
Causes freezes on multiple displays. Reported and tested in realtime by: @kzfr
2016-09-27pose-widget: larger octopus resolution. simplify code.Stanislaw Halik
2016-09-21many: remove compat/pi-constant.hppStanislaw Halik
With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission.
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-10pose-widget, gui: allow for drawing regardless if window visibleStanislaw Halik
2016-08-08gui: make octopus pitch the right wayStanislaw Halik
2016-07-31pose-widget, tracker/{aruco,pt}: check more often for widget visibilityStanislaw Halik
It looks weird otherwise.
2016-07-25logic, pose-widget: fix following simple-mat moveStanislaw Halik
2016-07-25api/simple-mat: move to logicStanislaw Halik
Change causes rebuilds of all modules otherwise.
2016-07-23pose-widget: use common code for euler -> rmatStanislaw Halik
2016-07-23pose-widget: don't display when window hiddenStanislaw Halik
When the opentrack window isn't displayed (minimized or hidden by some other window), don't bother with refreshing the image.
2016-07-23pose-widget: don't do barycentric lookup twiceStanislaw Halik
In the affine transformation (aka the pose widget) of The Octopus we use barycentric coordinates of two triangles making up The Octopus rectangle. Triangles are symmetrical. Take advantage of the symmetry (no perspective transform applied) and take barycentric coordinates only once.
2016-07-18cmake: adjust paths for main executable dependenciesStanislaw Halik
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
2016-05-17cmake/many: remove obsolete keywords from cmake macro invocationStanislaw Halik
2016-05-14pose-widget: don't promote to doubleStanislaw Halik
Committer shouldn't push so fast to get a chance to rebase. Closes #356
2016-05-14pose-widget: try harder to avoid small denominatorStanislaw Halik
Previous commit fixed only the case with one perpendicular axis of rotation with the rest fixed at origin. This one works with all three degrees of freedom enabled. Reported-by: @MathijsG Issue: #356
2016-05-13pose-widget: avoid too small denominator in perpendicular alignmentStanislaw Halik
With a very small denominator in barycentric coords formula we get a dissociated octopus that took PCP and LSD in one sitting. A dead Octopus is just a bunch of blue spheres. IOW, in division with too small a denominator operand the results are numerically unstable. This is done in the constructor in a convoluted way as to avoid branching during calculating for each pixel. Issue: #356 Reported-by: @MathijsG
2016-05-13many: remove unneeded implicit type conversion double <-> floatStanislaw Halik
2015-12-18pose-widget: also bilinear interpolation of alpha valueStanislaw Halik
2015-12-18glwidget: use transparent octopus backgroundStanislaw Halik
2015-11-01cmake: export only needed symbolsStanislaw Halik
2015-11-01cmake: less linkage boilerplateStanislaw Halik
2015-11-01cmake: less boilerplate, link dynamicallyStanislaw Halik
2015-11-01use newly-added preprocessor variableStanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224
2015-10-03pose-widget: simplifyStanislaw Halik
2015-10-03pose-widget: fix black border around The OctopusStanislaw Halik
2015-10-03pose-widget: use bilinear filteringStanislaw Halik
now The Octopus looks better.
2015-08-31pose-widget: simplifyStanislaw Halik
2015-08-31pose-widget: add commentStanislaw Halik
2015-08-22props changed onlyStanislaw Halik
Some source files had executable bit on. Remove it.
2015-08-21pose-widget: use unsigned char, sprinkle constopentrack-2.3-rc16Stanislaw Halik
2015-08-18nix -Wnarrowing, not needed since previous commitStanislaw Halik
2015-08-18simple-mat: replace initializer_list with variadic ctorStanislaw Halik
Gives us type safety rather than argument count mismatch. Also there's no more narrowing conversion issue. Replace usages. Explicitly delete initializer_list ctor.
2015-08-13pose-widget: const nonsenseStanislaw Halik