NanoShaper  0.3.1
NanoShaper is a tool able to triangulate and inspect an arbitray triangulated surface or several types of molecular surfaces such as the Gaussian, Skin and the SES
C:/Documents and Settings/sdecherchi/My Documents/Ricerca/software nostro/NanoShaper 0.3.1/NanoShaper/src/ExternalSurface.h
Go to the documentation of this file.
00001 
00002 //---------------------------------------------------------
00006 //---------------------------------------------------------
00007 
00008 #ifndef ExternalSurface_h
00009 #define ExternalSurface_h
00010 
00011 #include "Surface.h"
00012 
00013 
00020 class ExternalSurface: public Surface
00021 {
00022 public:
00024         ExternalSurface();
00026         ExternalSurface(DelPhiShared* ds);                      
00027 
00029 
00030         virtual bool build();
00032         virtual bool save(char* fileName);
00034         virtual bool load(char* fileName);
00036         virtual bool getSurf(bool fill=false,double vol=0);             
00038         virtual void printSummary();            
00040         virtual bool getProjection(double p[3],double* proj1,double* proj2,
00041                 double* proj3,double* normal1,double* normal2,double* normal3);
00043         virtual void getRayIntersection(double p1[3],double p2[3],vector<pair<double,double*> >& intersections,int thdID);              
00045         virtual void getLocalArea(double gridPoint[3],double* area);
00047         virtual double getSurfaceArea();
00050         virtual double getVolume();
00051 
00053 
00054 
00055         virtual ~ExternalSurface();
00056 };
00057 
00058 #endif