VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOctreeNode.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
13 
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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)