Class muda::Dense3DBase
template <bool IsConst, typename T>
ClassList > muda > Dense3DBase
Inherits the following classes: muda::ViewerBase
Public Types
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Type |
Name |
constexpr bool |
IsConst = = IsConst_
|
constexpr bool |
IsNonConst = = !IsConst_
|
Public Functions
Type |
Name |
MUDA_GENERIC |
Dense3DBase ()
|
MUDA_GENERIC |
Dense3DBase (auto_const_t< T > * p, const int3 & offset, const int3 & dim, int pitch_bytes, int pitch_bytes_area)
|
MUDA_GENERIC int |
area () const
|
MUDA_GENERIC auto |
as_const () const
|
MUDA_GENERIC auto_const_t< T > * |
data ()
|
MUDA_GENERIC const T * |
data () const
|
MUDA_GENERIC auto |
dim () const
|
MUDA_GENERIC auto_const_t< T > & |
flatten (int i)
|
MUDA_GENERIC const T & |
flatten (int i) const
|
MUDA_GENERIC |
operator ConstViewer () const
|
MUDA_GENERIC auto_const_t< T > & |
operator() (int x, int y, int z)
|
MUDA_GENERIC auto_const_t< T > & |
operator() (const int3 & xyz)
|
MUDA_GENERIC const T & |
operator() (int x, int y, int z) const
|
MUDA_GENERIC const T & |
operator() (const int3 & xyz) const
|
MUDA_GENERIC int |
pitch_bytes () const
|
MUDA_GENERIC int |
pitch_bytes_area () const
|
MUDA_GENERIC int |
total_bytes () const
|
MUDA_GENERIC int |
total_size () const
|
MUDA_GENERIC int |
volume () const
|
Public Functions inherited from muda::ViewerBase
See muda::ViewerBase
Protected Types
Type |
Name |
typedef typename Base::template auto_const_t< U > |
auto_const_t
|
Protected Types inherited from muda::ViewerBase
See muda::ViewerBase
Protected Attributes
Protected Functions
Type |
Name |
MUDA_INLINE MUDA_GENERIC void |
check () const
|
MUDA_INLINE MUDA_GENERIC void |
check_range (int x, int y, int z) const
|
Protected Functions inherited from muda::ViewerBase
See muda::ViewerBase
Public Types Documentation
typedef ConstViewer
using muda::Dense3DBase< IsConst, T >::ConstViewer = Dense3DBase<true, T>;
typedef NonConstViewer
using muda::Dense3DBase< IsConst, T >::NonConstViewer = Dense3DBase<false, T>;
typedef ThisViewer
using muda::Dense3DBase< IsConst, T >::ThisViewer = Dense3DBase<IsConst, T>;
typedef value_type
using muda::Dense3DBase< IsConst, T >::value_type = T;
Public Functions Documentation
function Dense3DBase [1/2]
inline MUDA_GENERIC muda::Dense3DBase::Dense3DBase ()
function Dense3DBase [2/2]
inline MUDA_GENERIC muda::Dense3DBase::Dense3DBase (
auto_const_t< T > * p,
const int3 & offset,
const int3 & dim,
int pitch_bytes,
int pitch_bytes_area
)
function area
inline MUDA_GENERIC int muda::Dense3DBase::area () const
function as_const
inline MUDA_GENERIC auto muda::Dense3DBase::as_const () const
function data [1/2]
inline MUDA_GENERIC auto_const_t< T > * muda::Dense3DBase::data ()
function data [2/2]
inline MUDA_GENERIC const T * muda::Dense3DBase::data () const
function dim
inline MUDA_GENERIC auto muda::Dense3DBase::dim () const
function flatten [1/2]
inline MUDA_GENERIC auto_const_t< T > & muda::Dense3DBase::flatten (
int i
)
function flatten [2/2]
inline MUDA_GENERIC const T & muda::Dense3DBase::flatten (
int i
) const
function operator ConstViewer
inline MUDA_GENERIC muda::Dense3DBase::operator ConstViewer () const
function operator() [1/4]
inline MUDA_GENERIC auto_const_t< T > & muda::Dense3DBase::operator() (
int x,
int y,
int z
)
function operator() [2/4]
inline MUDA_GENERIC auto_const_t< T > & muda::Dense3DBase::operator() (
const int3 & xyz
)
function operator() [3/4]
inline MUDA_GENERIC const T & muda::Dense3DBase::operator() (
int x,
int y,
int z
) const
function operator() [4/4]
inline MUDA_GENERIC const T & muda::Dense3DBase::operator() (
const int3 & xyz
) const
function pitch_bytes
inline MUDA_GENERIC int muda::Dense3DBase::pitch_bytes () const
function pitch_bytes_area
inline MUDA_GENERIC int muda::Dense3DBase::pitch_bytes_area () const
function total_bytes
inline MUDA_GENERIC int muda::Dense3DBase::total_bytes () const
function total_size
inline MUDA_GENERIC int muda::Dense3DBase::total_size () const
function volume
inline MUDA_GENERIC int muda::Dense3DBase::volume () const
Protected Types Documentation
typedef auto_const_t
using muda::Dense3DBase< IsConst, T >::auto_const_t = typename Base::template auto_const_t<U>;
Protected Attributes Documentation
variable m_data
auto_const_t<T>* muda::Dense3DBase< IsConst, T >::m_data;
variable m_dim
int3 muda::Dense3DBase< IsConst, T >::m_dim;
variable m_offset
int3 muda::Dense3DBase< IsConst, T >::m_offset;
variable m_pitch_bytes
int muda::Dense3DBase< IsConst, T >::m_pitch_bytes;
variable m_pitch_bytes_area
int muda::Dense3DBase< IsConst, T >::m_pitch_bytes_area;
Protected Functions Documentation
function check
inline MUDA_INLINE MUDA_GENERIC void muda::Dense3DBase::check () const
function check_range
inline MUDA_INLINE MUDA_GENERIC void muda::Dense3DBase::check_range (
int x,
int y,
int z
) const
The documentation for this class was generated from the following file src/muda/viewer/dense/dense_3d.h