ARB
|
#include <ed4_extern.hxx>
#include "ed4_class.hxx"
#include "ed4_awars.hxx"
#include "ed4_edit_string.hxx"
#include "ed4_block.hxx"
#include "ed4_nds.hxx"
#include "ed4_visualizeSAI.hxx"
#include "ed4_ProteinViewer.hxx"
#include "ed4_protein_2nd_structure.hxx"
#include "ed4_seq_colors.hxx"
#include <aw_preset.hxx>
#include <aw_awar.hxx>
#include <AW_helix.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <st_window.hxx>
#include <arbdbt.h>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | ShowHelix_cd |
Macros | |
#define | MIN_MARK_BOX_SIZE 8 |
Functions | |
void | ensure_buffer (char *&buffer, size_t &buffer_size, size_t needed) |
static bool | ED4_show_helix_on_device (AW_device *device, int gc, const char *helixBuffer, size_t helixStart, size_t helixLen, const AW::Position &pos, AW_CL cduser) |
static bool | ED4_show_protein_match_on_device (AW_device *device, int gc, const char *pfoldBuffer, size_t pfoldStart, size_t pfoldLen, const AW::Position &pos, AW_CL cl_protstruct) |
#define MIN_MARK_BOX_SIZE 8 |
Referenced by ED4_text_terminal::draw().
Definition at line 35 of file ED4_text_terminals.cxx.
References buffer.
|
static |
Definition at line 117 of file ED4_text_terminals.cxx.
References ED4_ROOT, GB_give_buffer(), ED4_remap::get_max_screen_pos(), BI_pairdef::get_symbol(), ShowHelix_cd::helix, BI_helix::is_pairpos(), min, BI_helix::opposite_position(), ShowHelix_cd::real_sequence_length, ED4_root_group_manager::remap(), ED4_root::root_group_man, ED4_remap::screen_to_sequence(), and AW_device::text().
|
static |
Calls ED4_pfold_calculate_secstruct_match() for the visible area in the editor to compute the protein secondary structure match and outputs the result to the device.
[in] | pfoldBuffer | The protein structure (primary or secondary) that should be compared to cl_protstruct |
[in] | cl_protstruct | The reference protein secondary structure SAI |
Definition at line 141 of file ED4_text_terminals.cxx.
References aw_message(), ED4_root::aw_root, AW_root::awar(), buffer, ED4_pfold_calculate_secstruct_match(), ED4_ROOT, error(), GB_export_error(), GB_give_buffer(), NULp, PFOLD_AWAR_MATCH_METHOD, AW_awar::read_int(), ED4_root_group_manager::remap(), ED4_root::root_group_man, ED4_remap::screen_to_sequence(), and AW_device::text().