RNAlib-2.0.5
H/plot_layouts.h
Go to the documentation of this file.
00001 
00009 #ifndef __VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H__
00010 #define __VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H__
00011 
00012 #include "data_structures.h"
00013 #include "naview.h"
00014 
00015 #ifndef PI
00016 #define  PI       3.141592654
00017 #endif
00018 #define  PIHALF       PI/2.
00019 
00020 
00029 #define VRNA_PLOT_TYPE_SIMPLE     0
00030 
00039 #define VRNA_PLOT_TYPE_NAVIEW     1
00040 
00049 #define VRNA_PLOT_TYPE_CIRCULAR   2
00050 
00051 
00064 extern int rna_plot_type;
00065 
00077 int simple_xy_coordinates(short *pair_table,
00078                           float *X,
00079                           float *Y);
00080 
00101 int simple_circplot_coordinates(short *pair_table,
00102                                 float *x,
00103                                 float *y);
00104 
00105 
00106 #endif