HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Clip.h File Reference

Functions to clip a grid against a bounding box or against another grid's active voxel topology. More...

#include <openvdb/Grid.h>
#include <openvdb/math/Math.h>
#include <openvdb/tree/LeafManager.h>
#include "GridTransformer.h"
#include "Prune.h"
#include <tbb/blocked_range.h>
#include <tbb/parallel_reduce.h>
#include <type_traits>
+ Include dependency graph for Clip.h:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::tools::clip_internal::MaskInteriorVoxels< TreeT >
 
class  openvdb::OPENVDB_VERSION_NAME::tools::clip_internal::CopyLeafNodes< TreeT >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::clip_internal::BoolSampler
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::clip_internal::ConvertGrid< FromGridT, ToGridT >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::clip_internal::ConvertGrid< GridT, GridT >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 
 openvdb::OPENVDB_VERSION_NAME::tools::clip_internal
 

Typedefs

using openvdb::OPENVDB_VERSION_NAME::tools::clip_internal::MaskValueType = ValueMask
 

Functions

template<typename GridType >
OPENVDB_STATIC_SPECIALIZATION
GridType::Ptr 
openvdb::OPENVDB_VERSION_NAME::tools::clip (const GridType &grid, const BBoxd &bbox, bool keepInterior=true)
 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 
openvdb::OPENVDB_VERSION_NAME::tools::clip (const GridType &grid, const Grid< MaskTreeType > &mask, bool keepInterior=true)
 Clip a grid against the active voxels of another grid and return a new grid containing the result. More...
 

Detailed Description

Functions to clip a grid against a bounding box or against another grid's active voxel topology.

Definition in file Clip.h.