ARB
Functions | Variables
RNA3D_Interface.cxx File Reference
#include "RNA3D_GlobalHeader.hxx"
#include <GL/aw_window_ogl.hxx>
#include <aw_window_Xm_interface.hxx>
#include "RNA3D_Global.hxx"
#include "RNA3D_Graphics.hxx"
#include "RNA3D_OpenGLEngine.hxx"
#include "RNA3D_Interface.hxx"
#include "RNA3D_OpenGLGraphics.hxx"
#include "RNA3D_StructureData.hxx"
#include <string>
#include <iostream>
#include <X11/keysym.h>
#include <aw_preset.hxx>
#include <aw_root.hxx>
#include <aw_msg.hxx>
#include <aw_awars.hxx>
Include dependency graph for RNA3D_Interface.cxx:

Go to the source code of this file.

Functions

static Boolean SpinMolecule (XtPointer)
 
static void RotateMoleculeStateChanged (AW_root *awr)
 
static void RotateMoleculeStateChanged_cb (AW_root *awr)
 
static void ResizeOpenGLWindow (Widget, XtPointer, XEvent *event, char *)
 
static void KeyReleaseEventHandler (Widget, XtPointer, XEvent *, char *)
 
static void KeyPressEventHandler (Widget, XtPointer, XEvent *event, char *)
 
static void ButtonReleaseEventHandler (Widget, XtPointer, XEvent *event, char *)
 
static void ButtonPressEventHandler (Widget, XtPointer, XEvent *event, char *)
 
static void MouseMoveEventHandler (Widget, XtPointer, XEvent *event, char *)
 
static void ExposeOpenGLWindow (Widget w, XtPointer, XEvent *event, char *)
 
void RefreshOpenGLDisplay ()
 
static void RefreshCanvas (AW_root *awr)
 
static void SynchronizeColorsWithEditor (AW_window *aww)
 
static void Change3DMolecule_CB (AW_root *awr)
 
static void Change3DMolecule (AW_window *aww, int molID)
 
static void DisplayMoleculeMask (AW_root *)
 
static void AddCallBacks (AW_root *awr)
 
static void InitCallBacks (AW_root *awr)
 
static void RefreshMappingDisplay (AW_window *)
 
static void insertShapeSelection (AW_window *aws, const char *at, const char *awar_name)
 
static AW_windowCreateDisplayBases_window (AW_root *aw_root)
 
static AW_windowCreateDisplayHelices_window (AW_root *aw_root)
 
static AW_windowCreateDisplayOptions_window (AW_root *aw_root)
 
static AW_windowCreateMapSequenceData_window (AW_root *aw_root)
 
static AW_windowCreateChangeMolecule_window (AW_root *aw_root)
 
static AW_windowCreateRNA3DGcWindow (AW_root *awr, AW_gc_manager *gcman)
 
AW_windowCreateRNA3DMainWindow (AW_root *awr, GBDATA *gb_main, ED4_plugin_host &host)
 

Variables

static
AW_window_menu_modes_opengl
awm
 
static XtAppContext appContext
 
static XtWorkProcId workId = 0
 

Function Documentation

static Boolean SpinMolecule ( XtPointer  )
static
static void RotateMoleculeStateChanged ( AW_root awr)
static
static void RotateMoleculeStateChanged_cb ( AW_root awr)
static
static void ResizeOpenGLWindow ( Widget  ,
XtPointer  ,
XEvent *  event,
char  
)
static
static void KeyReleaseEventHandler ( Widget  ,
XtPointer  ,
XEvent *  ,
char  
)
static

Definition at line 91 of file RNA3D_Interface.cxx.

References RefreshOpenGLDisplay().

Referenced by CreateRNA3DMainWindow().

static void KeyPressEventHandler ( Widget  ,
XtPointer  ,
XEvent *  event,
char  
)
static
static void ButtonReleaseEventHandler ( Widget  ,
XtPointer  ,
XEvent *  event,
char  
)
static
static void ButtonPressEventHandler ( Widget  ,
XtPointer  ,
XEvent *  event,
char  
)
static
static void MouseMoveEventHandler ( Widget  ,
XtPointer  ,
XEvent *  event,
char  
)
static
static void ExposeOpenGLWindow ( Widget  w,
XtPointer  ,
XEvent *  event,
char  
)
static
void RefreshOpenGLDisplay ( )
static void RefreshCanvas ( AW_root awr)
static
static void SynchronizeColorsWithEditor ( AW_window aww)
static

