SPH
Public Member Functions | List of all members
Grid< T > Class Template Reference

#include <Grid.h>

Public Member Functions

 Grid ()=default
 
 Grid (const Indices &dimensions, const T &value=T())
 
INLINE T & operator[] (const Indices &idxs)
 
INLINE const T & operator[] (const Indices &idxs) const
 
INLINE Indices size () const
 
INLINE bool empty () const
 
INLINE uint64_t voxelCount () const
 
Iterator< T > begin ()
 
Iterator< T > end ()
 

Detailed Description

template<typename T>
class Grid< T >

Definition at line 16 of file Grid.h.

Constructor & Destructor Documentation

◆ Grid() [1/2]

template<typename T >
Grid< T >::Grid ( )
default

◆ Grid() [2/2]

template<typename T >
Grid< T >::Grid ( const Indices dimensions,
const T &  value = T() 
)
inline

Definition at line 24 of file Grid.h.

Member Function Documentation

◆ begin()

template<typename T >
Iterator<T> Grid< T >::begin ( )
inline

Definition at line 49 of file Grid.h.

◆ empty()

template<typename T >
INLINE bool Grid< T >::empty ( ) const
inline

Definition at line 41 of file Grid.h.

◆ end()

template<typename T >
Iterator<T> Grid< T >::end ( )
inline

Definition at line 53 of file Grid.h.

◆ operator[]() [1/2]

template<typename T >
INLINE T& Grid< T >::operator[] ( const Indices idxs)
inline

Definition at line 29 of file Grid.h.

◆ operator[]() [2/2]

template<typename T >
INLINE const T& Grid< T >::operator[] ( const Indices idxs) const
inline

Definition at line 33 of file Grid.h.

◆ size()

template<typename T >
INLINE Indices Grid< T >::size ( ) const
inline

Definition at line 37 of file Grid.h.

◆ voxelCount()

template<typename T >
INLINE uint64_t Grid< T >::voxelCount ( ) const
inline

Definition at line 45 of file Grid.h.


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