HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE > Struct Template Reference

#include <GEO_BVH.h>

Public Types

using InfoType = HitInfoAndNormal
 

Public Member Functions

SYS_FORCE_INLINE SingleHitAndNormalFunctor (HitInfoAndNormal &hit_info) noexcept
 
SYS_FORCE_INLINE void noHit () noexcept
 
SYS_FORCE_INLINE void insertHit (const UT_Vector3 &hit_uvw, const float t, const uint index, float &limit_t) noexcept
 
SYS_FORCE_INLINE void setNestingArrayInto (HitInfoAndNormal &hit_info) noexcept
 
SYS_FORCE_INLINE UT_Array
< exint > * 
nestingArray () noexcept
 
SYS_FORCE_INLINE const VectorTypegetNormal (const HitInfoAndNormal &hit_info) const noexcept
 
SYS_FORCE_INLINE void setNormal (const VectorType &nml) noexcept
 
SYS_FORCE_INLINE void setNormal (HitInfoAndNormal &hit_info, const VectorType &nml) const noexcept
 
SYS_FORCE_INLINE UT_Array
< HitInfoAndNormal > * 
getHitArray () noexcept
 
SYS_FORCE_INLINE exint nestingArrayBase () const noexcept
 
SYS_FORCE_INLINE UT_Vector3lastUVW () noexcept
 

Public Attributes

HitInfoAndNormalmyHitInfo
 
exint myNestingArrayBase
 
float myTolerance
 

Static Public Attributes

static constexpr bool theAllHits = false
 
static constexpr bool theNeedsNormal = true
 
static constexpr bool theUseTolerance = USE_TOLERANCE
 

Detailed Description

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
struct GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >

Definition at line 132 of file GEO_BVH.h.

Member Typedef Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
using GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::InfoType = HitInfoAndNormal

Definition at line 193 of file GEO_BVHImpl.h.

Constructor & Destructor Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::SingleHitAndNormalFunctor ( HitInfoAndNormal hit_info)
inlinenoexcept

Definition at line 142 of file GEO_BVHImpl.h.

Member Function Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE UT_Array<HitInfoAndNormal>* GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::getHitArray ( )
inlinenoexcept

Definition at line 185 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE const VectorType& GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::getNormal ( const HitInfoAndNormal hit_info) const
inlinenoexcept

Definition at line 175 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::insertHit ( const UT_Vector3 hit_uvw,
const float  t,
const uint  index,
float limit_t 
)
inlinenoexcept

Definition at line 153 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE UT_Vector3& GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::lastUVW ( )
inlinenoexcept

Definition at line 187 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE UT_Array<exint>* GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::nestingArray ( )
inlinenoexcept

Definition at line 171 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE exint GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::nestingArrayBase ( ) const
inlinenoexcept

Definition at line 186 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::noHit ( )
inlinenoexcept

Definition at line 147 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::setNestingArrayInto ( HitInfoAndNormal hit_info)
inlinenoexcept

Definition at line 167 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::setNormal ( const VectorType nml)
inlinenoexcept

Definition at line 177 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
SYS_FORCE_INLINE void GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::setNormal ( HitInfoAndNormal hit_info,
const VectorType nml 
) const
inlinenoexcept

Definition at line 181 of file GEO_BVHImpl.h.

Member Data Documentation

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
HitInfoAndNormal& GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::myHitInfo

Definition at line 195 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
exint GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::myNestingArrayBase

Definition at line 196 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
float GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::myTolerance

Definition at line 197 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
constexpr bool GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::theAllHits = false
static

Definition at line 189 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
constexpr bool GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::theNeedsNormal = true
static

Definition at line 190 of file GEO_BVHImpl.h.

template<uint NAXES, typename SUBCLASS>
template<bool USE_TOLERANCE>
constexpr bool GEO::BVHBase< NAXES, SUBCLASS >::SingleHitAndNormalFunctor< USE_TOLERANCE >::theUseTolerance = USE_TOLERANCE
static

Definition at line 191 of file GEO_BVHImpl.h.


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