CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::hkpMoppBvTreeShape Class Reference

#include <hkpMoppBvTreeShape.h>

Inheritance diagram for RE::hkpMoppBvTreeShape:
RE::hkMoppBvTreeShapeBase RE::hkpBvTreeShape RE::hkpShape RE::hkReferencedObject RE::hkBaseObject

Public Member Functions

 ~hkpMoppBvTreeShape () override
 
void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const override
 
const hkpShapeContainerGetContainer () const override
 
std::int32_t CalcSizeForSpu (const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const override
 
void GetAabbImpl (const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const override
 
bool CastRayImpl (const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const override
 
void CastRayWithCollectorImpl (const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const override
 
hkVector4Comparison CastRayBundleImpl (const hkpShapeRayBundleCastInput &a_input, hkpShapeRayBundleCastOutput &a_output, const hkVector4Comparison &a_mask) const override
 
- Public Member Functions inherited from RE::hkMoppBvTreeShapeBase
 ~hkMoppBvTreeShapeBase () override
 
void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const override=0
 
void QueryAabb (const hkAabb &a_aabb, hkArray< hkpShapeKey > &a_hits) const override
 
std::uint32_t QueryAabbImpl (const hkAabb &a_aabb, hkpShapeKey *a_hits, std::int32_t a_maxNumKeys) const override
 
virtual void QueryObb (const hkTransform &a_obbToMopp, const hkVector4 &a_extent, float tolerance, hkArray< hkpShapeKey > &a_hits) const
 
- Public Member Functions inherited from RE::hkpBvTreeShape
 ~hkpBvTreeShape () override
 
const hkpShapeContainerGetContainer () const override=0
 
virtual void QueryAabb (const hkAabb &a_aabb, hkArray< hkpShapeKey > &a_hits) const =0
 
virtual std::uint32_t QueryAabbImpl (const hkAabb &a_aabb, hkpShapeKey *a_hits, std::int32_t a_maxNumKeys) const =0
 
- Public Member Functions inherited from RE::hkpShape
 ~hkpShape () override
 
virtual float GetMaximumProjection (const hkVector4 &a_direction) const
 
virtual const hkpShapeContainerGetContainer () const
 
virtual bool IsConvex () const
 
virtual std::int32_t CalcSizeForSpu (const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const
 
virtual void GetAabbImpl (const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const =0
 
virtual bool CastRayImpl (const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const =0
 
virtual void CastRayWithCollectorImpl (const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const =0
 
virtual hkVector4Comparison CastRayBundleImpl (const hkpShapeRayBundleCastInput &a_input, hkpShapeRayBundleCastOutput &a_output, const hkVector4Comparison &a_mask) const
 
- Public Member Functions inherited from RE::hkReferencedObject
 hkReferencedObject ()
 
 ~hkReferencedObject () override=default
 
virtual const hkClass * GetClassType () const
 
virtual void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const
 
void AddReference () const
 
std::int32_t GetAllocatedSize () const
 
std::int32_t GetReferenceCount () const
 
void RemoveReference () const
 
- Public Member Functions inherited from RE::hkBaseObject
virtual ~hkBaseObject ()=default
 

Public Attributes

hkpSingleShapeContainer child
 
std::int32_t childSize
 
std::uint32_t pad64
 
std::uint64_t pad68
 
- Public Attributes inherited from RE::hkMoppBvTreeShapeBase
const hkpMoppCodecode
 
const std::uint8_t * moppData
 
std::uint32_t moppDataSize
 
std::uint32_t pad3C
 
hkVector4 codeInfoCopy
 
- Public Attributes inherited from RE::hkpBvTreeShape
stl::enumeration< BvTreeType, std::uint8_t > bvTreeType
 
std::uint8_t pad21
 
std::uint16_t pad22
 
std::uint32_t pad24
 
- Public Attributes inherited from RE::hkpShape
std::uint64_t userData
 
hkpShapeType type
 
std::uint32_t pad1C
 
- Public Attributes inherited from RE::hkReferencedObject
std::uint16_t memSizeAndFlags
 
volatile std::int16_t referenceCount
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_hkpMoppBvTreeShape
 
- Static Public Attributes inherited from RE::hkMoppBvTreeShapeBase
static constexpr auto RTTI = RTTI_hkMoppBvTreeShapeBase
 
- Static Public Attributes inherited from RE::hkpBvTreeShape
static constexpr auto RTTI = RTTI_hkpBvTreeShape
 
- Static Public Attributes inherited from RE::hkpShape
static constexpr auto RTTI = RTTI_hkpShape
 
- Static Public Attributes inherited from RE::hkReferencedObject
static constexpr auto RTTI = RTTI_hkReferencedObject
 
- Static Public Attributes inherited from RE::hkBaseObject
static constexpr auto RTTI = RTTI_hkBaseObject
 

Additional Inherited Members

- Public Types inherited from RE::hkpBvTreeShape
enum class  BvTreeType { kMOPP , kTriSampledHeightField , kUser }
 
- Public Types inherited from RE::hkpShape
using GetSupportingVertexFunc = void(const void *a_this, const hkVector4 &a_direction, hkpCdVertex &a_supportVertex)
 
using ConvertVertexIdsToVerticesFunc = void(const void *a_this, const hkpVertexID *a_ids, std::int32_t a_numIDs, class hkpCdVertex *a_verticesOut)
 
using WeldContactPointFunc = std::int32_t(const void *a_this, hkpVertexID *a_featurePoints, std::uint8_t &a_numFeaturePoints, hkVector4 &a_contactPointWs, const hkTransform *a_thisTransform, const hkpConvexShape *a_collidingShape, const hkTransform *a_collidingTransform, hkVector4 &a_separatingNormalInOut)
 
using GetCentreFunc = void(const void *a_this, hkVector4 &a_centreOut)
 
using GetNumCollisionSpheresFunc = std::int32_t(const void *a_this)
 
using GetCollisionSpheresFunc = const hkSphere *(const void *a_this, hkSphere *a_sphereBuffer)
 
using GetAabbFunc = void(const void *a_this, const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out)
 
using CastRayFunc = bool(const void *a_this, const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output)
 
using CastRayWithCollectorFunc = void(const void *a_this, const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector)
 
using CastRayBundleFunc = hkVector4Comparison(const void *a_this, const hkpShapeRayBundleCastInput &a_input, hkpShapeRayBundleCastOutput &a_output, const hkVector4Comparison &a_mask)
 
using GetChildShapeFunc = const hkpShape *(const void *a_this, hkpShapeKey a_key, hkpShapeBuffer &a_buffer)
 
using GetCollisionFilterInfoFunc = std::uint32_t(const void *a_this, hkpShapeKey a_key)
 
using RegsiterFunc = void(ShapeFuncs &a_sf)
 
- Public Types inherited from RE::hkReferencedObject
enum class  LockMode { kNone = 0 , kAuto , kManual }
 
enum  { kMemSize = 0x7FFF }
 

Constructor & Destructor Documentation

◆ ~hkpMoppBvTreeShape()

RE::hkpMoppBvTreeShape::~hkpMoppBvTreeShape ( )
override

Member Function Documentation

◆ CalcContentStatistics()

void RE::hkpMoppBvTreeShape::CalcContentStatistics ( hkStatisticsCollector *  a_collector,
const hkClass *  a_class 
) const
overridevirtual

◆ CalcSizeForSpu()

std::int32_t RE::hkpMoppBvTreeShape::CalcSizeForSpu ( const CalcSizeForSpuInput a_input,
std::int32_t  a_spuBufferSizeLeft 
) const
overridevirtual

Reimplemented from RE::hkpShape.

◆ CastRayBundleImpl()

hkVector4Comparison RE::hkpMoppBvTreeShape::CastRayBundleImpl ( const hkpShapeRayBundleCastInput &  a_input,
hkpShapeRayBundleCastOutput &  a_output,
const hkVector4Comparison a_mask 
) const
overridevirtual

Reimplemented from RE::hkpShape.

◆ CastRayImpl()

bool RE::hkpMoppBvTreeShape::CastRayImpl ( const hkpShapeRayCastInput &  a_input,
hkpShapeRayCastOutput a_output 
) const
overridevirtual

Implements RE::hkpShape.

◆ CastRayWithCollectorImpl()

void RE::hkpMoppBvTreeShape::CastRayWithCollectorImpl ( const hkpShapeRayCastInput &  a_input,
const hkpCdBody a_cdBody,
hkpRayHitCollector &  a_collector 
) const
overridevirtual

Implements RE::hkpShape.

◆ GetAabbImpl()

void RE::hkpMoppBvTreeShape::GetAabbImpl ( const hkTransform a_localToWorld,
float  a_tolerance,
hkAabb a_out 
) const
overridevirtual

Implements RE::hkpShape.

◆ GetContainer()

const hkpShapeContainer * RE::hkpMoppBvTreeShape::GetContainer ( ) const
overridevirtual

Implements RE::hkpBvTreeShape.

Member Data Documentation

◆ child

hkpSingleShapeContainer RE::hkpMoppBvTreeShape::child

◆ childSize

std::int32_t RE::hkpMoppBvTreeShape::childSize
mutable

◆ pad64

std::uint32_t RE::hkpMoppBvTreeShape::pad64

◆ pad68

std::uint64_t RE::hkpMoppBvTreeShape::pad68

◆ RTTI

constexpr auto RE::hkpMoppBvTreeShape::RTTI = RTTI_hkpMoppBvTreeShape
inlinestaticconstexpr

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