|
OpenVDB 10.0.1
|
Partial template specialization of DenseBase. More...
#include <openvdb/tools/Dense.h>
Public Member Functions | |
| size_t | coordToOffset (size_t i, size_t j, size_t k) const |
| Return the linear offset into this grid's value array given by unsigned coordinates (i, j, k), i.e., coordinates relative to the origin of this grid's bounding box. | |
| Coord | offsetToLocalCoord (size_t n) const |
| Return the index coordinate corresponding to the specified linear offset. | |
| size_t | yStride () const |
| Return the stride of the array in the y direction ( = dimX). | |
| size_t | zStride () const |
| Return the stride of the array in the y direction ( = dimX*dimY). | |
Static Public Member Functions | |
| static size_t | xStride () |
| Return the stride of the array in the x direction ( = 1). | |
Protected Member Functions | |
| DenseBase (const CoordBBox &bbox) | |
| Protected constructor so as to prevent direct instantiation. | |
Protected Attributes | |
| const CoordBBox | mBBox |
| const size_t | mY |
| const size_t | mZ |
Partial template specialization of DenseBase.
Protected constructor so as to prevent direct instantiation.
|
inline |
Return the linear offset into this grid's value array given by unsigned coordinates (i, j, k), i.e., coordinates relative to the origin of this grid's bounding box.
|
inline |
Return the index coordinate corresponding to the specified linear offset.
|
inlinestatic |
Return the stride of the array in the x direction ( = 1).
|
inline |
Return the stride of the array in the y direction ( = dimX).
|
inline |
Return the stride of the array in the y direction ( = dimX*dimY).
|
protected |
|
protected |
|
protected |