OpenVDB  6.2.0
Namespaces | Functions
MapsUtil.h File Reference
#include <openvdb/math/Maps.h>
#include <algorithm>
#include <cmath>
#include <vector>

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::v6_2
 
 openvdb::v6_2::util
 

Functions

template<typename MapType >
void calculateBounds (const MapType &map, const BBoxd &in, BBoxd &out)
 Calculate an axis-aligned bounding box in the given map's domain (e.g., index space) from an axis-aligned bounding box in its range (e.g., world space) More...
 
template<typename MapType >
void calculateBounds (const MapType &map, const Vec3d &center, const Real radius, BBoxd &out)
 Calculate an axis-aligned bounding box in the given map's domain from a spherical bounding box in its range. More...
 
template<>
void calculateBounds< math::NonlinearFrustumMap > (const math::NonlinearFrustumMap &frustum, const Vec3d &center, const Real radius, BBoxd &out)
 Calculate an axis-aligned bounding box in index space from a spherical bounding box in world space. More...