plot_vector.h 558 B

12345678910111213141516171819202122
  1. #ifndef IGL_PLOT_VECTOR_H
  2. #define IGL_PLOT_VECTOR_H
  3. #include "igl_inline.h"
  4. #include <vector>
  5. namespace igl
  6. {
  7. // Not clear what these are supposed to be doing. Currently they print
  8. // vectors to standard error...
  9. template <typename T>
  10. IGL_INLINE void plot_vector( std::vector<T>& v);
  11. template <typename T>
  12. IGL_INLINE void plot_vector( std::vector< std::vector<T> >& v);
  13. template <typename T>
  14. IGL_INLINE void plot_vector(std::vector< std::vector< std::vector<T> > >& v);
  15. }
  16. #ifdef IGL_HEADER_ONLY
  17. # include "plot_vector.cpp"
  18. #endif
  19. #endif