Integer wrapper, required to distinguish PointIndexGrid and PointDataGrid from Int32Grid and Int64Grid. More...
#include <openvdb/Types.h>
Public Types | |
| using | IntType = IntType_ |
Public Member Functions | |
| PointIndex (IntType i=IntType(0)) | |
| template<typename T> | |
| PointIndex (T i) | |
| Explicit type conversion constructor. | |
| operator IntType () const | |
| template<typename T> | |
| PointIndex | operator+ (T x) |
Needed to support the (zeroVal<PointIndex>() + val) idiom. | |
Integer wrapper, required to distinguish PointIndexGrid and PointDataGrid from Int32Grid and Int64Grid.
Kind is a dummy parameter used to create distinct types.
|
inline |
Explicit type conversion constructor.
Needed to support the (zeroVal<PointIndex>() + val) idiom.