VisionCpp  0.0.1
Static Public Member Functions | List of all members
visioncpp::internal::GetGlobalRange< Halo, DimSize > Struct Template Reference

GetGlobalRange is used to check the range when the halo is applied template parameters. More...

#include <evaluator.hpp>

Collaboration diagram for visioncpp::internal::GetGlobalRange< Halo, DimSize >:

Static Public Member Functions

static size_t get_global_range (size_t index)
 function get_global_range checks the range and pass the correct value as an index parameters: More...
 

Detailed Description

template<size_t Halo, size_t DimSize>
struct visioncpp::internal::GetGlobalRange< Halo, DimSize >

GetGlobalRange is used to check the range when the halo is applied template parameters.

Template Parameters
Halois the halo used around the image
DimSizeis the size of the dimension we want to check

Definition at line 35 of file evaluator.hpp.

Member Function Documentation

◆ get_global_range()

template<size_t Halo, size_t DimSize>
static size_t visioncpp::internal::GetGlobalRange< Halo, DimSize >::get_global_range ( size_t  index)
inlinestatic

function get_global_range checks the range and pass the correct value as an index parameters:

Parameters
indexis the passed index to be checked and corrected if needed
Returns
size_t

Definition at line 41 of file evaluator.hpp.

Referenced by visioncpp::internal::get_global_range().

Here is the caller graph for this function:

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