OpenVDB  0.104.0
Public Types | Public Member Functions | List of all members
RayIntervalSet< Real, ValueType > Class Template Reference

#include <Ray.h>

Inherits set< RayInterval< Real, ValueType > >.

Public Types

typedef RayInterval< Real,
ValueType > 
IntervalType
 

Public Member Functions

OPENVDB_DEPRECATED RayIntervalSet ()
 
bool merge (const Ray< Real > &R, Real tolerance=1e-4)
 merges and padds input intersections. New intervals are tagged EMPTY We assume: 1) input RayIntervalSets are non-overlapping (this is a consequense of non-overlapping block in vdb!) 2) input RayIntervalSets does not contain any EMPTY intervals (these are ignored in the Grid::intersection) More...
 
bool isEmpty () const
 
void print (const std::string &str=std::string("")) const
 

Member Typedef Documentation

typedef RayInterval<Real,ValueType> IntervalType

Constructor & Destructor Documentation

Member Function Documentation

bool isEmpty ( ) const
inline
bool merge ( const Ray< Real > &  R,
Real  tolerance = 1e-4 
)
inline

merges and padds input intersections. New intervals are tagged EMPTY We assume: 1) input RayIntervalSets are non-overlapping (this is a consequense of non-overlapping block in vdb!) 2) input RayIntervalSets does not contain any EMPTY intervals (these are ignored in the Grid::intersection)

Returns
true if intervals are merged
void print ( const std::string &  str = std::string("")) const
inline

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