MeshLib Documentation
Loading...
Searching...
No Matches
MR::ShiftTransformer< TreeT > Class Template Reference

functor for shifting voxels More...

#include <MROpenVDBHelper.h>

Public Types

using InTreeAccessor = typename openvdb::tree::ValueAccessor<const TreeT>
 
using OutTreeAccessor = typename openvdb::tree::ValueAccessor<TreeT>
 
using ValueT = typename TreeT::ValueType
 

Public Member Functions

void operator() (const InTreeAccessor &inAcc, OutTreeAccessor &outAcc, openvdb::math::Coord coord)
 
void setShift (const openvdb::math::Coord &shift)
 

Detailed Description

template<typename TreeT>
class MR::ShiftTransformer< TreeT >

functor for shifting voxels

Member Typedef Documentation

◆ InTreeAccessor

template<typename TreeT >
using MR::ShiftTransformer< TreeT >::InTreeAccessor = typename openvdb::tree::ValueAccessor<const TreeT>

◆ OutTreeAccessor

template<typename TreeT >
using MR::ShiftTransformer< TreeT >::OutTreeAccessor = typename openvdb::tree::ValueAccessor<TreeT>

◆ ValueT

template<typename TreeT >
using MR::ShiftTransformer< TreeT >::ValueT = typename TreeT::ValueType

Member Function Documentation

◆ operator()()

template<typename TreeT >
void MR::ShiftTransformer< TreeT >::operator() ( const InTreeAccessor & inAcc,
OutTreeAccessor & outAcc,
openvdb::math::Coord coord )
inline

◆ setShift()

template<typename TreeT >
void MR::ShiftTransformer< TreeT >::setShift ( const openvdb::math::Coord & shift)
inline

The documentation for this class was generated from the following file: