primatologist-gpl 6.0.4
aims::vol Namespace Reference

Functions

template<typename T>
carto::VolumeRef< T > empty ()
 
template<typename T>
carto::VolumeRef< T > select (const carto::VolumeRef< T > &in, int t)
 
template<typename P, typename T>
bool inside (const P &p, const carto::VolumeRef< T > &input)
 
template<typename P, typename T>
bool insideAllocated (const P &p, const carto::VolumeRef< T > &input)
 
template<typename T>
bool inside (const Point4di &p, const carto::VolumeRef< T > &input)
 
template<typename T>
bool insideAllocated (const Point4di &p, const carto::VolumeRef< T > &input)
 
template<typename T, typename M>
carto::VolumeRef< T > & clip (carto::VolumeRef< T > &in, const typename type::identity< T >::type &min, const typename type::identity< T >::type &max, const carto::VolumeRef< M > &mask)
 
template<typename T>
carto::VolumeRef< T > & clip (carto::VolumeRef< T > &in, const typename type::identity< T >::type &min, const typename type::identity< T >::type &max)
 
template<typename T, typename M>
carto::VolumeRef< T > newClip (carto::VolumeRef< T > &in, const typename type::identity< T >::type &min, const typename type::identity< T >::type &max, const carto::VolumeRef< M > &mask)
 
template<typename T>
carto::VolumeRef< T > newClip (carto::VolumeRef< T > &in, const typename type::identity< T >::type &min, const typename type::identity< T >::type &max)
 
template<typename T1, typename T2, typename M>
uintmax_t sumLogicalDiff (const carto::VolumeRef< T1 > &one, const carto::VolumeRef< T2 > &two, const carto::VolumeRef< M > &mask)
 
template<typename T1, typename T2>
uintmax_t sumLogicalDiff (const carto::VolumeRef< T1 > &one, const carto::VolumeRef< T2 > &two)
 
template<typename T, typename M>
carto::DataTypeTraits< T >::LongType sum (const carto::VolumeRef< T > &in, const carto::VolumeRef< M > &mask)
 

Function Documentation

◆ clip() [1/2]

template<typename T>
carto::VolumeRef< T > & aims::vol::clip ( carto::VolumeRef< T > & in,
const typename type::identity< T >::type & min,
const typename type::identity< T >::type & max )

Definition at line 99 of file volume_d.h.

References clip(), and empty().

◆ clip() [2/2]

template<typename T, typename M>
carto::VolumeRef< T > & aims::vol::clip ( carto::VolumeRef< T > & in,
const typename type::identity< T >::type & min,
const typename type::identity< T >::type & max,
const carto::VolumeRef< M > & mask )

Definition at line 78 of file volume_d.h.

Referenced by clip(), newClip(), and newClip().

◆ empty()

◆ inside() [1/2]

template<typename P, typename T>
bool aims::vol::inside ( const P & p,
const carto::VolumeRef< T > & input )

Definition at line 37 of file volume_d.h.

◆ inside() [2/2]

template<typename T>
bool aims::vol::inside ( const Point4di & p,
const carto::VolumeRef< T > & input )

Definition at line 58 of file volume_d.h.

◆ insideAllocated() [1/2]

template<typename P, typename T>
bool aims::vol::insideAllocated ( const P & p,
const carto::VolumeRef< T > & input )

Definition at line 47 of file volume_d.h.

◆ insideAllocated() [2/2]

template<typename T>
bool aims::vol::insideAllocated ( const Point4di & p,
const carto::VolumeRef< T > & input )

Definition at line 67 of file volume_d.h.

◆ newClip() [1/2]

template<typename T>
carto::VolumeRef< T > aims::vol::newClip ( carto::VolumeRef< T > & in,
const typename type::identity< T >::type & min,
const typename type::identity< T >::type & max )

Definition at line 120 of file volume_d.h.

References clip().

◆ newClip() [2/2]

template<typename T, typename M>
carto::VolumeRef< T > aims::vol::newClip ( carto::VolumeRef< T > & in,
const typename type::identity< T >::type & min,
const typename type::identity< T >::type & max,
const carto::VolumeRef< M > & mask )

Definition at line 108 of file volume_d.h.

References clip().

◆ select()

template<typename T>
carto::VolumeRef< T > aims::vol::select ( const carto::VolumeRef< T > & in,
int t )

Definition at line 29 of file volume_d.h.

◆ sum()

template<typename T, typename M>
carto::DataTypeTraits< T >::LongType aims::vol::sum ( const carto::VolumeRef< T > & in,
const carto::VolumeRef< M > & mask )

Definition at line 163 of file volume_d.h.

Referenced by sumLogicalDiff().

◆ sumLogicalDiff() [1/2]

template<typename T1, typename T2>
uintmax_t aims::vol::sumLogicalDiff ( const carto::VolumeRef< T1 > & one,
const carto::VolumeRef< T2 > & two )

Definition at line 155 of file volume_d.h.

References empty(), and sumLogicalDiff().

◆ sumLogicalDiff() [2/2]

template<typename T1, typename T2, typename M>
uintmax_t aims::vol::sumLogicalDiff ( const carto::VolumeRef< T1 > & one,
const carto::VolumeRef< T2 > & two,
const carto::VolumeRef< M > & mask )

Definition at line 131 of file volume_d.h.

References sum().

Referenced by sumLogicalDiff().