OMToolkit  1.0
The polygonal mesh processing tool.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OMTriBSPTreeAABB.h
Go to the documentation of this file.
1 //==============================================================================
14 #ifndef OM_BSP_TREE_AABB_H
15 #define OM_BSP_TREE_AABB_H
16 
17 #include <OMToolkit\OMTypes.h>
20 #include <stdlib.h>
21 
22 
23 namespace OMToolkit
24 {
29  {
30  public:
34  TreeElement(int id);
35 
40 
44  typedef MeshT::Point PointT;
45  int _id;
49  typedef MeshT::FaceHandle FaceHT;
50 
51  typedef MeshT::Scalar ScalarT;
52 
53 #ifndef USE_MULTIPLE_IN_ONE
54 #else
55  std::vector<FaceHT> faces;
56 #endif
57 
61 
65  int axis;
66 
71 
76 
78 
86  bool intersects(OMRay &ray);
87  };
88 }
89 #endif