OpenVDB
3.0.0
|
Functions to clip a grid against a bounding box or against another grid's active voxel topology. More...
#include <openvdb/Grid.h>
#include <openvdb/tree/LeafManager.h>
#include "GridTransformer.h"
#include <boost/type_traits/is_same.hpp>
#include <boost/type_traits/is_signed.hpp>
#include "Prune.h"
Go to the source code of this file.
Classes | |
class | MaskInteriorVoxels< TreeT > |
class | CopyLeafNodes< TreeT > |
struct | BoolSampler |
struct | ConvertGrid< FromGridT, ToGridT > |
struct | ConvertGrid< GridT, GridT > |
Namespaces | |
openvdb | |
openvdb::v3_0_0 | |
openvdb::v3_0_0::tools | |
openvdb::v3_0_0::tools::clip_internal | |
Functions | |
template<typename GridType > | |
OPENVDB_STATIC_SPECIALIZATION GridType::Ptr | clip (const GridType &grid, const BBoxd &) |
Clip the given grid against a world-space bounding box and return a new grid containing the result. More... | |
template<typename GridType , typename MaskTreeType > | |
OPENVDB_STATIC_SPECIALIZATION GridType::Ptr | clip (const GridType &grid, const Grid< MaskTreeType > &mask) |
Clip a grid against the active voxels of another grid and return a new grid containing the result. More... | |
template<typename T > | |
boost::enable_if< boost::is_signed< T >, bool >::type | lessThanZero (const T &v) |
template<typename T > | |
boost::disable_if< boost::is_signed< T >, bool >::type | lessThanZero (const T &) |
template<typename GridT > | |
boost::disable_if< boost::is_same< bool, typename GridT::ValueType >, typename GridT::template ValueConverter< bool >::Type::Ptr >::type | convertToBoolMaskGrid (const GridT &grid) |
template<typename GridT > | |
boost::enable_if< boost::is_same< bool, typename GridT::ValueType >, typename GridT::Ptr >::type | convertToBoolMaskGrid (const GridT &grid) |
template<typename GridType > | |
GridType::Ptr | doClip (const GridType &grid, const typename GridType::template ValueConverter< bool >::Type &aMask) |
Functions to clip a grid against a bounding box or against another grid's active voxel topology.