ARAPEnergyType.h 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. #ifndef IGL_ARAPENERGYTYPE_H
  9. #define IGL_ARAPENERGYTYPE_H
  10. namespace igl
  11. {
  12. // ARAP_ENERGY_TYPE_SPOKES "As-rigid-as-possible Surface Modeling" by [Sorkine and
  13. // Alexa 2007], rotations defined at vertices affecting incident edges,
  14. // default
  15. // ARAP_ENERGY_TYPE_SPOKES-AND-RIMS Adapted version of "As-rigid-as-possible Surface
  16. // Modeling" by [Sorkine and Alexa 2007] presented in section 4.2 of or
  17. // "A simple geometric model for elastic deformation" by [Chao et al.
  18. // 2010], rotations defined at vertices affecting incident edges and
  19. // opposite edges
  20. // ARAP_ENERGY_TYPE_ELEMENTS "A local-global approach to mesh parameterization" by
  21. // [Liu et al. 2010] or "A simple geometric model for elastic
  22. // deformation" by [Chao et al. 2010], rotations defined at elements
  23. // (triangles or tets)
  24. enum ARAPEnergyType
  25. {
  26. ARAP_ENERGY_TYPE_SPOKES = 0,
  27. ARAP_ENERGY_TYPE_SPOKES_AND_RIMS = 1,
  28. ARAP_ENERGY_TYPE_ELEMENTS = 2,
  29. NUM_ARAP_ENERGY_TYPES = 3
  30. };
  31. }
  32. #endif