/** * \file header_converters.h * \brief Functions to convert between ImageHeader and DensityHeader * Copyright 2007-2010 IMP Inventors. All rights reserved. */ #ifndef IMPEM_HEADER_CONVERTERS_H #define IMPEM_HEADER_CONVERTERS_H #include "em_config.h" #include "ImageHeader.h" #include "DensityHeader.h" #include IMPEM_BEGIN_NAMESPACE //! Function to transfer the (compatible) information content from ImageHeader //! to DensityHeader IMPEMEXPORT void ImageHeader_to_DensityHeader( const ImageHeader& h,DensityHeader& header); //! Function to transfer the (compatible) information content from DensityHeader //! to ImageHeader IMPEMEXPORT void DensityHeader_to_ImageHeader( const DensityHeader& header,ImageHeader& h); IMPEM_END_NAMESPACE #endif /* IMPEM_HEADER_CONVERTERS_H */