RNifti
Fast R and C++ Access to NIfTI Images
Public Member Functions | List of all members
RNifti::NiftiImageData::ConcreteTypeHandler< Type, alpha > Struct Template Reference

Concrete inner class template defining behaviour specific to individual data types. More...

#include <NiftiImage.h>

Inheritance diagram for RNifti::NiftiImageData::ConcreteTypeHandler< Type, alpha >:
RNifti::NiftiImageData::TypeHandler

Public Member Functions

size_t size () const
 
bool hasNaN () const
 
complex128_t getComplex (void *ptr) const
 
double getDouble (void *ptr) const
 
int getInt (void *ptr) const
 
void setComplex (void *ptr, const complex128_t value) const
 
void setDouble (void *ptr, const double value) const
 
void setInt (void *ptr, const int value) const
 
void minmax (void *ptr, const size_t length, double *min, double *max) const
 
bool hasNaN () const
 
- Public Member Functions inherited from RNifti::NiftiImageData::TypeHandler
virtual rgba32_t getRgb (void *ptr) const
 
virtual void setRgb (void *ptr, const rgba32_t value) const
 

Detailed Description

template<typename Type, bool alpha = false>
struct RNifti::NiftiImageData::ConcreteTypeHandler< Type, alpha >

Concrete inner class template defining behaviour specific to individual data types.


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