Developer documentation
Version 3.0.3-105-gd3941f44
MR::Random_sparse_loop< ImageType > Class Template Reference

#include "algo/random_loop.h"

Public Member Functions

 Random_sparse_loop (ImageType &in, const size_t &axis=0, const size_t &number_iterations=std::numeric_limits< ssize_t >::max(), const bool repeat=false, const ssize_t &min_index=0, const ssize_t &max_index=std::numeric_limits< ssize_t >::max())
 
void set_next_index_no_repeat ()
 
void set_next_index_with_repeat ()
 
void operator++ ()
 
 operator bool () const
 

Detailed Description

template<class ImageType>
class MR::Random_sparse_loop< ImageType >

Definition at line 89 of file random_loop.h.

Constructor & Destructor Documentation

◆ Random_sparse_loop()

template<class ImageType >
MR::Random_sparse_loop< ImageType >::Random_sparse_loop ( ImageType &  in,
const size_t &  axis = 0,
const size_t &  number_iterations = std::numeric_limits<ssize_t>::max(),
const bool  repeat = false,
const ssize_t &  min_index = 0,
const ssize_t &  max_index = std::numeric_limits<ssize_t>::max() 
)
inline

Definition at line 91 of file random_loop.h.

Member Function Documentation

◆ operator bool()

template<class ImageType >
MR::Random_sparse_loop< ImageType >::operator bool ( ) const
inline

Definition at line 149 of file random_loop.h.

◆ operator++()

template<class ImageType >
void MR::Random_sparse_loop< ImageType >::operator++ ( )
inline

Definition at line 139 of file random_loop.h.

◆ set_next_index_no_repeat()

template<class ImageType >
void MR::Random_sparse_loop< ImageType >::set_next_index_no_repeat ( )
inline

Definition at line 120 of file random_loop.h.

◆ set_next_index_with_repeat()

template<class ImageType >
void MR::Random_sparse_loop< ImageType >::set_next_index_with_repeat ( )
inline

Definition at line 133 of file random_loop.h.


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