HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::BaseBBox< Vec3T > Struct Template Reference

#include <NanoVDB.h>

+ Inheritance diagram for nanovdb::BaseBBox< Vec3T >:

Public Member Functions

__hostdev__ bool operator== (const BaseBBox &rhs) const
 
__hostdev__ bool operator!= (const BaseBBox &rhs) const
 
__hostdev__ const Vec3T & operator[] (int i) const
 
__hostdev__ Vec3T & operator[] (int i)
 
__hostdev__ Vec3T & min ()
 
__hostdev__ Vec3T & max ()
 
__hostdev__ const Vec3T & min () const
 
__hostdev__ const Vec3T & max () const
 
__hostdev__ BaseBBoxtranslate (const Vec3T &xyz)
 
__hostdev__ BaseBBoxexpand (const Vec3T &xyz)
 Expand this bounding box to enclose point xyz. More...
 
__hostdev__ BaseBBoxexpand (const BaseBBox &bbox)
 Expand this bounding box to enclose the given bounding box. More...
 
__hostdev__ BaseBBoxintersect (const BaseBBox &bbox)
 Intersect this bounding box with the given bounding box. More...
 
__hostdev__ bool isInside (const Vec3T &xyz)
 

Public Attributes

Vec3T mCoord [2]
 

Protected Member Functions

__hostdev__ BaseBBox ()
 
__hostdev__ BaseBBox (const Vec3T &min, const Vec3T &max)
 

Detailed Description

template<typename Vec3T>
struct nanovdb::BaseBBox< Vec3T >

Definition at line 2213 of file NanoVDB.h.

Constructor & Destructor Documentation

template<typename Vec3T>
__hostdev__ nanovdb::BaseBBox< Vec3T >::BaseBBox ( )
inlineprotected

Definition at line 2268 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ nanovdb::BaseBBox< Vec3T >::BaseBBox ( const Vec3T &  min,
const Vec3T &  max 
)
inlineprotected

Definition at line 2269 of file NanoVDB.h.

Member Function Documentation

template<typename Vec3T>
__hostdev__ BaseBBox& nanovdb::BaseBBox< Vec3T >::expand ( const Vec3T &  xyz)
inline

Expand this bounding box to enclose point xyz.

Definition at line 2231 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ BaseBBox& nanovdb::BaseBBox< Vec3T >::expand ( const BaseBBox< Vec3T > &  bbox)
inline

Expand this bounding box to enclose the given bounding box.

Definition at line 2239 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ BaseBBox& nanovdb::BaseBBox< Vec3T >::intersect ( const BaseBBox< Vec3T > &  bbox)
inline

Intersect this bounding box with the given bounding box.

Definition at line 2247 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ bool nanovdb::BaseBBox< Vec3T >::isInside ( const Vec3T &  xyz)
inline

Definition at line 2258 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ Vec3T& nanovdb::BaseBBox< Vec3T >::max ( )
inline

Definition at line 2221 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ const Vec3T& nanovdb::BaseBBox< Vec3T >::max ( ) const
inline

Definition at line 2223 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ Vec3T& nanovdb::BaseBBox< Vec3T >::min ( )
inline

Definition at line 2220 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ const Vec3T& nanovdb::BaseBBox< Vec3T >::min ( ) const
inline

Definition at line 2222 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ bool nanovdb::BaseBBox< Vec3T >::operator!= ( const BaseBBox< Vec3T > &  rhs) const
inline

Definition at line 2217 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ bool nanovdb::BaseBBox< Vec3T >::operator== ( const BaseBBox< Vec3T > &  rhs) const
inline

Definition at line 2216 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ const Vec3T& nanovdb::BaseBBox< Vec3T >::operator[] ( int  i) const
inline

Definition at line 2218 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ Vec3T& nanovdb::BaseBBox< Vec3T >::operator[] ( int  i)
inline

Definition at line 2219 of file NanoVDB.h.

template<typename Vec3T>
__hostdev__ BaseBBox& nanovdb::BaseBBox< Vec3T >::translate ( const Vec3T &  xyz)
inline

Definition at line 2224 of file NanoVDB.h.

Member Data Documentation

template<typename Vec3T>
Vec3T nanovdb::BaseBBox< Vec3T >::mCoord[2]

Definition at line 2215 of file NanoVDB.h.


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