Camarón: An Open-source Visualization Tool for the Quality Inspection of Polygonal and Polyhedral Meshes

Aldo Canepa, Gonzalo Infante, Nancy Hitschfeld, Claudio Lobos

Abstract

The numerical simulation of phenomena requires a good quality discretization (mesh) of the domain. Depending on the problem to be simulated, the mesh has to fulfil different quality criteria. Because of geometry restrictions or point density requirements, several mesh elements might not satisfy the required quality criteria and sometimes it is also not required that all elements fulfil them. Then, it would be helpful to know where unwanted elements are located in order to see if they need to be repaired or not. That is why a visualization tool that allows the user to inspect a mesh before a simulation is performed can be useful to prevent simulation problems. Moreover, if data from simulations is available, the visualization of geometrical properties together with simulation data could be also helpful to understand not expected results. These challenges have motivated us to develop Camar´on, a visualization tool for large surface and volume meshes described in this paper. The surface meshes can be composed any polygonal cell and the 3D meshes can include any convex polyhedral cell. This tool was implemented in C++ and the OpenGL Shading Language (GLSL). We discuss the design and implementation issues that make our software portable, extensible and different from other visualization tools. We also compare the performance between Camar´on and GeomView, TetView and MeshLab.

References

  1. Amenta, N., Levy, S., Munzner, T., and Phillips, M. (1995). Geomview: A system for geometric visualization. In Proceedings of the Eleventh Annual Symposium on Computational Geometry, SCG 7895, pages 412-413, http://www.geomview.org. ACM.
  2. Baerentzen, A., Nielsen, S. L., Gjøl, M., Larsen, B. D., and Christensen, N. J. (2006). Single-pass wireframe rendering. In ACM SIGGRAPH 2006 Sketches, SIGGRAPH 7806, New York, NY, USA. ACM.
  3. Bastarrica, M. C. and Hitschfeld-Kahler, N. (2006). Designing a product family of meshing tools. Advances in Engineering Software, 37(1):1-10.
  4. Childs, H., Brugger, E., Whitlock, B., Meredith, J., Ahern, S., Bonnell, K., Miller, M., Weber, G. H., Harrison, C., Pugmire, D., Fogal, T., Garth, C., Sanderson, A., Bethel, E. W., Durant, M., Camp, D., Favre, J. M., Rübel, O., Navrátil, P., Wheeler, M., Selby, P., and Vivodtzev, F. (2011). VisIt: An End-User Tool For Visualizing and Analyzing Very Large Data. In Proceedings of SciDAC 2011. http://press.mcs.anl.gov/scidac2011.
  5. Cignoni, P., Callieri, M., Corsini, M., Dellepiane, M., Ganovelli, F., and Ranzuglia, G. (2008). MeshLab: an Open-Source Mesh Processing Tool. In Scarano, V., Chiara, R. D., and Erra, U., editors, Eurographics Italian Chapter Conference. The Eurographics Association.
  6. Contreras, D. and Hitschfeld-Kahler, N. (2014). Generation of polyhedral delaunay meshes. Procedia Engineering, 82:291 - 300. 23rd International Meshing Roundtable (IMR23).
  7. Eliëns, A. (1995). Principles of object-oriented software development. Addison-Wesley.
  8. Fraps (2012). Realtime Video Capture Software. Beepa, Pty Lt. http://www.fraps.com.
  9. Gamma, E., Helm, R., Johnson, R., and Vlissides, J. (1995). Design Patterns: Element of Reusable Object Oriented Software. Addison-Wesley.
  10. Garimella, R. V., Kim, J., and Berndt, M. (2013). Polyhedral mesh generation and optimization for nonmanifold domains. In IMR, pages 313-330.
  11. Glew (2012). The OpenGL Extension Wrangler Library. BSD License, MIT License. http://www.glew. sourceforge.net.
  12. Halbert, D. and O'Brien, P. (1987). Using types and inheritance in object-oriented programming. IEEE Software, 4(5):71-79.
  13. Hanwell, M. D., Martin, K. M., Chaudhary, A., and Avila, L. S. (2015). The visualization toolkit (vtk): Rewriting the rendering code for modern graphics cards. SoftwareX, 12:9 - 12.
  14. Henderson, A. and Ahrens, J. (2004). The Paraview guide : a parallel visualization application. Kitware, Inc., New York.
  15. Lethbridge, T. C. and Laganiére, R. (2005). Object-oriented software engineering : practical software development using UML and Java. Mc Graw Hill Education.
  16. Ramachandran, P. and Varoquaux, G. (2011). Mayavi: 3D Visualization of Scientific Data.Computing in Science & Engineering, 13(2):40-51.
  17. Rossel, P. O., Bastarrica, M. C., Hitschfeld-Kahler, N., Díaz, V., and Medina, M. (2014). Domain modeling as a basis for building a meshing tool software product line. Advances in Engineering Software, 70:77-89.
  18. Si, H. (2013). TetGen and TetView software. http://tetgen. berlios.de.
  19. Si, H. (2015). Tetgen, a delaunay-based quality tetrahedral mesh generator. ACM Trans. Math. Softw., 41(2):11:1-11:36.
  20. VisIt (2015). Open Source, interactive, scalable, visualization, animation and analysis tool. Lawrence Livermore National Laboratory. https://wci.llnl.gov/ simulation/computer-codes/visit.
  21. Vtk (2015). The visualization toolkit. http://www.vtk.org/.
  22. Wolf, D. (2011). Open Gl 4.0. Shading Language Cookbook. Birminghang. UK. Pack Publishing ltd.
Download


Paper Citation


in Harvard Style

Canepa A., Infante G., Hitschfeld N. and Lobos C. (2016). Camarón: An Open-source Visualization Tool for the Quality Inspection of Polygonal and Polyhedral Meshes . In Proceedings of the 11th Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2016) ISBN 978-989-758-175-5, pages 130-137. DOI: 10.5220/0005830501280135


in Bibtex Style

@conference{grapp16,
author={Aldo Canepa and Gonzalo Infante and Nancy Hitschfeld and Claudio Lobos},
title={Camarón: An Open-source Visualization Tool for the Quality Inspection of Polygonal and Polyhedral Meshes},
booktitle={Proceedings of the 11th Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2016)},
year={2016},
pages={130-137},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005830501280135},
isbn={978-989-758-175-5},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 11th Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2016)
TI - Camarón: An Open-source Visualization Tool for the Quality Inspection of Polygonal and Polyhedral Meshes
SN - 978-989-758-175-5
AU - Canepa A.
AU - Infante G.
AU - Hitschfeld N.
AU - Lobos C.
PY - 2016
SP - 130
EP - 137
DO - 10.5220/0005830501280135