00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef PCONF_SPACE_NAV
00021 #define PCONF_SPACE_NAV
00022
00023 #include "PBasic.h"
00024 #include "PExtension.h"
00025
00026
00027
00028
00029 class PConfSpaceNavigator: public GLUTNavigationProgram {
00030 public:
00031
00035 PConfSpaceNavigator(PConformationSpace *pcs);
00036
00041 ~PConfSpaceNavigator();
00042
00046 virtual bool Initialize();
00047
00051 void RenderWorld();
00052
00056 void Handle_Keypress(unsigned char key, int x, int y);
00057
00058 private:
00059 void DrawLightChain(PLightChain *chain, bool drawOrange);
00060 void DrawAtom(PAtom *a, bool drawOrange);
00061 PConformationSpace *m_space;
00062 bool m_onlyBackbone;
00063 bool m_onlyLoops;
00064 PConformationSpace::iterator m_currPos;
00065 bool m_dispOneOnly;
00066 int m_sectionPos;
00067 bool m_sectionDisp;
00068 int m_quality;
00069
00070 int TOTAL_BACKBONE_ATOMS;
00071
00072
00073 };
00074
00075
00076
00077
00078
00079
00080
00081
00082 #endif