|
template<typename TagT > |
| CsgDifferenceOp (TreeT &tree, TagT tag) |
| Convenience constructor to CSG difference a single non-const tree from another. This constructor takes a Steal or DeepCopy tag dispatch class.
|
|
| CsgDifferenceOp (const TreeT &tree, DeepCopy tag) |
| Convenience constructor to CSG difference a single const tree from another. This constructor requires an explicit DeepCopy tag dispatch class.
|
|
| CsgDifferenceOp (TreeToMerge< TreeT > &tree) |
| Constructor to CSG difference the tree in a TreeToMerge object from another.
|
|
void | setPruneCancelledTiles (bool doprune) |
| Enables immediate pruning of tiles that cancel each other out.
|
|
size_t | size () const |
| Return the number of trees being merged (only ever 1)
|
|
bool | operator() (RootT &root, size_t idx) const |
|
template<typename NodeT > |
bool | operator() (NodeT &node, size_t idx) const |
|
bool | operator() (LeafT &leaf, size_t idx) const |
|
template<typename TreeT>
struct openvdb::v10_0::tools::CsgDifferenceOp< TreeT >
DynamicNodeManager operator to merge two trees using a CSG difference.
- Note
- This class modifies the topology of the tree so is designed to be used from DynamicNodeManager::foreachTopDown(). PruneCancelledTiles will set to background any leaf tile that matches in the two trees, thus minimizing ghost banding when common borders are differenced.