Czi rendering (#10)

* add dimension selector sliders to czi view

* version doc & version bump

* cosmetic

* fix build?

* multi-dimension selection enabled in czi view

* remove the parameterized reset function of the renderer

it is not and is conceptually questionable

doc updates & some minor improvements

auto-update CZI-view when sliders are moved

set initial window size

fix windows build and msvc build

For reasons I don not comprehend, on Windows, we must include
=opencv2/core/mat.hpp= as the very last header in the =CvMatRender.hpp=.
If this is at any other position building on Windows, compilation will
break w/ all kinds of cryptic errors regarding OpenCV.

When building w/ msvc =__PRETTY_FUNCTION__= is not defined. =ILog.hpp=
now defines it. This should be revised to only be set when the
compiler is msvc. For the time being, it is considered sufficient though.
This commit is contained in:
m-aXimilian
2025-09-26 21:09:51 +02:00
committed by Maximilian Kueffner
parent e60203b57d
commit 1ea83d9d11
27 changed files with 282 additions and 106 deletions
+6
View File
@@ -1,6 +1,11 @@
#pragma once
#include <string>
#ifdef WIN32
#define __PRETTY_FUNCTION__ __FUNCTION__
#endif
namespace pixelarium::utils::log
{
enum class LogLevel
@@ -11,6 +16,7 @@ enum class LogLevel
Warn = 1 << 3,
Error = 1 << 4,
};
/// @brief Interface for logging implementations.
class ILog
{
public:
+2
View File
@@ -8,6 +8,8 @@
#include "ILog.hpp"
namespace pixelarium::utils::log
{
/// @brief Implements ILog using the spdlog library
/// see https://github.com/gabime/spdlog
class SpdLogger : public ILog
{
public: