Open3D (C++ API)  0.18.0
Public Types | Public Member Functions | Data Fields
open3d::utility::MiniVec< T, N > Struct Template Reference

#include <MiniVec.h>

Public Types

typedef T Scalar_t
 

Public Member Functions

FN_SPECIFIERS MiniVec ()
 
template<class... TInit>
FN_SPECIFIERS MiniVec (TInit... as)
 
FN_SPECIFIERS MiniVec (const T *const ptr)
 
FN_SPECIFIERS const T operator[] (size_t i) const
 
FN_SPECIFIERS T & operator[] (size_t i)
 
template<class T2 >
FN_SPECIFIERS MiniVec< T2, N > cast () const
 
FN_SPECIFIERSdot (const MiniVec< T, N > &a) const
 
FN_SPECIFIERS MiniVec< T, N > abs () const
 
FN_SPECIFIERS bool all () const
 
FN_SPECIFIERS bool any () const
 

Data Fields

arr [N]
 

Detailed Description

template<class T, int N>
struct open3d::utility::MiniVec< T, N >

Small vector class with some basic arithmetic operations that can be used within cuda kernels

Member Typedef Documentation

◆ Scalar_t

template<class T , int N>
typedef T open3d::utility::MiniVec< T, N >::Scalar_t

Constructor & Destructor Documentation

◆ MiniVec() [1/3]

template<class T , int N>
FN_SPECIFIERS open3d::utility::MiniVec< T, N >::MiniVec ( )
inline

◆ MiniVec() [2/3]

template<class T , int N>
template<class... TInit>
FN_SPECIFIERS open3d::utility::MiniVec< T, N >::MiniVec ( TInit...  as)
inlineexplicit

◆ MiniVec() [3/3]

template<class T , int N>
FN_SPECIFIERS open3d::utility::MiniVec< T, N >::MiniVec ( const T *const  ptr)
inlineexplicit

Member Function Documentation

◆ abs()

template<class T , int N>
FN_SPECIFIERS MiniVec<T, N> open3d::utility::MiniVec< T, N >::abs ( ) const
inline

◆ all()

template<class T , int N>
FN_SPECIFIERS bool open3d::utility::MiniVec< T, N >::all ( ) const
inline

◆ any()

template<class T , int N>
FN_SPECIFIERS bool open3d::utility::MiniVec< T, N >::any ( ) const
inline

◆ cast()

template<class T , int N>
template<class T2 >
FN_SPECIFIERS MiniVec<T2, N> open3d::utility::MiniVec< T, N >::cast ( ) const
inline

◆ dot()

template<class T , int N>
FN_SPECIFIERS T open3d::utility::MiniVec< T, N >::dot ( const MiniVec< T, N > &  a) const
inline

◆ operator[]() [1/2]

template<class T , int N>
FN_SPECIFIERS T& open3d::utility::MiniVec< T, N >::operator[] ( size_t  i)
inline

◆ operator[]() [2/2]

template<class T , int N>
FN_SPECIFIERS const T open3d::utility::MiniVec< T, N >::operator[] ( size_t  i) const
inline

Field Documentation

◆ arr

template<class T , int N>
T open3d::utility::MiniVec< T, N >::arr[N]

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