SPH
Public Member Functions | List of all members
LookupMap Class Reference

#include <LookupMap.h>

Inheritance diagram for LookupMap:
Noncopyable

Public Member Functions

 LookupMap ()=default
 
 LookupMap (const Size n)
 
void update (ArrayView< const Vector > points)
 
INLINE bool empty () const
 
INLINE Vector clamp (const Vector &pos) const
 
LookupMapoperator= (LookupMap &&other)
 
INLINE const Array< Size > & operator() (const Indices &idxs) const
 
INLINE Array< Size > & operator() (const Indices &idxs)
 
INLINE Box voxel (const Indices idxs) const
 
INLINE Vector getVoxelSize () const
 
INLINE Size getDimensionSize () const
 
INLINE Indices map (const Vector &v) const
 
- Public Member Functions inherited from Noncopyable
 Noncopyable ()=default
 
 Noncopyable (const Noncopyable &)=delete
 
 Noncopyable (Noncopyable &&)=default
 
Noncopyableoperator= (const Noncopyable &)=delete
 
Noncopyableoperator= (Noncopyable &&)=default
 

Detailed Description

Definition at line 14 of file LookupMap.h.

Constructor & Destructor Documentation

◆ LookupMap() [1/2]

LookupMap::LookupMap ( )
default

◆ LookupMap() [2/2]

LookupMap::LookupMap ( const Size  n)
inline

Definition at line 27 of file LookupMap.h.

Member Function Documentation

◆ clamp()

INLINE Vector LookupMap::clamp ( const Vector pos) const
inline

Definition at line 51 of file LookupMap.h.

◆ empty()

INLINE bool LookupMap::empty ( ) const
inline

Definition at line 47 of file LookupMap.h.

◆ getDimensionSize()

INLINE Size LookupMap::getDimensionSize ( ) const
inline

Definition at line 84 of file LookupMap.h.

◆ getVoxelSize()

INLINE Vector LookupMap::getVoxelSize ( ) const
inline

Definition at line 80 of file LookupMap.h.

◆ map()

INLINE Indices LookupMap::map ( const Vector v) const
inline

Definition at line 88 of file LookupMap.h.

◆ operator()() [1/2]

INLINE Array<Size>& LookupMap::operator() ( const Indices idxs)
inline

Definition at line 68 of file LookupMap.h.

◆ operator()() [2/2]

INLINE const Array<Size>& LookupMap::operator() ( const Indices idxs) const
inline

Definition at line 62 of file LookupMap.h.

◆ operator=()

LookupMap& LookupMap::operator= ( LookupMap &&  other)
inline

Definition at line 55 of file LookupMap.h.

◆ update()

void LookupMap::update ( ArrayView< const Vector points)
inline

Definition at line 31 of file LookupMap.h.

◆ voxel()

INLINE Box LookupMap::voxel ( const Indices  idxs) const
inline

Definition at line 74 of file LookupMap.h.


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