live preview in simplification

This commit is contained in:
Filip Sykala 2021-10-18 16:01:32 +02:00
parent 25a3ab255b
commit 80ccb77b00
2 changed files with 34 additions and 4 deletions

View file

@ -39,6 +39,7 @@ protected:
private:
void after_apply();
void close();
void live_preview();
void process();
void set_its(indexed_triangle_set &its);
void create_gui_cfg();
@ -73,6 +74,8 @@ private:
struct Configuration
{
bool live_preview = false;
bool use_count = false;
// minimal triangle count
float decimate_ratio = 50.f; // in percent