Subversion Repositories gelsvn

Rev

Rev 299 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __GLGRAPHICS_DRAW_H_
#define __GLGRAPHICS_DRAW_H_

#include "Geometry/TriMesh.h"
#include "Geometry/AABox.h"
#include "Geometry/OBox.h"
#include "Geometry/BoundingINode.h"
#include "Geometry/BoundingLNode.h"
#include "Geometry/BoundingTree.h"

namespace GLGraphics
{
  void draw(const Geometry::TriMesh& tm);
  void draw(const Geometry::AABox& box);
  void draw(const Geometry::OBox& box);
  
  template<class BoxType>
        void draw(const Geometry::BoundingINode<BoxType>& node, int level, int max_level);
  template<class BoxType>
    void draw(const Geometry::BoundingLNode<BoxType>& node, int level, int max_level);
  template<class BoxType>
    void draw(const Geometry::BoundingTree<BoxType>& tree, int max_level = 1e6);

}
#endif