mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Initial implementation of MeshClipper class
So far the work is shared between the old code in GLGizmoSlaSupports.cpp and the new class
This commit is contained in:
		
							parent
							
								
									cf23146ee3
								
							
						
					
					
						commit
						546917830b
					
				
					 5 changed files with 149 additions and 29 deletions
				
			
		|  | @ -21,6 +21,7 @@ namespace Slic3r { | |||
| namespace GUI { | ||||
| 
 | ||||
| class ClippingPlane; | ||||
| class MeshClipper; | ||||
| 
 | ||||
| class GLGizmoSlaSupports : public GLGizmoBase | ||||
| { | ||||
|  | @ -126,8 +127,8 @@ private: | |||
|     bool m_selection_empty = true; | ||||
|     EState m_old_state = Off; // to be able to see that the gizmo has just been closed (see on_set_state)
 | ||||
| 
 | ||||
|     mutable std::unique_ptr<TriangleMeshSlicer> m_tms; | ||||
|     mutable std::unique_ptr<TriangleMeshSlicer> m_supports_tms; | ||||
|     mutable std::unique_ptr<MeshClipper> m_object_clipper; | ||||
|     mutable std::unique_ptr<MeshClipper> m_supports_clipper; | ||||
| 
 | ||||
|     std::vector<const ConfigOption*> get_config_options(const std::vector<std::string>& keys) const; | ||||
|     bool is_point_clipped(const Vec3d& point) const; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena