Developer documentation
Version 3.0.3-105-gd3941f44
MR::DWI::Tractography::GT::MHSampler Class Reference

The MHSampler class. More...

#include "dwi/tractography/GT/mhsampler.h"

Protected Member Functions

Point_t getRandPosInMask ()
 
bool inMask (const Point_t p)
 
Point_t getRandDir ()
 
void moveRandom (const Particle *par, Point_t &pos, Point_t &dir)
 
bool moveOptimal (const Particle *par, Point_t &pos, Point_t &dir) const
 
double calcShiftProb (const Particle *par, const Point_t &pos, const Point_t &dir) const
 
double gaussian_pdf (const Point_t &x, double sigma) const
 

Protected Attributes

Propertiesprops
 
Statsstats
 
ParticleGridpGrid
 
EnergyComputerE
 
Transform T
 
vector< size_t > dims
 
Image< bool > mask
 
std::shared_ptr< SpatialLock< float > > lock
 
Math::RNG::Uniform< float > rng_uniform
 
Math::RNG::Normal< float > rng_normal
 
float sigpos
 
float sigdir
 

Detailed Description

The MHSampler class.

Definition at line 40 of file mhsampler.h.

Member Function Documentation

◆ calcShiftProb()

double MR::DWI::Tractography::GT::MHSampler::calcShiftProb ( const Particle par,
const Point_t pos,
const Point_t dir 
) const
inlineprotected

Definition at line 100 of file mhsampler.h.

◆ gaussian_pdf()

double MR::DWI::Tractography::GT::MHSampler::gaussian_pdf ( const Point_t x,
double  sigma 
) const
inlineprotected

Definition at line 107 of file mhsampler.h.

◆ getRandDir()

Point_t MR::DWI::Tractography::GT::MHSampler::getRandDir ( )
protected

◆ getRandPosInMask()

Point_t MR::DWI::Tractography::GT::MHSampler::getRandPosInMask ( )
protected

◆ inMask()

bool MR::DWI::Tractography::GT::MHSampler::inMask ( const Point_t  p)
protected

◆ moveOptimal()

bool MR::DWI::Tractography::GT::MHSampler::moveOptimal ( const Particle par,
Point_t pos,
Point_t dir 
) const
protected

◆ moveRandom()

void MR::DWI::Tractography::GT::MHSampler::moveRandom ( const Particle par,
Point_t pos,
Point_t dir 
)
protected

Member Data Documentation

◆ dims

vector<size_t> MR::DWI::Tractography::GT::MHSampler::dims
protected

Definition at line 81 of file mhsampler.h.

◆ E

EnergyComputer* MR::DWI::Tractography::GT::MHSampler::E
protected

Definition at line 78 of file mhsampler.h.

◆ lock

std::shared_ptr< SpatialLock<float> > MR::DWI::Tractography::GT::MHSampler::lock
protected

Definition at line 84 of file mhsampler.h.

◆ mask

Image<bool> MR::DWI::Tractography::GT::MHSampler::mask
protected

Definition at line 82 of file mhsampler.h.

◆ pGrid

ParticleGrid& MR::DWI::Tractography::GT::MHSampler::pGrid
protected

Definition at line 77 of file mhsampler.h.

◆ props

Properties& MR::DWI::Tractography::GT::MHSampler::props
protected

Definition at line 75 of file mhsampler.h.

◆ rng_normal

Math::RNG::Normal<float> MR::DWI::Tractography::GT::MHSampler::rng_normal
protected

Definition at line 86 of file mhsampler.h.

◆ rng_uniform

Math::RNG::Uniform<float> MR::DWI::Tractography::GT::MHSampler::rng_uniform
protected

Definition at line 85 of file mhsampler.h.

◆ sigdir

float MR::DWI::Tractography::GT::MHSampler::sigdir
protected

Definition at line 87 of file mhsampler.h.

◆ sigpos

float MR::DWI::Tractography::GT::MHSampler::sigpos
protected

Definition at line 87 of file mhsampler.h.

◆ stats

Stats& MR::DWI::Tractography::GT::MHSampler::stats
protected

Definition at line 76 of file mhsampler.h.

◆ T

Transform MR::DWI::Tractography::GT::MHSampler::T
protected

Definition at line 80 of file mhsampler.h.


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