HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind > Struct Template Reference

Integer wrapper, required to distinguish PointIndexGrid and PointDataGrid from Int32Grid and Int64Grid. More...

#include <Types.h>

Public Types

using IntType = IntType_
 

Public Member Functions

 PointIndex (IntType i=IntType(0))
 
 operator IntType () const
 
template<typename T >
PointIndex operator+ (T x)
 Needed to support the (zeroVal<PointIndex>() + val) idiom. More...
 

Detailed Description

template<typename IntType_, Index Kind>
struct openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind >

Integer wrapper, required to distinguish PointIndexGrid and PointDataGrid from Int32Grid and Int64Grid.

Note
Kind is a dummy parameter used to create distinct types.

Definition at line 173 of file Types.h.

Member Typedef Documentation

template<typename IntType_ , Index Kind>
using openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind >::IntType = IntType_

Definition at line 177 of file Types.h.

Constructor & Destructor Documentation

template<typename IntType_ , Index Kind>
openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind >::PointIndex ( IntType  i = IntType(0))
inline

Definition at line 179 of file Types.h.

Member Function Documentation

template<typename IntType_ , Index Kind>
openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind >::operator IntType ( ) const
inline

Definition at line 181 of file Types.h.

template<typename IntType_ , Index Kind>
template<typename T >
PointIndex openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind >::operator+ ( x)
inline

Needed to support the (zeroVal<PointIndex>() + val) idiom.

Definition at line 185 of file Types.h.


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