Class muda::lbvh::details::BVHViewerBase
template <bool IsConst, typename Real, typename Object>
ClassList > muda > lbvh > details > BVHViewerBase
Inherits the following classes: muda::ViewerBase
Classes
Type | Name |
---|---|
struct | DefaultQueryCallback |
Public Types
Type | Name |
---|---|
typedef BVHViewerBase< true, real_type, object_type > | ConstViewer |
typedef BVHViewerBase< false, real_type, object_type > | NonConstViewer |
typedef BVHViewerBase< IsConst, real_type, object_type > | ThisViewer |
typedef AABB< real_type > | aabb_type |
typedef std::uint32_t | index_type |
typedef details::Node | node_type |
typedef Object | object_type |
typedef Real | real_type |
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | BVHViewerBase (const uint32_t num_nodes, const uint32_t num_objects, auto_const_t< node_type > * nodes, auto_const_t< aabb_type > * aabbs, auto_const_t< object_type > * objects) |
MUDA_GENERIC auto | as_const () noexcept const |
MUDA_GENERIC auto | num_nodes () noexcept const |
MUDA_GENERIC auto | num_objects () noexcept const |
MUDA_GENERIC auto_const_t< object_type > & | object (const uint32_t idx) noexcept |
MUDA_GENERIC const object_type & | object (const uint32_t idx) noexcept const |
MUDA_GENERIC | operator ConstViewer () noexcept const |
MUDA_GENERIC uint32_t | query (const query_overlap< real_type > & q, F callback=DefaultQueryCallback{}) noexcept const |
MUDA_GENERIC thrust::pair< uint32_t, real_type > | query (const query_nearest< real_type > & q, FDistanceCalculator calc_dist) noexcept const |
Public Functions inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
MUDA_GENERIC | ViewerBase () |
ViewerBase (const ViewerBase &) = default |
|
ViewerBase (ViewerBase &&) = default |
|
MUDA_INLINE MUDA_GENERIC void | copy_label (const ViewerBase & other) |
MUDA_GENERIC const char * | kernel_file () const |
MUDA_GENERIC int | kernel_line () const |
MUDA_GENERIC const char * | kernel_name () const |
MUDA_GENERIC const char * | name () const |
ViewerBase & | operator= (const ViewerBase &) = default |
ViewerBase & | operator= (ViewerBase &&) = default |
Protected Types inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
typedef std::conditional_t< IsConst, const T, T > | auto_const_t |
typedef std::enable_if_t< IsNonConst, T > | non_const_enable_t |
Protected Functions inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
MUDA_INLINE MUDA_HOST void | name (const char * n) |
MUDA_INLINE MUDA_GENERIC void | name (details::StringPointer pointer) |
Public Types Documentation
typedef ConstViewer
using muda::lbvh::details::BVHViewerBase< IsConst, Real, Object >::ConstViewer = BVHViewerBase<true, real_type, object_type>;
typedef NonConstViewer
using muda::lbvh::details::BVHViewerBase< IsConst, Real, Object >::NonConstViewer = BVHViewerBase<false, real_type, object_type>;
typedef ThisViewer
using muda::lbvh::details::BVHViewerBase< IsConst, Real, Object >::ThisViewer = BVHViewerBase<IsConst, real_type, object_type>;
typedef aabb_type
typedef index_type
typedef node_type
typedef object_type
typedef real_type
Public Functions Documentation
function BVHViewerBase
inline MUDA_GENERIC muda::lbvh::details::BVHViewerBase::BVHViewerBase (
const uint32_t num_nodes,
const uint32_t num_objects,
auto_const_t< node_type > * nodes,
auto_const_t< aabb_type > * aabbs,
auto_const_t< object_type > * objects
)
function as_const
function num_nodes
function num_objects
function object [1/2]
inline MUDA_GENERIC auto_const_t< object_type > & muda::lbvh::details::BVHViewerBase::object (
const uint32_t idx
) noexcept
function object [2/2]
inline MUDA_GENERIC const object_type & muda::lbvh::details::BVHViewerBase::object (
const uint32_t idx
) noexcept const
function operator ConstViewer
function query [1/2]
template<typename F, uint32_t StackNum>
inline MUDA_GENERIC uint32_t muda::lbvh::details::BVHViewerBase::query (
const query_overlap < real_type > & q,
F callback=DefaultQueryCallback {}
) noexcept const
function query [2/2]
template<typename FDistanceCalculator, uint32_t StackNum>
inline MUDA_GENERIC thrust::pair< uint32_t, real_type > muda::lbvh::details::BVHViewerBase::query (
const query_nearest < real_type > & q,
FDistanceCalculator calc_dist
) noexcept const
The documentation for this class was generated from the following file src/muda/ext/geo/lbvh/bvh_viewer.h