Open3D (C++ API)
Public Member Functions | Data Fields
open3d::OffsetCalculator< NARGS, index_t > Struct Template Reference

#include <Indexer.h>

Public Member Functions

 OffsetCalculator (int dims, const int64_t *sizes, const int64_t *const *strides)
 
OPEN3D_HOST_DEVICE SmallArray< index_t, NARGS > get (index_t linear_idx) const
 

Data Fields

int dims_
 
index_t sizes_ [MAX_DIMS]
 
index_t strides_ [MAX_DIMS][NARGS]
 

Constructor & Destructor Documentation

◆ OffsetCalculator()

template<int NARGS, typename index_t = uint32_t>
open3d::OffsetCalculator< NARGS, index_t >::OffsetCalculator ( int  dims,
const int64_t *  sizes,
const int64_t *const *  strides 
)
inline

Member Function Documentation

◆ get()

template<int NARGS, typename index_t = uint32_t>
OPEN3D_HOST_DEVICE SmallArray<index_t, NARGS> open3d::OffsetCalculator< NARGS, index_t >::get ( index_t  linear_idx) const
inline

Field Documentation

◆ dims_

template<int NARGS, typename index_t = uint32_t>
int open3d::OffsetCalculator< NARGS, index_t >::dims_

◆ sizes_

template<int NARGS, typename index_t = uint32_t>
index_t open3d::OffsetCalculator< NARGS, index_t >::sizes_[MAX_DIMS]

◆ strides_

template<int NARGS, typename index_t = uint32_t>
index_t open3d::OffsetCalculator< NARGS, index_t >::strides_[MAX_DIMS][NARGS]

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