5#ifndef BALL_FORMAT_DSN6FILE_H
6#define BALL_FORMAT_DSN6FILE_H
8#ifndef BALL_SYSTEM_FILE_H
12#ifndef BALL_DATATYPE_REGULARDATA3D_H
DSN6File()
Default constructor.
short int readHeaderValue_(char *header, Position pos)
Vector3 extent_
the extent of the map
bool swap_bytes_
a flag indicating that we have to swap bytes when reading header values
virtual bool read(RegularData3D &map)
Vector3 crystal_dimension_
dimension of the crystal unit cell in Angstrom/sample
virtual ~DSN6File()
Destructor.
Vector3 start_
the start coordinates in grid coordinates, i.e. indices
virtual bool readHeader()
float prod_
conversion factors for the density map
virtual bool writeHeader()
bool isSwappingBytes() const
float cell_scaling_
scaling factor for the cell geometry
Vector3 origin_
geometry in cartesian coordinates
DSN6File(const String &name, File::OpenMode open_mode=std::ios::in)
Detailed constructor.
void convertBrick_(char *brick)
virtual bool open(const String &name, File::OpenMode open_mode=std::ios::in)
Vector3 sampling_rate_
the sampling rates used for the map
virtual void clear()
Clear method.
Angle alpha_
angles of the crystal unit cell
std::ios::openmode OpenMode