TBoundingVolumeHierarchy

Windows
MacOS
Linux

Inheritance Hierarchy

ISpatialAcceleration

TBoundingVolumeHierarchy

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/BoundingVolumeHierarchy.h

Include

#include "Chaos/BoundingVolumeHierarchy.h"

Syntax

template<class OBJECT_ARRAY, class LEAF_TYPE, class T, int d>
class TBoundingVolumeHierarchy : public Chaos::ISpatialAcceleration< int32, T, d >

Constructors

Name Description

Public function

TBoundingVolumeHierarchy()

Public function

TBoundingVolumeHierarchy

(
    const TBoundingVolumeHierarchy < OBJ...
)

Public function

TBoundingVolumeHierarchy

(
    TBoundingVolumeHierarchy < OBJECT_AR...
)

Public function

TBoundingVolumeHierarchy

(
    const OBJECT_ARRAY& Objects,
    const int32 MaxLevels,
    const bool bUseVelocity,
    const T Dt
)

Public function

TBoundingVolumeHierarchy

(
    const OBJECT_ARRAY& Objects,
    const TArray < uint32 >& ActiveIndi...,
    const int32 MaxLevels,
    const bool bUseVelocity,
    const T Dt
)

Functions

Name Description

Public function Const

TArray < int3 ...

 

FindAllIntersections

(
    const TSpatialRay < T, d >& Ray
)

Public function Const

TArray < int3 ...

 

FindAllIntersections

(
    const TVector < T, d >& Point
)

Public function Const

TArray < int3 ...

 

FindAllIntersections

(
    const TGeometryParticles < T, d >& ...,
    const int32 i
)

Public function Const

TArray < int3 ...

 

FindAllIntersectionsImp

(
    const T_INTERSECTION& Intersection
)

Public function

const TAABB <...

 

GetWorldSpaceBoundingBox

(
    const TGeometryParticles < T, d >& ...,
    const int32 Index
)

TODO(mlentine): Need to move this elsewhere; probably on CollisionConstraint.

Public function Const

const TArray ...

 

GlobalObjects()

Public function

void

 

Reinitialize

(
    const TArray < uint32 >& ActiveIndi...,
    bool bUseVelocity,
    T Dt
)

Public function

void

 

Reinitialize

(
    bool bUseVelocity,
    T Dt
)

Public function

void

 

Serialize

(
    FArchive & Ar
)

Public function

void

 

UpdateHierarchy

(
    const bool AllowMultipleSplitting,
    const bool bUseVelocity,
    const T Dt
)

Public function

void

 

UpdateHierarchy

(
    const TArray < uint32 >& ActiveIndi...,
    const bool AllowMultipleSplitting,
    const bool bUseVelocity,
    const T Dt
)

Overridden from ISpatialAcceleration

Name Description

Public function Virtual Const

void

 

DebugDraw

(
    ISpacialDebugDrawInterface < T >...
)

Public function Virtual Const

TArray < int3 ...

 

FindAllIntersections

(
    const TAABB < T, d >& Box
)

Public function Virtual

void

 

Serialize

(
    FChaosArchive & Ar
)

Operators

Name Description

Public function

TBoundingVol ...

 

operator=

(
    TBoundingVolumeHierarchy < OBJECT_AR...
)

Typedefs

Name

Description

TPayloadType

Constants

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback