DHART
Loading...
Searching...
No Matches
nanort::NodeHit< T > Class Template Reference

Hit class for traversing nodes. More...

#include <nanort.h>

+ Collaboration diagram for nanort::NodeHit< T >:

Public Member Functions

 NodeHit ()
 
 NodeHit (const NodeHit< T > &rhs)
 
NodeHitoperator= (const NodeHit< T > &rhs)
 
 ~NodeHit ()
 

Public Attributes

t_min
 
t_max
 
unsigned int node_id
 

Detailed Description

template<typename T>
class nanort::NodeHit< T >

Hit class for traversing nodes.

Stores hit information of node traversal. Node traversal is used for two-level ray tracing(efficient ray traversal of a scene hierarchy)

Definition at line 654 of file nanort.h.

Constructor & Destructor Documentation

◆ NodeHit() [1/2]

template<typename T >
nanort::NodeHit< T >::NodeHit ( )
inline

Definition at line 656 of file nanort.h.

◆ NodeHit() [2/2]

template<typename T >
nanort::NodeHit< T >::NodeHit ( const NodeHit< T > &  rhs)
inline

◆ ~NodeHit()

template<typename T >
nanort::NodeHit< T >::~NodeHit ( )
inline

Definition at line 675 of file nanort.h.

Member Function Documentation

◆ operator=()

template<typename T >
NodeHit & nanort::NodeHit< T >::operator= ( const NodeHit< T > &  rhs)
inline

Member Data Documentation

◆ node_id

template<typename T >
unsigned int nanort::NodeHit< T >::node_id

◆ t_max

◆ t_min


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