Developer documentation
Version 3.0.3-105-gd3941f44
MR::Fixel::IndexRemapper Class Reference

#include "fixel/index_remapper.h"

Public Member Functions

 IndexRemapper ()
 
 IndexRemapper (const index_type num_fixels)
 
 IndexRemapper (Image< bool > fixel_mask)
 
index_type e2i (const index_type e) const
 
index_type i2e (const index_type i) const
 
index_type num_external () const
 
index_type num_internal () const
 
bool is_default () const
 

Static Public Attributes

static constexpr index_type invalid = std::numeric_limits<index_type>::max()
 

Detailed Description

Definition at line 34 of file index_remapper.h.

Constructor & Destructor Documentation

◆ IndexRemapper() [1/3]

MR::Fixel::IndexRemapper::IndexRemapper ( )
inline

Definition at line 37 of file index_remapper.h.

◆ IndexRemapper() [2/3]

MR::Fixel::IndexRemapper::IndexRemapper ( const index_type  num_fixels)

◆ IndexRemapper() [3/3]

MR::Fixel::IndexRemapper::IndexRemapper ( Image< bool >  fixel_mask)

Member Function Documentation

◆ e2i()

index_type MR::Fixel::IndexRemapper::e2i ( const index_type  e) const
inline

Definition at line 41 of file index_remapper.h.

◆ i2e()

index_type MR::Fixel::IndexRemapper::i2e ( const index_type  i) const
inline

Definition at line 46 of file index_remapper.h.

◆ is_default()

bool MR::Fixel::IndexRemapper::is_default ( ) const
inline

Definition at line 54 of file index_remapper.h.

◆ num_external()

index_type MR::Fixel::IndexRemapper::num_external ( ) const
inline

Definition at line 51 of file index_remapper.h.

◆ num_internal()

index_type MR::Fixel::IndexRemapper::num_internal ( ) const
inline

Definition at line 52 of file index_remapper.h.

Member Data Documentation

◆ invalid

constexpr index_type MR::Fixel::IndexRemapper::invalid = std::numeric_limits<index_type>::max()
staticconstexpr

Definition at line 56 of file index_remapper.h.


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