OROCHI
 
Loading...
Searching...
No Matches
GxOctree::GxNode Class Reference

8分木ノードクラス More...

#include <GxOctree.h>

Inheritance diagram for GxOctree::GxNode:
Collaboration diagram for GxOctree::GxNode:

Public Member Functions

初期化
 GxNode (void)
 デフォルトコンストラクタ
 
 ~GxNode (void) override
 デストラクタ
 
アクセサ
virtual GX_FORCE_INLINE b32 isEmpty (void) const
 ノードにオブジェクトが含まれているか
 
constexpr GxArraygetObjectList (void) const
 
GX_FORCE_INLINE GxShapeAxisAlignedBoxgetBoudingBox (void)
 
GX_FORCE_INLINE const GxShapeAxisAlignedBoxgetBoudingBox (void) const
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Public Attributes

定義
friend GxOctree
 

操作

b32 addObject (GxClassBaseRoot *pObject)
 オブジェクトを追加
 
b32 deleteObject (GxClassBaseRoot *pObject)
 全ての登録オブジェクトの削除
 
b32 findObject (GxClassBaseRoot *pObject) const
 オブジェクトを検索
 
void clearObjects (void)
 全ての登録オブジェクトの削除
 
constexpr void setCriticalSectionArray (GxCriticalSection *pCriticalSection)
 
void setLock (void)
 リスト用クリティカルセクションでロックする
 
void setUnlock (void)
 リスト用クリティカルセクションのロックを解放
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

8分木ノードクラス

Member Function Documentation

◆ addObject()

b32 GxOctree::GxNode::addObject ( GxClassBaseRoot * pObject)

オブジェクトを追加

Parameters
pObject追加するオブジェクト
Returns
追加したらtrue

◆ deleteObject()

b32 GxOctree::GxNode::deleteObject ( GxClassBaseRoot * pObject)

全ての登録オブジェクトの削除

Parameters
pObject削除するオブジェクト
Returns
削除したらtrue

◆ findObject()

b32 GxOctree::GxNode::findObject ( GxClassBaseRoot * pObject) const

オブジェクトを検索

Parameters
pObject削除するオブジェクト
Returns
削除したらtrue

◆ getBoudingBox() [1/2]

GX_FORCE_INLINE GxShapeAxisAlignedBox & GxOctree::GxNode::getBoudingBox ( void )
inline

AABBを取得

Returns
AABB
Here is the caller graph for this function:

◆ getBoudingBox() [2/2]

GX_FORCE_INLINE const GxShapeAxisAlignedBox & GxOctree::GxNode::getBoudingBox ( void ) const
inline

AABBを取得

Returns
AABB

◆ getObjectList()

GxArray * GxOctree::GxNode::getObjectList ( void ) const
inlineconstexpr

オブジェクトリストを取得

Returns
リスト
Here is the caller graph for this function:

◆ isEmpty()

virtual GX_FORCE_INLINE b32 GxOctree::GxNode::isEmpty ( void ) const
inlinevirtual

ノードにオブジェクトが含まれているか

Reimplemented in GxOtFrustumCulling::GxCullingOctant.

Here is the call graph for this function:

◆ setCriticalSectionArray()

void GxOctree::GxNode::setCriticalSectionArray ( GxCriticalSection * pCriticalSection)
inlineconstexpr

クリティカルセクション配列を設定

Parameters
pCriticalSection[in] クリティカルセクションを設定

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