OpenVDB
1.1.0
|
Generate a narrow-band level set of sphere. More...
#include <openvdb/Grid.h>
#include <openvdb/Types.h>
#include <openvdb/math/Math.h>
#include <openvdb/util/NullInterrupter.h>
#include <boost/utility.hpp>
#include <boost/type_traits/is_floating_point.hpp>
Go to the source code of this file.
Classes | |
class | LevelSetSphere< GridT, InterruptT > |
Generates a signed distance field (or narrow band level set) to a single sphere. More... |
Namespaces | |
namespace | openvdb |
namespace | openvdb::v1_1_0 |
namespace | openvdb::v1_1_0::tools |
Functions | |
template<typename GridType , typename InterruptT > | |
GridType::Ptr | createLevelSetSphere (float radius, const openvdb::Vec3f ¢er, float voxelSize, float halfWidth=float(LEVEL_SET_HALF_WIDTH), InterruptT *interrupt=NULL) |
Return a grid of type GridType containing a narrow-band level set representation of a sphere. | |
template<typename GridType > | |
GridType::Ptr | createLevelSetSphere (float radius, const openvdb::Vec3f ¢er, float voxelSize, float halfWidth=float(LEVEL_SET_HALF_WIDTH)) |
Return a grid of type GridType containing a narrow-band level set representation of a sphere. |
Generate a narrow-band level set of sphere.