aimstil  5.0.5
til::Range< T, D > Class Template Reference

Describe integer cube ranges (e.g. More...

#include <til/Range.h>

Inheritance diagram for til::Range< T, D >:
Collaboration diagram for til::Range< T, D >:

Public Types

typedef Range< T, D > Self
 
typedef Box< T, D > Base
 
- Public Types inherited from til::Box< T, D >
typedef Box< T, D > Self
 

Public Member Functions

 Range ()
 Default constructor. More...
 
 Range (const numeric_array< T, D > &minBounds, const numeric_array< T, D > &maxBounds)
 Set range bounds in all dimensions. More...
 
 Range (const numeric_array< T, D > &maxBounds)
 Set max bounds, assuming min bounds are zeros. More...
 
numeric_array< T, D > dims () const
 Get range size. More...
 
- Public Member Functions inherited from til::Box< T, D >
 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...
 

Detailed Description

template<typename T, std::size_t D>
class til::Range< T, D >

Describe integer cube ranges (e.g.

describing subimage). NB: Template parameter T has to be an integer.

Definition at line 71 of file Range.h.

Member Typedef Documentation

◆ Base

template<typename T, std::size_t D>
typedef Box<T, D> til::Range< T, D >::Base

Definition at line 76 of file Range.h.

◆ Self

template<typename T, std::size_t D>
typedef Range<T,D> til::Range< T, D >::Self

Definition at line 75 of file Range.h.

Constructor & Destructor Documentation

◆ Range() [1/3]

template<typename T, std::size_t D>
til::Range< T, D >::Range ( )
inline

Default constructor.

Definition at line 81 of file Range.h.

◆ Range() [2/3]

template<typename T, std::size_t D>
til::Range< T, D >::Range ( const numeric_array< T, D > &  minBounds,
const numeric_array< T, D > &  maxBounds 
)
inline

Set range bounds in all dimensions.

Definition at line 84 of file Range.h.

◆ Range() [3/3]

template<typename T, std::size_t D>
til::Range< T, D >::Range ( const numeric_array< T, D > &  maxBounds)
inline

Set max bounds, assuming min bounds are zeros.

Definition at line 88 of file Range.h.

Member Function Documentation

◆ dims()

template<typename T, std::size_t D>
numeric_array<T,D> til::Range< T, D >::dims ( ) const
inline

Get range size.

Definition at line 101 of file Range.h.

Referenced by til::extractSubImage().


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