Definition at line 227 of file RNA3D_Interface.cxx.

References AW_copy_GC_colors(), AW_window::get_root(), and NULp.

Referenced by CreateMapSequenceData_window().

static void Change3DMolecule_CB ( AW_root awr)
static
static void Change3DMolecule ( AW_window aww,
int  molID 
)
static
static void DisplayMoleculeMask ( AW_root )
static

Definition at line 267 of file RNA3D_Interface.cxx.

References RNA3D_Global::bDisplayMask, RefreshOpenGLDisplay(), and RNA3D.

Referenced by AddCallBacks().

static void AddCallBacks ( AW_root awr)
static
static void InitCallBacks ( AW_root awr)
static

Definition at line 328 of file RNA3D_Interface.cxx.

References RotateMoleculeStateChanged_cb().

Referenced by CreateRNA3DMainWindow().

static void RefreshMappingDisplay ( AW_window )
static
static void insertShapeSelection ( AW_window aws,
const char at,
const char awar_name 
)
static
static AW_window* CreateDisplayBases_window ( AW_root aw_root)
static
static AW_window* CreateDisplayHelices_window ( AW_root aw_root)
static
static AW_window* CreateDisplayOptions_window ( AW_root aw_root)
static
static AW_window* CreateMapSequenceData_window ( AW_root aw_root)
static
static AW_window* CreateChangeMolecule_window ( AW_root aw_root)
static
static AW_window* CreateRNA3DGcWindow ( AW_root awr,
AW_gc_manager gcman 
)
static

Definition at line 591 of file RNA3D_Interface.cxx.

References AW_create_gc_window_named().

Referenced by CreateRNA3DMainWindow().

AW_window* CreateRNA3DMainWindow ( AW_root awr,
GBDATA gb_main,
ED4_plugin_host host 
)

Definition at line 595 of file RNA3D_Interface.cxx.

References AddCallBacks(), appContext, arb_assert, AW_window::at(), AW_window::at_newline(), AW_window::auto_space(), AW_get_AreaWidget(), AW_get_XtAppContext(), AW_MIDDLE_AREA, AW_POPDOWN(), AW_ROOT_DEFAULT, AWAR_3D_DISPLAY_BASES, AWAR_3D_DISPLAY_HELIX, AWAR_3D_DISPLAY_MASK, AWAR_3D_MAP_ENABLE, AWAR_3D_SAI_SELECTED, AW_root::awar_int(), awm, AWM_ALL, AWT_MODE_NONE, AWT_canvas::aww, AW_window::button_length(), ButtonPressEventHandler(), ButtonReleaseEventHandler(), AW_window::callback(), AW_window::create_autosize_button(), AW_window::create_button(), AW_window::create_menu(), AW_window::create_toggle(), CreateChangeMolecule_window(), CreateDisplayBases_window(), CreateDisplayHelices_window(), CreateDisplayOptions_window(), CreateMapSequenceData_window(), CreateRNA3DGcWindow(), RNA3D_Global::cStructure, ExposeOpenGLWindow(), Structure3D::FindTypeOfRNA(), gb_main, Structure3D::gb_main, AWT_canvas::gc_manager, AW_window::get_at_position(), AW_window::get_window_id(), RNA3D_Global::gl_Canvas, AW_window::help_text(), AW_window_menu_modes_opengl::init(), InitCallBacks(), AW_window::insert_menu_topic(), KeyPressEventHandler(), KeyReleaseEventHandler(), LSU_23S, makeHelpCallback(), MouseMoveEventHandler(), NOT_CREATED, NULp, RNA3D_Global::OpenGLEngineState, RefreshMappingDisplay(), AWT_canvas::request_resize(), ResizeOpenGLWindow(), RNA3D, RNA3D_init_global_data(), RNA3D_Global::root, AWT_canvas::set_mode(), AW_window::shadow_width(), ta, WINDOW_HEIGHT, and WINDOW_WIDTH.

Referenced by start_RNA3D_plugin().

Variable Documentation

XtAppContext appContext
static

Definition at line 27 of file RNA3D_Interface.cxx.

Referenced by CreateRNA3DMainWindow(), and RotateMoleculeStateChanged().

XtWorkProcId workId = 0
static

Definition at line 28 of file RNA3D_Interface.cxx.

Referenced by RotateMoleculeStateChanged().