HDK
|
A Digital Differential Analyzer specialized for OpenVDB grids. More...
#include <DDA.h>
Public Types | |
using | RealType = typename RayT::RealType |
using | RealT = RealType |
using | Vec3Type = typename RayT::Vec3Type |
using | Vec3T = Vec3Type |
Public Member Functions | |
DDA () | |
uninitialized constructor More... | |
DDA (const RayT &ray) | |
DDA (const RayT &ray, RealT startTime) | |
DDA (const RayT &ray, RealT startTime, RealT maxTime) | |
void | init (const RayT &ray, RealT startTime, RealT maxTime) |
void | init (const RayT &ray) |
void | init (const RayT &ray, RealT startTime) |
bool | step () |
Increment the voxel index to next intersected voxel or node and returns true if the step in time does not exceed maxTime. More... | |
const Coord & | voxel () const |
Return the index coordinates of the next node or voxel intersected by the ray. If Log2Dim = 0 the return value is the actual signed coordinate of the voxel, else it is the origin of the corresponding VDB tree node or tile. More... | |
RealType | time () const |
Return the time (parameterized along the Ray) of the first hit of a tree node of size 2^Log2Dim. More... | |
RealType | maxTime () const |
Return the maximum time (parameterized along the Ray). More... | |
RealType | next () const |
Return the time (parameterized along the Ray) of the second (i.e. next) hit of a tree node of size 2^Log2Dim. More... | |
void | print (std::ostream &os=std::cout) const |
Print information about this DDA for debugging. More... | |
A Digital Differential Analyzer specialized for OpenVDB grids.
using openvdb::OPENVDB_VERSION_NAME::math::DDA< RayT, Log2Dim >::RealT = RealType |
using openvdb::OPENVDB_VERSION_NAME::math::DDA< RayT, Log2Dim >::RealType = typename RayT::RealType |
using openvdb::OPENVDB_VERSION_NAME::math::DDA< RayT, Log2Dim >::Vec3T = Vec3Type |
using openvdb::OPENVDB_VERSION_NAME::math::DDA< RayT, Log2Dim >::Vec3Type = typename RayT::Vec3Type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |