Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::Ccp4Base Struct Reference

#include <ccp4.hpp>

Inheritance diagram for gemmi::Ccp4Base:
[legend]

Public Member Functions

voidheader_word (int w)
 
const voidheader_word (int w) const
 
int32_t header_i32 (int w) const
 
std::array< int, 3 > header_3i32 (int w) const
 
float header_float (int w) const
 
std::string header_str (int w, size_t len=80) const
 
void set_header_i32 (int w, int32_t value)
 
void set_header_3i32 (int w, int32_t x, int32_t y, int32_t z)
 
void set_header_float (int w, float value)
 
void set_header_str (int w, const std::string &str)
 
std::array< int, 3 > axis_positions () const
 
double header_rfloat (int w) const
 
Box< Fractionalget_extent () const
 
bool has_skew_transformation () const
 
Transform get_skew_transformation () const
 
Position get_origin () const
 

Public Attributes

DataStats hstats
 
std::vector< int32_t > ccp4_header
 
bool same_byte_order = true
 

Detailed Description

Definition at line 34 of file ccp4.hpp.

Member Function Documentation

◆ header_word() [1/2]

void * gemmi::Ccp4Base::header_word ( int  w)
inline

Definition at line 41 of file ccp4.hpp.

◆ header_word() [2/2]

const void * gemmi::Ccp4Base::header_word ( int  w) const
inline

Definition at line 42 of file ccp4.hpp.

◆ header_i32()

int32_t gemmi::Ccp4Base::header_i32 ( int  w) const
inline

Definition at line 44 of file ccp4.hpp.

◆ header_3i32()

std::array< int, 3 > gemmi::Ccp4Base::header_3i32 ( int  w) const
inline

Definition at line 50 of file ccp4.hpp.

◆ header_float()

float gemmi::Ccp4Base::header_float ( int  w) const
inline

Definition at line 53 of file ccp4.hpp.

◆ header_str()

std::string gemmi::Ccp4Base::header_str ( int  w,
size_t  len = 80 
) const
inline

Definition at line 60 of file ccp4.hpp.

◆ set_header_i32()

void gemmi::Ccp4Base::set_header_i32 ( int  w,
int32_t  value 
)
inline

Definition at line 65 of file ccp4.hpp.

◆ set_header_3i32()

void gemmi::Ccp4Base::set_header_3i32 ( int  w,
int32_t  x,
int32_t  y,
int32_t  z 
)
inline

Definition at line 70 of file ccp4.hpp.

◆ set_header_float()

void gemmi::Ccp4Base::set_header_float ( int  w,
float  value 
)
inline

Definition at line 75 of file ccp4.hpp.

◆ set_header_str()

void gemmi::Ccp4Base::set_header_str ( int  w,
const std::string &  str 
)
inline

Definition at line 80 of file ccp4.hpp.

◆ axis_positions()

std::array< int, 3 > gemmi::Ccp4Base::axis_positions ( ) const
inline

Definition at line 84 of file ccp4.hpp.

◆ header_rfloat()

double gemmi::Ccp4Base::header_rfloat ( int  w) const
inline

Definition at line 97 of file ccp4.hpp.

◆ get_extent()

Box< Fractional > gemmi::Ccp4Base::get_extent ( ) const
inline

Definition at line 101 of file ccp4.hpp.

◆ has_skew_transformation()

bool gemmi::Ccp4Base::has_skew_transformation ( ) const
inline

Definition at line 122 of file ccp4.hpp.

◆ get_skew_transformation()

Transform gemmi::Ccp4Base::get_skew_transformation ( ) const
inline

Definition at line 125 of file ccp4.hpp.

◆ get_origin()

Position gemmi::Ccp4Base::get_origin ( ) const
inline

Definition at line 137 of file ccp4.hpp.

Member Data Documentation

◆ hstats

DataStats gemmi::Ccp4Base::hstats

Definition at line 35 of file ccp4.hpp.

◆ ccp4_header

std::vector<int32_t> gemmi::Ccp4Base::ccp4_header

Definition at line 37 of file ccp4.hpp.

◆ same_byte_order

bool gemmi::Ccp4Base::same_byte_order = true

Definition at line 38 of file ccp4.hpp.


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