HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MapsUtil.h File Reference
#include <openvdb/math/Maps.h>
#include <algorithm>
#include <cmath>
#include <vector>
+ Include dependency graph for MapsUtil.h:

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::util
 

Functions

template<typename MapType >
void openvdb::OPENVDB_VERSION_NAME::util::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 openvdb::OPENVDB_VERSION_NAME::util::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 openvdb::OPENVDB_VERSION_NAME::util::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...