OpenVDB  2.3.0
Public Types | Public Member Functions | Friends | List of all members
VolumeHDDA< TreeT, RayT, ChildNodeLevel > Class Template Reference

Helper class that implements Hierarchical Digital Differential Analyzers for ray intersections against a generic volume. More...

#include <DDA.h>

Public Types

typedef
TreeT::RootNodeType::NodeChainType 
ChainT
 
typedef boost::mpl::at< ChainT,
boost::mpl::int_
< ChildNodeLevel > >::type 
NodeT
 
typedef tree::ValueAccessor
< const TreeT > 
AccessorT
 
typedef RayT::TimeSpan TimeSpanT
 

Public Member Functions

 VolumeHDDA ()
 
TimeSpanT march (RayT &ray, AccessorT &acc)
 
void hits (RayT &ray, AccessorT &acc, std::vector< TimeSpanT > &times)
 

Friends

class VolumeHDDA< TreeT, RayT, ChildNodeLevel+1 >
 

Detailed Description

template<typename TreeT, typename RayT, int ChildNodeLevel>
class openvdb::v2_3_0::math::VolumeHDDA< TreeT, RayT, ChildNodeLevel >

Helper class that implements Hierarchical Digital Differential Analyzers for ray intersections against a generic volume.

Member Typedef Documentation

typedef tree::ValueAccessor<const TreeT> AccessorT
typedef TreeT::RootNodeType::NodeChainType ChainT
typedef boost::mpl::at<ChainT, boost::mpl::int_<ChildNodeLevel> >::type NodeT
typedef RayT::TimeSpan TimeSpanT

Constructor & Destructor Documentation

VolumeHDDA ( )
inline

Member Function Documentation

void hits ( RayT &  ray,
AccessorT acc,
std::vector< TimeSpanT > &  times 
)
inline
TimeSpanT march ( RayT &  ray,
AccessorT acc 
)
inline

Friends And Related Function Documentation

friend class VolumeHDDA< TreeT, RayT, ChildNodeLevel+1 >
friend

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