1 2 3 /* 4 A* ------------------------------------------------------------------- 5 B* This file contains source code for the PyMOL computer program 6 C* Copyright (c) Schrodinger, LLC. 7 D* ------------------------------------------------------------------- 8 E* It is unlawful to modify or remove this copyright notice. 9 F* ------------------------------------------------------------------- 10 G* Please see the accompanying LICENSE file for further information. 11 H* ------------------------------------------------------------------- 12 I* Additional authors of this source file include: 13 -* 14 -* 15 -* 16 Z* ------------------------------------------------------------------- 17 */ 18 #ifndef _H_Tetsurf 19 #define _H_Tetsurf 20 21 #include"Map.h" 22 #include"MemoryDebug.h" 23 #include"Crystal.h" 24 #include"Field.h" 25 #include"PyMOLGlobals.h" 26 27 #define F3(field,P1,P2,P3) Ffloat3(field,P1,P2,P3) 28 #define F3Ptr(field,P1,P2,P3) Ffloat3p(field,P1,P2,P3) 29 30 #define F4(field,P1,P2,P3,P4) Ffloat4(field,P1,P2,P3,P4) 31 #define F4Ptr(field,P1,P2,P3,P4) Ffloat4p(field,P1,P2,P3,P4) 32 33 int TetsurfVolume(PyMOLGlobals * G, Isofield * field, float level, int **num, 34 float **vert, int *range, int mode, 35 MapType * voxelmap, const float* a_vert, float carvebuffer, int side); 36 void TetsurfGetRange(PyMOLGlobals * G, Isofield * field, CCrystal * cryst, float *mn, 37 float *mx, int *range); 38 39 int TetsurfInit(PyMOLGlobals * G); 40 void TetsurfFree(PyMOLGlobals * G); 41 42 #endif 43