VisionWorks Toolkit Reference

December 18, 2015 | 1.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Detailed Description

Defines a range of values.

Data Structures

struct  nvxio::Range< T >
 Range class. More...
 

Namespaces

 nvxio::ranges
 Contains API for Range construction.
 

Functions

template<typename T >
Range< T > nvxio::ranges::all ()
 Creates a range that includes all points. More...
 
template<typename T >
Range< T > nvxio::ranges::atLeast (T x)
 Creates a range that includes the values that are greater than or equal to the particular number (values >= x). More...
 
template<typename T >
Range< T > nvxio::ranges::atMost (T x)
 Creates a range that includes the values that are less than or equal to the particular number (values <= x). More...
 
template<typename T >
Range< T > nvxio::ranges::lessThan (T x)
 Creates a range that includes the values that are less than the particular number (values < x). More...
 
template<typename T >
Range< T > nvxio::ranges::moreThan (T x)
 Creates a range that includes the values that are greater than the particular number (values > x). More...
 
template<typename T >
Range< T > nvxio::operator& (const Range< T > &r1, const Range< T > &r2)
 Calculates intersection of the two ranges. More...
 

Function Documentation

template<typename T >
Range<T> nvxio::operator& ( const Range< T > &  r1,
const Range< T > &  r2 
)
inline

Calculates intersection of the two ranges.

Parameters
[in]r1A reference to the first range.
[in]r2A reference to the second range.
Returns
The intersection of the two ranges.

Definition at line 112 of file Range.hpp.

References nvxio::Range< T >::high, nvxio::Range< T >::highInclusive, nvxio::Range< T >::low, and nvxio::Range< T >::lowInclusive.

template<typename T >
Range<T> nvxio::ranges::all ( )
inline

Creates a range that includes all points.

Returns
The range.

Definition at line 163 of file Range.hpp.

template<typename T >
Range<T> nvxio::ranges::lessThan ( x)
inline

Creates a range that includes the values that are less than the particular number (values < x).

Parameters
[in]xSpecifies the right bound of the range (not including the bound).
Returns
The range.

Definition at line 174 of file Range.hpp.

template<typename T >
Range<T> nvxio::ranges::moreThan ( x)
inline

Creates a range that includes the values that are greater than the particular number (values > x).

Parameters
[in]xSpecifies the left bound of the range (not including the bound).
Returns
The range.

Definition at line 185 of file Range.hpp.

template<typename T >
Range<T> nvxio::ranges::atLeast ( x)
inline

Creates a range that includes the values that are greater than or equal to the particular number (values >= x).

Parameters
[in]xSpecifies the left bound of the range (including the bound).
Returns
The range.

Definition at line 196 of file Range.hpp.

template<typename T >
Range<T> nvxio::ranges::atMost ( x)
inline

Creates a range that includes the values that are less than or equal to the particular number (values <= x).

Parameters
[in]xSpecifies the right bound of the range (including the bound).
Returns
The range.

Definition at line 207 of file Range.hpp.