OpenStructure
Public Member Functions | Static Public Attributes
MRC Class Reference

#include <map_io_mrc_handler.hh>

Inherits ImageFormatBase, and ImageFormatBase.

Inherited by CCP4, and CCP4.

Public Member Functions

 MRC (bool normalize_on_save=false, Subformat subformat=MRC_AUTO_FORMAT, Endianess endianness_on_save=OST_LOCAL_ENDIAN, Format bit_depth=OST_DEFAULT_FORMAT)
 
Format GetBitDepth () const
 
void SetBitDepth (Format bitdepth)
 
Endianess GetEndianessOnSave () const
 
void SetEndianessOnSave (Endianess end)
 
bool GetNormalizeOnSave () const
 
void SetNormalizeOnSave (bool normalize_on_save)
 
Subformat GetSubformat () const
 
void SetSubformat (Subformat subformat)
 
 MRC (bool normalize_on_save=false, Subformat subformat=MRC_AUTO_FORMAT, Endianess endianness_on_save=OST_LOCAL_ENDIAN, Format bit_depth=OST_DEFAULT_FORMAT)
 
Format GetBitDepth () const
 
void SetBitDepth (Format bitdepth)
 
Endianess GetEndianessOnSave () const
 
void SetEndianessOnSave (Endianess end)
 
bool GetNormalizeOnSave () const
 
void SetNormalizeOnSave (bool normalize_on_save)
 
Subformat GetSubformat () const
 
void SetSubformat (Subformat subformat)
 
- Public Member Functions inherited from ImageFormatBase
Real GetMaximum () const
 
Real GetMinimum () const
 
template<typename T >
const T & As () const
 
String GetFormatString () const
 
Real GetMaximum () const
 
Real GetMinimum () const
 
template<typename T >
const T & As () const
 
String GetFormatString () const
 

Static Public Attributes

static String FORMAT_STRING
 

Additional Inherited Members

- Protected Member Functions inherited from ImageFormatBase
 ImageFormatBase ()
 
 ImageFormatBase (const String &formatstring)
 
 ImageFormatBase ()
 
 ImageFormatBase (const String &formatstring)
 

Detailed Description

Definition at line 27 of file map_io_mrc_handler.hh.

Constructor & Destructor Documentation

◆ MRC() [1/2]

MRC ( bool  normalize_on_save = false,
Subformat  subformat = MRC_AUTO_FORMAT,
Endianess  endianness_on_save = OST_LOCAL_ENDIAN,
Format  bit_depth = OST_DEFAULT_FORMAT 
)

◆ MRC() [2/2]

MRC ( bool  normalize_on_save = false,
Subformat  subformat = MRC_AUTO_FORMAT,
Endianess  endianness_on_save = OST_LOCAL_ENDIAN,
Format  bit_depth = OST_DEFAULT_FORMAT 
)

Member Function Documentation

◆ GetBitDepth() [1/2]

Format GetBitDepth ( ) const

◆ GetBitDepth() [2/2]

Format GetBitDepth ( ) const

◆ GetEndianessOnSave() [1/2]

Endianess GetEndianessOnSave ( ) const

◆ GetEndianessOnSave() [2/2]

Endianess GetEndianessOnSave ( ) const

◆ GetNormalizeOnSave() [1/2]

bool GetNormalizeOnSave ( ) const

◆ GetNormalizeOnSave() [2/2]

bool GetNormalizeOnSave ( ) const

◆ GetSubformat() [1/2]

Subformat GetSubformat ( ) const

◆ GetSubformat() [2/2]

Subformat GetSubformat ( ) const

◆ SetBitDepth() [1/2]

void SetBitDepth ( Format  bitdepth)

◆ SetBitDepth() [2/2]

void SetBitDepth ( Format  bitdepth)

◆ SetEndianessOnSave() [1/2]

void SetEndianessOnSave ( Endianess  end)

◆ SetEndianessOnSave() [2/2]

void SetEndianessOnSave ( Endianess  end)

◆ SetNormalizeOnSave() [1/2]

void SetNormalizeOnSave ( bool  normalize_on_save)

◆ SetNormalizeOnSave() [2/2]

void SetNormalizeOnSave ( bool  normalize_on_save)

◆ SetSubformat() [1/2]

void SetSubformat ( Subformat  subformat)

◆ SetSubformat() [2/2]

void SetSubformat ( Subformat  subformat)

Field Documentation

◆ FORMAT_STRING

static String FORMAT_STRING
static

Definition at line 45 of file map_io_mrc_handler.hh.


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