Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Data Fields
open3d::core::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 utility::MiniVec< 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::core::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 utility::MiniVec<index_t, NARGS> open3d::core::OffsetCalculator< NARGS, index_t >::get ( index_t  linear_idx) const
inline

Field Documentation

◆ dims_

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

◆ sizes_

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

◆ strides_

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

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