VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOctreeNode.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include "DtUserObjectBindings.h"
13 
14 #include "DtOctreeFwdDeclare.h"
15 
16 namespace makVrv {
17 
20  template<class T>
22  {
23  public:
24 
26  DtOctreeNode();
27 
29  ~DtOctreeNode();
30 
32  void setOctant(DtOctree<T>*);
34  DtOctree<T>* getOctant(void);
35 
37  bool isIn(const DtAxisAlignedBoundingBox<T>& box);
38 
40  const DtAxisAlignedBoundingBox<T>& worldAABB(void) const;
41 
43 
45 
49 
51 
52  void setUserData(void* pUserData){ myUserData = pUserData; }
53  void* userData() const { return myUserData; }
55  private:
58  void* myUserData;
59  };
60 
63 
64 } //namespace makVrv
65 
66 #include "DtOctreeNode.inl"

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)