Fermat
Public Types | Public Methods | List of all members
cugar::Bvh_node Struct Reference

Detailed description

Base bvh topology node class

#include <bvh_node.h>

Inheritance diagram for cugar::Bvh_node:
cugar::Bintree_node< leaf_range_tag > cugar::Bvh_node_3d

Public Types

enum  internal_type { kInternal = 0 }
 
enum  leaf_type { kLeaf = 1 }
 
typedef leaf_range_tag node_tag
 

Public Methods

CUGAR_HOST_DEVICE Bvh_node ()
 
CUGAR_HOST_DEVICE Bvh_node (const internal_type type, const uint32 child_index, const uint32 range_size=0)
 
CUGAR_HOST_DEVICE Bvh_node (const leaf_type type, const uint32 leaf_begin, const uint32 leaf_end)
 
CUGAR_HOST_DEVICE Bvh_nodeoperator= (const Bintree_node< leaf_range_tag > &base)
 

Constructor & Destructor Documentation

◆ Bvh_node() [1/3]

CUGAR_HOST_DEVICE cugar::Bvh_node::Bvh_node ( )
inline

default constructor

◆ Bvh_node() [2/3]

CUGAR_HOST_DEVICE cugar::Bvh_node::Bvh_node ( const internal_type  type,
const uint32  child_index,
const uint32  range_size = 0 
)
inline

internal node constructor

◆ Bvh_node() [3/3]

CUGAR_HOST_DEVICE cugar::Bvh_node::Bvh_node ( const leaf_type  type,
const uint32  leaf_begin,
const uint32  leaf_end 
)
inline

leaf node constructor

Member Function Documentation

◆ operator=()

CUGAR_HOST_DEVICE Bvh_node& cugar::Bvh_node::operator= ( const Bintree_node< leaf_range_tag > &  base)
inline

assign the base type


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