Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hamolview.h File Reference

#include "hastl.h"
#include "habond.h"
#include "haatgroup.h"
#include "canvas3d.h"
#include "command.h"
#include "halinalg.h"
#include "hamolset.h"

Go to the source code of this file.

Classes

class  Monitor
class  ShadeDesc
 Class to define a basic color. More...

class  ShadeRef
 Class that desribe position the basic color(shade) in the array of shades Shade[] and in array of colors Lut[]. More...

class  HaMolView
 Class for 3D representation of a set of molecules. More...


Defines

#define ForEachMol_VIEW   for(mol_itr=(GetMolSet()->HostMolecules).begin(); mol_itr != (GetMolSet()->HostMolecules).end(); mol_itr++)
#define ForEachChain_VIEW
#define ForEachResidue_VIEW
#define ForEachBack_VIEW
#define ZValid_v(z)   ((!UseSlabPlane() ) || ((z) < SlabValue()))
#define XValid_v(x)   (((x)>=0)&&((x)< pCanv->View.xmax))
#define YValid_v(y)   (((y)>=0)&&((y)< pCanv->View.ymax))

Typedefs

typedef void * PSItemPtr

Functions

unsigned int isqrt (unsigned int)

Variables

const long LOAD_AMBER_RESTART_TIMER_ID = 100301
const int ResidueAttr = 0x00
const int ChainAttr = 0x01
const int TempAttr = 0x02
const int ChargeAttr = 0x03
const int RibColInside = 0x01
const int RibColOutside = 0x02
const int RibColBoth = 0x03
const int BackCol = 0
const int BoxCol = 1
const int LabelCol = 2
const int FirstCol = 3
const int VOXORDER = 21
const int VOXORDER2 = VOXORDER*VOXORDER
const int VOXSIZE = VOXORDER2*VOXORDER
const int PickNone = 0x00
const int PickIdent = 0x01
const int PickDist = 0x02
const int PickAngle = 0x03
const int PickTorsn = 0x04
const int PickLabel = 0x05
const int PickMonit = 0x06
const int PickCentr = 0x07
const int PickMolConnect = 0x08
const int DefaultWide = 480
const int DefaultHigh = 480
const int RFRotateX = 0x0001
const int RFRotateY = 0x0002
const int RFRotateZ = 0x0004
const int RFZoom = 0x0008
const int RFTransX = 0x0010
const int RFTransY = 0x0020
const int RFTransZ = 0x0040
const int RFSlab = 0x0080
const int RFReSize = 0x0100
const int RFColour = 0x0200
const int RFRefresh = 0x0400
const int RFPoint1 = 0x1000
const int RFPoint2 = 0x2000
const int RFTrans = 0x0070
const int RFRotate = 0x0007
const int RFApply = 0x017F
const int RFDials = 0x00FF
const int RFMagnify = 0x0108
const int RFInitial = 0x01FF
const int RFPoint = 0x3000
const int MMRasMol = 0x00
const int MMInsight = 0x01
const int MMQuanta = 0x02
const int ViewLeft = 0
const int ViewRight = 1
HaMolViewCurMolView


Detailed Description

Classes to define 3D view of molecular set in HARLEM

based on RasMol2 Molecular Graphics Roger Sayle, August 1995 Version 2.6

Author:
Igor Kurnikov
Date:
1998-2002

Define Documentation

#define ForEachChain_VIEW
 

Value:

for(mol_itr=(GetMolSet()->HostMolecules).begin(); mol_itr != (GetMolSet()->HostMolecules).end(); mol_itr++) \
                                                        for(chain=(*mol_itr)->GetFirstChain();chain;chain=(*mol_itr)->GetNextChain())

#define ForEachResidue_VIEW
 

Value:

for(mol_itr=(GetMolSet()->HostMolecules).begin(); mol_itr != (GetMolSet()->HostMolecules).end(); mol_itr++)  \
                                                        for(chain=(*mol_itr)->GetFirstChain();chain;chain=(*mol_itr)->GetNextChain()) \
                                 for( group=chain->GetFirstRes(); group; group=chain->GetNextRes() )

#define ForEachBack_VIEW
 

Value:

for(mol_itr=(GetMolSet()->HostMolecules).begin(); mol_itr != (GetMolSet()->HostMolecules).end(); mol_itr++)  \
                                                  for(chain=(*mol_itr)->GetFirstChain();chain;chain=(*mol_itr)->GetNextChain()) \
                                  for(bptr=chain->GetFirstBackB(); bptr; bptr= chain->GetNextBackB())


Generated on Tue Feb 17 02:03:10 2004 for harlem by doxygen 1.3.6