OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ModalCommandHealing.h
Go to the documentation of this file.
1#pragma once
2
4
6{
7public:
8 ModalCommandHealing(ot::ApplicationBase *app, const std::string &actionMnuID, const std::string &actionBtnID);
9 virtual ~ModalCommandHealing();
10
11 virtual bool executeAction(const std::string &action, rapidjson::Document &doc);
12 virtual void modelSelectionChanged(std::list< ot::UID> &selectedEntityID);
13
14protected:
15 virtual std::string initializeAndCreateUI(const ot::LockTypeFlags& modelRead, const ot::LockTypeFlags& modelWrite) override;
16
17private:
18 void processToleranceSetting(rapidjson::Document &doc);
19 void healSelectedShapes(void);
20 void healSelectedShapesWorker(void);
21 void resetSettings(void);
22
23 static bool healingSmallEdges;
24 static bool healingSmallFaces;
25 static bool healingSewFaces;
26 static bool healingMakeSolid;
27 static double healingTolerance;
28};
Definition ModalCommandHealing.h:6
virtual void modelSelectionChanged(std::list< ot::UID > &selectedEntityID)
Definition ModalCommandHealing.cpp:69
virtual bool executeAction(const std::string &action, rapidjson::Document &doc)
Definition ModalCommandHealing.cpp:53
virtual std::string initializeAndCreateUI(const ot::LockTypeFlags &modelRead, const ot::LockTypeFlags &modelWrite) override
Definition ModalCommandHealing.cpp:27
virtual ~ModalCommandHealing()
Definition ModalCommandHealing.cpp:23
ModalCommandHealing(ot::ApplicationBase *app, const std::string &actionMnuID, const std::string &actionBtnID)
Definition ModalCommandHealing.cpp:17
Definition ApplicationBase.h:45
Definition ModalCommandBase.h:18
The app namespace contains several functions that may be used to start processes.