Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray3D::cOctreeObject Class Reference

#include <cOctreeObject.h>

Inheritance diagram for Gray3D::cOctreeObject:
Gray3D::cSpatialObject Gray::cListNodeT< cOctreeObject > Gray::cListNodeBase Gray::cHeapObject Gray::IHeapObject

Public Member Functions

 cOctreeObject () noexcept
 
virtual ~cOctreeObject ()
 
void DetachFromSpatialTree ()
 
virtual void TestTree (const ISpatialTest *pTree) const override
 
- Public Member Functions inherited from Gray3D::cSpatialObject
 cSpatialObject () noexcept
 
virtual ~cSpatialObject ()
 
const cSpherefget_BoundSphere () const noexcept
 
const cVector3fget_CenterPos () const noexcept
 
float get_Radius () const noexcept
 
- Public Member Functions inherited from Gray::cListNodeT< cOctreeObject >
cOctreeObject * get_Next () const
 
cOctreeObject * get_Prev () const
 
- Public Member Functions inherited from Gray::cListNodeBase
virtual ~cListNodeBase ()
 
cListBaseget_Parent () const noexcept
 
cListNodeBaseget_Next () const noexcept
 
cListNodeBaseget_Prev () const noexcept
 
bool hasParent () const noexcept
 
void RemoveFromParent ()
 
virtual HRESULT DisposeThis ()
 
- Public Member Functions inherited from Gray::cHeapObject
 cHeapObject ()
 
virtual ~cHeapObject ()
 
bool IsValidInsideN (INT_PTR index) const
 
bool IsValidInsidePtr (void const *pTest) const
 
virtual size_t GetHeapStatsThis (OUT ITERATE_t &iAllocCount) const
 
virtual bool isValidCheck () const noexcept
 

Public Attributes

int m_iSpatialTestVal
 value for debug validation. More...
 
- Public Attributes inherited from Gray3D::cSpatialObject
cSpheref m_s
 set coords from AddToOctree More...
 

Additional Inherited Members

- Protected Member Functions inherited from Gray::cListNodeBase
virtual void put_Parent (cListBase *pParent)
 
 cListNodeBase () noexcept
 
- Protected Member Functions inherited from Gray::cHeapObject
const void * get_HeapPtr () const noexcept override
 Get the top level (outermost, freeable) class pointer. I can delete get_HeapPtr(). More...
 

Detailed Description

base class for an object in the cOctree. contained in a list by cOctreeNode

Constructor & Destructor Documentation

◆ cOctreeObject()

Gray3D::cOctreeObject::cOctreeObject ( )
inlinenoexcept

◆ ~cOctreeObject()

virtual Gray3D::cOctreeObject::~cOctreeObject ( )
inlinevirtual

ASSERT already removed from tree/node.

Member Function Documentation

◆ DetachFromSpatialTree()

void Gray3D::cOctreeObject::DetachFromSpatialTree ( )

◆ TestTree()

void Gray3D::cOctreeObject::TestTree ( const ISpatialTest pTree) const
overridevirtual

Reimplemented from Gray3D::cSpatialObject.

Member Data Documentation

◆ m_iSpatialTestVal

int Gray3D::cOctreeObject::m_iSpatialTestVal

value for debug validation.


The documentation for this class was generated from the following files: