mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
SLA gizmo keeps track of current status of the points, enables the user to erase all points
This commit is contained in:
parent
a76bd40c62
commit
4eb4e40746
6 changed files with 68 additions and 28 deletions
|
@ -15,6 +15,14 @@ class TriangleMesh;
|
|||
|
||||
namespace sla {
|
||||
|
||||
// An enum to keep track of where the current points on the ModelObject came from.
|
||||
enum class PointsStatus {
|
||||
None, // No points were generated so far.
|
||||
Generating, // The autogeneration algorithm triggered, but not yet finished.
|
||||
AutoGenerated, // Points were autogenerated (i.e. copied from the backend).
|
||||
UserModified // User has done some edits.
|
||||
};
|
||||
|
||||
struct SupportPoint {
|
||||
Vec3f pos;
|
||||
float head_front_radius;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue