Lagrange
Loading...
Searching...
No Matches
DemoState Struct Reference

Global state for the demo. More...

Classes

struct  SavedView
 

Public Member Functions

bool has_coloring () const
 

Public Attributes

SurfaceMesh mesh_original
 
SurfaceMesh mesh_display
 
SurfaceMesh repacked_mesh_original
 
SurfaceMesh repacked_mesh_display
 
lagrange::AttributeId coloring_id = lagrange::invalid_attribute_id()
 
std::string uv_attribute_name
 
std::string mesh_name
 
std::string output_path
 
bool uv_view = false
 
bool repacked = false
 
SavedView saved_3d_view
 
SavedView saved_uv_view
 
SurfaceMesh mesh
 
lagrange::raycasting::RayCaster ray_caster
 
uint32_t mesh_index = 0
 
std::optional< lagrange::AttributeIdselected_facet
 
polyscope::SurfaceMesh * ps_mesh = nullptr
 
polyscope::SurfaceMeshQuantity * ps_selected_facet = nullptr
 
std::optional< PickedPointpicked_point
 
bool show_normals = true
 
float normal_length = 0.1f
 

Detailed Description

Global state for the demo.


The documentation for this struct was generated from the following files: