aimstil
5.0.5
|
A 3D box parallel to canonical axes. More...
#include <til/Box.h>
Public Types | |
typedef Box< T, D > | Self |
Public Member Functions | |
Box () | |
Default constructor. All coordinates are set to zero. More... | |
Box (const numeric_array< T, D > &posMin, const numeric_array< T, D > &posMax) | |
Set min and max bounds for all dimensions. More... | |
const numeric_array< T, D > & | min_bounds () const |
Get min bounds. More... | |
const numeric_array< T, D > & | max_bounds () const |
Get max bounds. More... | |
void | set_min_bounds (const numeric_array< T, D > &min) |
Set min bounds. More... | |
void | set_max_bounds (const numeric_array< T, D > &min) |
Set max bounds. More... | |
void | set_min_bound (std::size_t i, T value) |
Set min bound on axis i. More... | |
void | set_max_bound (std::size_t i, T value) |
Set max bound on axis i. More... | |
void | set_bounds (const numeric_array< T, D > &minBounds, const numeric_array< T, D > &maxBounds) |
Set min and max bounds. More... | |
void | set_bounds (std::size_t i, T min, T max) |
Set min and max bounds for axis i. More... | |
A 3D box parallel to canonical axes.
til::Box< T, D >::Box | ( | const numeric_array< T, D > & | posMin, |
const numeric_array< T, D > & | posMax | ||
) |
|
inline |
Get max bounds.
Definition at line 43 of file Box.h.
Referenced by til::contains(), til::extractSubImage(), til::ConstVolumetricIterator< ImageC< T > >::init(), til::intersection(), til::size(), and til::volume().
|
inline |
Get min bounds.
Definition at line 41 of file Box.h.
Referenced by til::computeAffineTransformBetween(), til::contains(), til::extractSubImage(), til::ConstVolumetricIterator< ImageC< T > >::init(), til::ConstVolumetricIterator< ImageNC< T > >::init(), til::intersection(), til::size(), and til::volume().
void til::Box< T, D >::set_bounds | ( | const numeric_array< T, D > & | minBounds, |
const numeric_array< T, D > & | maxBounds | ||
) |
Set min and max bounds.
Definition at line 87 of file Box.h.
Referenced by til::Box< int, D >::max_bounds(), til::setCenterAndHalfSizes(), til::setCenterAndSizes(), and til::setSlice().
void til::Box< T, D >::set_bounds | ( | std::size_t | i, |
T | min, | ||
T | max | ||
) |
void til::Box< T, D >::set_max_bound | ( | std::size_t | i, |
T | value | ||
) |
Set max bound on axis i.
Definition at line 124 of file Box.h.
Referenced by til::Box< int, D >::max_bounds().
void til::Box< T, D >::set_max_bounds | ( | const numeric_array< T, D > & | min | ) |
Set max bounds.
Definition at line 110 of file Box.h.
Referenced by til::Box< int, D >::max_bounds().
void til::Box< T, D >::set_min_bound | ( | std::size_t | i, |
T | value | ||
) |
Set min bound on axis i.
Definition at line 117 of file Box.h.
Referenced by til::Box< int, D >::max_bounds().
void til::Box< T, D >::set_min_bounds | ( | const numeric_array< T, D > & | min | ) |
Set min bounds.
Definition at line 103 of file Box.h.
Referenced by til::Box< int, D >::max_bounds().