Commit Graph

3 Commits

Author SHA1 Message Date
Laurent Saboret 5010e4b58a Port to g++ 4.3.1 2008-10-28 09:18:02 +00:00
Laurent Saboret f75a9f002b Memory optimization:
- use std::vector when buffer can be reserved in advance and cannot be too large,
- else use std::deque

I expect gains in terms of speed and memory fragmentation. 

Examples:
- MFC demo can now load bimba_range_images.off (range images of the Bimba con Nastrino scan, 3.8 millions points).
- Poisson reconstruction is 10 seconds shorter on Chinese_dragon_Minolta_point_set_225kpts_with_jet_normals.xyz.
2008-10-17 09:57:17 +00:00
Laurent Saboret 0df22bb093 Edited points exist now under 2 forms in CPoissonDoc:
- m_points[] array of points + normals.
- the m_poisson_dt 3D triangulation used by the m_poisson_function implicit function.
Only 1 form is visible on screen and editable at a given time. This is controlled by m_edit_mode.

A new class Point_set_3 represents an array of points + normals of type PointWithNormal_3 (in fact Gyroviz_point_3 to support algorithms specific to Gyroviz). It provides accessors (points and normals iterators, property maps), OpenGL rendering and bounding box.

File >> Open fills the point_set.
Algorithms menu is split into:
- Processing menu which modifies a point,
- Reconstruction >> Poisson sub-menu which converts the point set to a triangulation 3 and then solves the Poisson equation over it.
2008-04-29 10:57:58 +00:00