HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT > Class Template Reference

Specialization of DualGridSampler for construction from a ValueAccessor type. More...

#include <Interpolation.h>

Public Types

using ValueType = typename TreeT::ValueType
 
using TreeType = TreeT
 
using GridType = Grid< TreeType >
 
using AccessorType = typename tree::ValueAccessor< TreeT >
 

Public Member Functions

 DualGridSampler (const AccessorType &sourceAccessor, const math::Transform &sourceXform, const math::Transform &targetXform)
 ValueAccessor and transform constructor. More...
 
ValueType operator() (const Coord &ijk) const
 Return the value of the source grid at the index coordinates, ijk, relative to the target grid. More...
 
bool isAligned () const
 Return true if the two grids are aligned. More...
 

Detailed Description

template<typename TreeT, typename SamplerT>
class openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >

Specialization of DualGridSampler for construction from a ValueAccessor type.

Definition at line 524 of file Interpolation.h.

Member Typedef Documentation

template<typename TreeT , typename SamplerT >
using openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::AccessorType = typename tree::ValueAccessor<TreeT>

Definition at line 530 of file Interpolation.h.

template<typename TreeT , typename SamplerT >
using openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::GridType = Grid<TreeType>

Definition at line 529 of file Interpolation.h.

template<typename TreeT , typename SamplerT >
using openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::TreeType = TreeT

Definition at line 528 of file Interpolation.h.

template<typename TreeT , typename SamplerT >
using openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::ValueType = typename TreeT::ValueType

Definition at line 527 of file Interpolation.h.

Constructor & Destructor Documentation

template<typename TreeT , typename SamplerT >
openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::DualGridSampler ( const AccessorType sourceAccessor,
const math::Transform sourceXform,
const math::Transform targetXform 
)
inline

ValueAccessor and transform constructor.

Parameters
sourceAccessorValueAccessor into the source grid.
sourceXformTransform for the source grid.
targetXformTransform for the target grid.

Definition at line 536 of file Interpolation.h.

Member Function Documentation

template<typename TreeT , typename SamplerT >
bool openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::isAligned ( ) const
inline

Return true if the two grids are aligned.

Definition at line 554 of file Interpolation.h.

template<typename TreeT , typename SamplerT >
ValueType openvdb::OPENVDB_VERSION_NAME::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >::operator() ( const Coord &  ijk) const
inline

Return the value of the source grid at the index coordinates, ijk, relative to the target grid.

Definition at line 547 of file Interpolation.h.


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