HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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))
 
template<typename T >
 PointIndex (T i)
 Explicit type conversion constructor. More...
 
 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 156 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 160 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 162 of file Types.h.

template<typename IntType_ , Index Kind>
template<typename T >
openvdb::OPENVDB_VERSION_NAME::PointIndex< IntType_, Kind >::PointIndex ( i)
inlineexplicit

Explicit type conversion constructor.

Definition at line 165 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 167 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 171 of file Types.h.


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