11 #ifndef RNA3D_GLOBAL_HXX
12 #define RNA3D_GLOBAL_HXX
19 #error shall only be compiled in ARB_OPENGL mode
23 #define M_PI 3.14159265358979323846
26 #define rna3d_assert(cond) arb_assert(cond)
29 #define AWAR_3D_SAI_SELECTED "rna3d/sai_selected"
32 #define AWAR_3D_DISPLAY_HELIX "rna3d/display_helix"
33 #define AWAR_3D_HELIX_BACKBONE "rna3d/helix_backbone"
34 #define AWAR_3D_HELIX_MIDPOINT "rna3d/helix_midpoint"
35 #define AWAR_3D_HELIX_SIZE "rna3d/helix_size"
36 #define AWAR_3D_HELIX_FROM "rna3d/helix_from"
37 #define AWAR_3D_HELIX_TO "rna3d/helix_to"
38 #define AWAR_3D_HELIX_NUMBER "rna3d/helix_number"
40 #define AWAR_3D_DISPLAY_TERTIARY_INTRACTIONS "rna3d/tertiary_interactions"
43 #define AWAR_3D_DISPLAY_BASES "rna3d/display_bases"
44 #define AWAR_3D_DISPLAY_SIZE "rna3d/display_size"
45 #define AWAR_3D_BASES_MODE "rna3d/bases_mode"
46 #define AWAR_3D_BASES_HELIX "rna3d/bases_helix"
47 #define AWAR_3D_BASES_UNPAIRED_HELIX "rna3d/bases_unpaired_helix"
48 #define AWAR_3D_BASES_NON_HELIX "rna3d/bases_non_helix"
49 #define AWAR_3D_SHAPES_HELIX "rna3d/shapes_helix"
50 #define AWAR_3D_SHAPES_UNPAIRED_HELIX "rna3d/shapes_unpaired_helix"
51 #define AWAR_3D_SHAPES_NON_HELIX "rna3d/shapes_non_helix"
54 #define AWAR_3D_MOL_BACKBONE "rna3d/mol_backbone"
55 #define AWAR_3D_MOL_COLORIZE "rna3d/mol_colorize"
56 #define AWAR_3D_MOL_SIZE "rna3d/mol_size"
57 #define AWAR_3D_MOL_DISP_POS "rna3d/mol_disp_pos"
58 #define AWAR_3D_MOL_POS_INTERVAL "rna3d/mol_pos_interval"
59 #define AWAR_3D_MOL_ROTATE "rna3d/mol_rotate"
61 #define AWAR_3D_MAP_SPECIES "rna3d/mol_map_species"
62 #define AWAR_3D_MAP_SPECIES_DISP_BASE "rna3d/mol_map_species_base"
63 #define AWAR_3D_MAP_SPECIES_DISP_POS "rna3d/mol_map_species_pos"
64 #define AWAR_3D_MAP_SPECIES_DISP_DELETIONS "rna3d/mol_map_species_deletions"
65 #define AWAR_3D_MAP_SPECIES_DISP_MISSING "rna3d/mol_map_species_missing"
66 #define AWAR_3D_MAP_SPECIES_DISP_INSERTIONS "rna3d/mol_map_species_insertions"
67 #define AWAR_3D_MAP_SPECIES_DISP_INSERTIONS_INFO "rna3d/mol_map_species_insertions_info"
69 #define AWAR_3D_SELECTED_SPECIES "rna3d/selected_species"
70 #define AWAR_3D_CURSOR_POSITION "rna3d/cursor_postion"
72 #define AWAR_3D_MAP_ENABLE "rna3d/map_enable"
73 #define AWAR_3D_MAP_SAI "rna3d/map_sai"
74 #define AWAR_3D_MAP_SEARCH_STRINGS "rna3d/map_search_strings"
76 #define AWAR_3D_DISPLAY_MASK "rna3d/display_mask"
77 #define AWAR_3D_23S_RRNA_MOL "rna3d/rrna_mol_23s"
83 Vector3(
float X,
float Y,
float Z) : x(X), y(Y), z(Z) {}
103 class OpenGLGraphics;
154 #error RNA3D_Global.hxx included twice
155 #endif // RNA3D_GLOBAL_HXX
Vector3 operator/(float num)
bool bEColiRefInitialized
Vector3 operator+(Vector3 v)
Vector3 operator*(float num)
bool bMapSearchStringsDispListCreated
bool bMapSaiDispListCreated
Vector3 operator-(Vector3 v)
Vector3(float X, float Y, float Z)
void RNA3D_init_global_data(ED4_plugin_host &host)
RNA3D_Global(ED4_plugin_host &host)
bool bPointSpritesSupported
OpenGLGraphics * cGraphics
struct _WidgetRec * Widget