NTrace
GPU ray tracing framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FW::AABB Class Reference

#include <Util.hpp>

Public Member Functions

FW_CUDA_FUNC AABB (void)
 
FW_CUDA_FUNC AABB (const Vec3f &mn, const Vec3f &mx)
 
FW_CUDA_FUNC void grow (const Vec3f &pt)
 
FW_CUDA_FUNC void grow (const AABB &aabb)
 
FW_CUDA_FUNC void intersect (const AABB &aabb)
 
FW_CUDA_FUNC float volume (void) const
 
FW_CUDA_FUNC float area (void) const
 
FW_CUDA_FUNC bool valid (void) const
 
FW_CUDA_FUNC Vec3f midPoint (void) const
 
FW_CUDA_FUNC const Vec3fmin (void) const
 
FW_CUDA_FUNC const Vec3fmax (void) const
 
FW_CUDA_FUNC Vec3fmin (void)
 
FW_CUDA_FUNC Vec3fmax (void)
 
FW_CUDA_FUNC AABB operator+ (const AABB &aabb) const
 

Detailed Description

Definition at line 35 of file Util.hpp.

Constructor & Destructor Documentation

FW_CUDA_FUNC FW::AABB::AABB ( void  )
inline

Definition at line 38 of file Util.hpp.

FW_CUDA_FUNC FW::AABB::AABB ( const Vec3f mn,
const Vec3f mx 
)
inline

Definition at line 39 of file Util.hpp.

Member Function Documentation

FW_CUDA_FUNC float FW::AABB::area ( void  ) const
inline

Definition at line 45 of file Util.hpp.

FW_CUDA_FUNC void FW::AABB::grow ( const Vec3f pt)
inline

Definition at line 41 of file Util.hpp.

FW_CUDA_FUNC void FW::AABB::grow ( const AABB aabb)
inline

Definition at line 42 of file Util.hpp.

FW_CUDA_FUNC void FW::AABB::intersect ( const AABB aabb)
inline

Definition at line 43 of file Util.hpp.

FW_CUDA_FUNC const Vec3f& FW::AABB::max ( void  ) const
inline

Definition at line 49 of file Util.hpp.

FW_CUDA_FUNC Vec3f& FW::AABB::max ( void  )
inline

Definition at line 51 of file Util.hpp.

FW_CUDA_FUNC Vec3f FW::AABB::midPoint ( void  ) const
inline

Definition at line 47 of file Util.hpp.

FW_CUDA_FUNC const Vec3f& FW::AABB::min ( void  ) const
inline

Definition at line 48 of file Util.hpp.

FW_CUDA_FUNC Vec3f& FW::AABB::min ( void  )
inline

Definition at line 50 of file Util.hpp.

FW_CUDA_FUNC AABB FW::AABB::operator+ ( const AABB aabb) const
inline

Definition at line 53 of file Util.hpp.

FW_CUDA_FUNC bool FW::AABB::valid ( void  ) const
inline

Definition at line 46 of file Util.hpp.

FW_CUDA_FUNC float FW::AABB::volume ( void  ) const
inline

Definition at line 44 of file Util.hpp.


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