Developer documentation
Version 3.0.3-105-gd3941f44
MR::Random_loop< ImageType, RandomEngine > Class Template Reference

#include "algo/random_loop.h"

Public Member Functions

 Random_loop (ImageType &in, RandomEngine &random_engine, const size_t &axis=0, const size_t &number_iterations=std::numeric_limits< ssize_t >::max())
 
void init ()
 
void set_next_index ()
 
void operator++ ()
 
 operator bool () const
 

Detailed Description

template<class ImageType, class RandomEngine>
class MR::Random_loop< ImageType, RandomEngine >

Definition at line 32 of file random_loop.h.

Constructor & Destructor Documentation

◆ Random_loop()

template<class ImageType , class RandomEngine >
MR::Random_loop< ImageType, RandomEngine >::Random_loop ( ImageType &  in,
RandomEngine &  random_engine,
const size_t &  axis = 0,
const size_t &  number_iterations = std::numeric_limits<ssize_t>::max() 
)
inline

Definition at line 34 of file random_loop.h.

Member Function Documentation

◆ init()

template<class ImageType , class RandomEngine >
void MR::Random_loop< ImageType, RandomEngine >::init ( )
inline

Definition at line 49 of file random_loop.h.

◆ operator bool()

template<class ImageType , class RandomEngine >
MR::Random_loop< ImageType, RandomEngine >::operator bool ( ) const
inline

Definition at line 70 of file random_loop.h.

◆ operator++()

template<class ImageType , class RandomEngine >
void MR::Random_loop< ImageType, RandomEngine >::operator++ ( )
inline

Definition at line 63 of file random_loop.h.

◆ set_next_index()

template<class ImageType , class RandomEngine >
void MR::Random_loop< ImageType, RandomEngine >::set_next_index ( )
inline

Definition at line 57 of file random_loop.h.


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