TBoundingVolume

Windows
MacOS
Linux

Inheritance Hierarchy

ISpatialAcceleration

TBoundingVolume

References

Module

Chaos

Header

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

Include

#include "Chaos/BoundingVolume.h"

Syntax

template<typename InPayloadType, typename T, int d>
class TBoundingVolume : public Chaos::ISpatialAcceleration< InPayloadType, T, d >

Constructors

Name Description

Public function

TBoundingVolume()

Public function

TBoundingVolume

(
    TBoundingVolume < TPayloadType , T, d...
)

Public function

TBoundingVolume

(
    const TBoundingVolume < TPayloadType ...
)

Needed for tree of grids, should we have a more explicit way to copy an array of BVs to avoid this being public?

Public function

TBoundingVolume

(
    const ParticleView& Particles,
    const bool bUseVelocity,
    const T Dt,
    const int32 MaxCells,
    const T InMaxPayloadBounds
)

Functions

Name Description

Public function Const

TArray < TPay ...

 

FindAllIntersectionsImp

(
    const TAABB < T, d >& Intersection
)

Public function

void

 

GatherElements

(
    TArray < TPayloadBoundsElement < TPay ...
)

Public function Const

TAABB < T, d ...

 

GetBounds()

Public function Const

SIZE_T

 

GetReserveCount()

Public function Const

const TArray ...

 

GlobalObjects()

Public function Const

void

 

Overlap

(
    const TAABB < T, d >& QueryBounds,
    SQVisitor& Visitor
)

Public function Const

bool

 

OverlapFast

(
    const TAABB < T, d >& QueryBounds,
    SQVisitor& Visitor
)

Public function Const

void

 

Raycast

(
    const TVector < T, d >& Start,
    const TVector < T, d >& Dir,
    const T Length,
    SQVisitor& Visitor
)

Public function Const

bool

 

RaycastFast

(
    const TVector < T, d >& Start,
    FQueryFastData & CurData,
    SQVisitor& Visitor
)

Public function

void

 

Reinitialize

(
    const ParticleView& Particles,
    const bool bUseVelocity,
    const T Dt,
    const int32 MaxCells
)

Public function Const

void

 

Sweep

(
    const TVector < T, d >& Start,
    const TVector < T, d >& Dir,
    const T Length,
    const TVector < T, d > QueryHalfExte...,
    SQVisitor& Visitor
)

Public function Const

bool

 

SweepFast

(
    const TVector < T, d >& Start,
    FQueryFastData & CurData,
    const TVector < T, d >& QueryHalfEx...,
    SQVisitor& Visitor
)

Overridden from ISpatialAcceleration

Name Description

Public function Virtual Const

TUniquePtr < ...

 

Copy()

Public function Virtual Const

TArray < TPay ...

 

FindAllIntersections

(
    const TAABB < T, d >& Box
)

Public function Virtual Const

void

 

Overlap

(
    const TAABB < T, d >& QueryBounds,
    ISpatialVisitor < TPayloadType , T > ...
)

Public function Virtual Const

void

 

Raycast

(
    const TVector < T, d >& Start,
    const TVector < T, d >& Dir,
    const T Length,
    ISpatialVisitor < TPayloadType , T > ...
)

Public function Virtual

void

 

RemoveElement

(
    const TPayloadType & Payload
)

Public function Virtual

void

 

Serialize

(
    FChaosArchive & Ar
)

Public function Virtual Const

void

 

Sweep

(
    const TVector < T, d >& Start,
    const TVector < T, d >& Dir,
    const T Length,
    const TVector < T, d > QueryHalfExte...,
    ISpatialVisitor < TPayloadType , T > ...
)

Public function Virtual

void

 

UpdateElement

(
    const TPayloadType & Payload,
    const TAABB < T, d >& NewBounds,
    bool bHasBounds
)

Operators

Name Description

Public function

TBoundingVol ...

 

operator=

(
    TBoundingVolume < TPayloadType , T, d...
)

Public function

TBoundingVol ...

 

operator=

(
    const TBoundingVolume < TPayloadType ...
)

Typedefs

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