You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							816 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							816 B
						
					
					
				
								#pragma once
							 | 
						|
								
							 | 
						|
								#include <timer/scoped_timer.hpp>
							 | 
						|
								
							 | 
						|
								#include <process.hpp>
							 | 
						|
								
							 | 
						|
								EXTERN_C class implicit_network_solver
							 | 
						|
								{
							 | 
						|
								public:
							 | 
						|
								    implicit_network_solver(const baked_blobtree_t* tree, s_settings settings) noexcept : m_blobtree(tree), m_settings(settings)
							 | 
						|
								    {
							 | 
						|
								        if (m_settings.scene_aabb_margin <= 0) { m_settings.scene_aabb_margin = 1e-5; }
							 | 
						|
								        if (m_settings.resolution <= 0) { m_settings.resolution = 1; }
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    void generate_polymesh(stl_vector_mp<Eigen::Vector3d>& output_vertices,
							 | 
						|
								                           stl_vector_mp<uint32_t>&        output_polygon_faces,
							 | 
						|
								                           stl_vector_mp<uint32_t>&        output_vertex_counts_of_face);
							 | 
						|
								
							 | 
						|
								    labelled_timers_manager m_timers{};
							 | 
						|
								
							 | 
						|
								protected:
							 | 
						|
								    const baked_blobtree_t* m_blobtree{nullptr};
							 | 
						|
								    s_settings              m_settings{};
							 | 
						|
								};
							 |