STIR 6.5.0

This class contains all information about a set of densels related by symmetry. More...

#include "stir/recon_buildblock/RelatedDensels.h"

Public Types

typedef std::random_access_iterator_tag iterator_category
 typedefs for iterator support
typedef Densel value_type
typedef value_type & reference
typedef const value_type & const_reference
typedef std::ptrdiff_t difference_type
typedef std::size_t size_type
typedef std::vector< Densel >::iterator iterator
 typedefs to make it partly comply with STL requirements
typedef std::vector< Densel >::const_iterator const_iterator

Public Member Functions

 RelatedDensels ()
 Default constructor: creates no densels, no symmetries.
int get_num_related_densels () const
 get the number of related densels
Densel get_basic_densel () const
 get 'basic' densel coordinates
const DataSymmetriesForDensels * get_symmetries_ptr () const
 return the symmetries used
RelatedDensels get_empty_copy () const
 get an empty copy
iterator begin ()
 use to initialise an iterator to the first element of the vector
iterator end ()
 iterator 'past' the last element of the vector
const_iterator begin () const
 use to initialise an iterator to the first element of the (const) vector
const_iterator end () const
 iterator 'past' the last element of the (const) vector

Detailed Description

This class contains all information about a set of densels related by symmetry.

Constructor & Destructor Documentation

◆ RelatedDensels()

stir::RelatedDensels::RelatedDensels ( )
inline

Default constructor: creates no densels, no symmetries.

References RelatedDensels().

Referenced by get_empty_copy(), and RelatedDensels().

Member Function Documentation

◆ get_empty_copy()

RelatedDensels stir::RelatedDensels::get_empty_copy ( ) const

get an empty copy

References begin(), end(), and RelatedDensels().

◆ begin() [1/2]

RelatedDensels::iterator stir::RelatedDensels::begin ( )
inline

use to initialise an iterator to the first element of the vector

References stir::VectorWithOffset< T >::begin().

Referenced by get_empty_copy().

◆ end() [1/2]

RelatedDensels::iterator stir::RelatedDensels::end ( )
inline

iterator 'past' the last element of the vector

References stir::VectorWithOffset< T >::end().

Referenced by get_empty_copy().

◆ begin() [2/2]

RelatedDensels::const_iterator stir::RelatedDensels::begin ( ) const
inline

use to initialise an iterator to the first element of the (const) vector

References stir::VectorWithOffset< T >::begin().

◆ end() [2/2]

RelatedDensels::const_iterator stir::RelatedDensels::end ( ) const
inline

iterator 'past' the last element of the (const) vector

References stir::VectorWithOffset< T >::end().


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