OpenVDB: DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT > Class Template Reference

OpenVDB 3.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | List of all members
DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT > Class Template Reference

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

`#include <Interpolation.h>`

## Public Types
typedef TreeT::ValueType | ValueType
typedef TreeT | TreeType
typedef Grid< TreeType > | GridType
typedef tree::ValueAccessor< TreeT > | AccessorType

## 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::v3_1_0::tools::DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT >

Specialization of DualGridSampler for construction from a ValueAccessor type.

## Member Typedef Documentation

typedef tree::ValueAccessor<TreeT> AccessorType

typedef Grid<TreeType> GridType

typedef TreeT TreeType

typedef TreeT::ValueType ValueType

## Constructor & Destructor Documentation

DualGridSampler | ( | const AccessorType & | sourceAccessor,
|  | const math::Transform & | sourceXform,
|  | const math::Transform & | targetXform
| ) |  |
| inline

ValueAccessor and transform constructor.

Parameters

  sourceAccessor | ValueAccessor into the source grid.
  sourceXform | Transform for the source grid.
  targetXform | Transform for the target grid.

## Member Function Documentation

bool isAligned | ( |  | ) | const
| inline

Return true if the two grids are aligned.

ValueType operator() | ( | const Coord & | ijk | ) | const
| inline

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

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

- Interpolation.h