feat: implement configurable font settings for VTK viewports and GUI elements with persistent preferences.

This commit is contained in:
AndreaRigoni
2026-04-15 14:50:46 +00:00
parent bf4006ff91
commit 24ec326715
20 changed files with 433 additions and 28 deletions

View File

@@ -4,6 +4,8 @@
#include "uLibVtkInterface.h"
#include <vector>
#include <map>
#include "Core/FontConfig.h"
#include "Math/Dense.h"
namespace uLib { class Object; }
@@ -83,6 +85,12 @@ public:
void SetParallelProjection(bool parallel);
bool GetParallelProjection() const;
// Font configuration
void SetFont(const FontConfig& font);
FontConfig GetFont() const;
void SetFontColor(const Vector3d& color);
Vector3d GetFontColor() const;
protected:
void SetupPipeline(vtkRenderWindowInteractor* iren);