| 1 | /* |
| 2 | * MoleculesToTriangles/CXXSurface/CXXSurfaceMaker.h |
| 3 | * |
| 4 | * Copyright 2016 by Martin Noble, University of Oxford |
| 5 | * Author: Martin Noble |
| 6 | * |
| 7 | * This file is part of Coot |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU Lesser General Public License as published |
| 11 | * by the Free Software Foundation; either version 3 of the License, or (at |
| 12 | * your option) any later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, but |
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 | * General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU General Public License |
| 20 | * along with this program; if not, write to the Free Software |
| 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 22 | * 02110-1301, USA |
| 23 | */ |
| 24 | |
| 25 | #ifndef CXXSurfaceMaker_h |
| 26 | #define CXXSurfaceMaker_hcxx . . $ `MoleculesToTriangles/CXXSurface/CXXSurfaceMaker.h:26:9`! |
| 27 | |
| 28 | #include "CXXSurface.h"cxx . . $ `<file>/MoleculesToTriangles/CXXSurface/CXXSurface.h`/ |
| 29 | |
| 30 | #include <stdio.h> |
| 31 | #include <vector> |
| 32 | #include <string> |
| 33 | #include <map> |
| 34 | |
| 35 | #ifndef __MMDB_Manager__cxx . . $ `<external>/4178908375504615306/mmdb_manager.h:42:9`! |
| 36 | #include "mmdb2/mmdb_manager.h" |
| 37 | #endif |
| 38 | |
| 39 | class CXXVCNcxx . . $ CXXVCN#; |
| 40 | class CXXBallcxx . . $ CXXBall#; |
| 41 | class CXXCircleNodecxx . . $ CXXCircleNode#; |
| 42 | |
| 43 | class CXXSurfaceMakercxx . . $ CXXSurfaceMaker# |
| 44 | { |
| 45 | private: |
| 46 | mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *allAtomsManagercxx . . $ CXXSurfaceMaker#allAtomsManager.; |
| 47 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<CXXSurfacecxx . . $ CXXSurface#> childSurfacescxx . . $ CXXSurfaceMaker#childSurfaces.; |
| 48 | |
| 49 | public: |
| 50 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(49f6e7a06ebc5aa8).() { allAtomsManagercxx . . $ CXXSurfaceMaker#allAtomsManager. = 0; }; |
| 51 | ~cxx . . $ CXXSurfaceMaker#`~CXXSurfaceMaker`(ced63f7c635d850d).CXXSurfaceMakercxx . . $ CXXSurfaceMaker#(){}; |
| 52 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(8d4ab0a187bf9331).(stdcxx . . $ std/::stringcxx . . $ std/string# path); |
| 53 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(35ab1abe02a15c25).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const stdcxx . . $ std/::stringcxx . . $ std/string# selectionString); |
| 54 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(ab7df29cf67876a7).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const stdcxx . . $ std/::stringcxx . . $ std/string# selectionString, const stdcxx . . $ std/::stringcxx . . $ std/string# contextString); |
| 55 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(74d4fe53d6796471).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const stdcxx . . $ std/::stringcxx . . $ std/string# selectionString, const stdcxx . . $ std/::stringcxx . . $ std/string# contextString, const double delta, const double probeRadius, const bool blend_edges); |
| 56 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(a5562cf2222b81e0).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int); |
| 57 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(3097a2c9330218f1).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const double, const double, const bool); |
| 58 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(929664aaaa3e0618).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const int, const double, const double, const bool); |
| 59 | CXXSurfaceMakercxx . . $ CXXSurfaceMaker#CXXSurfaceMaker(d4f767463ce0a6b3).(int); |
| 60 | stdcxx . . $ std/::stringcxx . . $ std/string# reportcxx . . $ CXXSurfaceMaker#report(efd28698952f529a).(); |
| 61 | int writeAsGraspcxx . . $ CXXSurfaceMaker#writeAsGrasp(89800cbf2a9b278f).(stdcxx . . $ std/::stringcxx . . $ std/string# path); |
| 62 | int readGraspFilecxx . . $ CXXSurfaceMaker#readGraspFile(89800cbf2a9b278f).(stdcxx . . $ std/::stringcxx . . $ std/string# fileName); |
| 63 | |
| 64 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<CXXSurfacecxx . . $ CXXSurface#> &getChildSurfacescxx . . $ CXXSurfaceMaker#getChildSurfaces(8f1b19dd84968392).() |
| 65 | { |
| 66 | return childSurfacescxx . . $ CXXSurfaceMaker#childSurfaces.; |
| 67 | }; |
| 68 | mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *getMMDBManagercxx . . $ CXXSurfaceMaker#getMMDBManager(6b2d30ba321e06d6).() const; |
| 69 | int calculateFromAtomscxx . . $ CXXSurfaceMaker#calculateFromAtoms(99faa53c3c878bae).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const stdcxx . . $ std/::stringcxx . . $ std/string#, const stdcxx . . $ std/::stringcxx . . $ std/string#, const double, const double, const bool); |
| 70 | int calculateFromAtomscxx . . $ CXXSurfaceMaker#calculateFromAtoms(2b21ed6956bf69af).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const int, const double, const double, const double, const bool); |
| 71 | int calculateFromAtomscxx . . $ CXXSurfaceMaker#calculateFromAtoms(12f8d15c05f9e3d2).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const int, const double, const double, const bool); |
| 72 | int calculateVDWFromAtomscxx . . $ CXXSurfaceMaker#calculateVDWFromAtoms(2b21ed6956bf69af).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const int, const double, const double, const double, const bool); |
| 73 | int calculateAccessibleFromAtomscxx . . $ CXXSurfaceMaker#calculateAccessibleFromAtoms(2b21ed6956bf69af).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const int, const double, const double, const double, const bool); |
| 74 | int calculateFromAtomscxx . . $ CXXSurfaceMaker#calculateFromAtoms(a592dc604af66481).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const stdcxx . . $ std/::stringcxx . . $ std/string#, const double, const double, const bool); |
| 75 | int calculateFromAtomscxx . . $ CXXSurfaceMaker#calculateFromAtoms(3d39ef7fee6a5e75).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, const int, const double, const double, const bool); |
| 76 | |
| 77 | SurfaceParameterscxx . . $ SurfaceParameters# measuredPropertiescxx . . $ CXXSurfaceMaker#measuredProperties(1fc4e273a0ed118a).(); |
| 78 | |
| 79 | int selectionStringToSelHndcxx . . $ CXXSurfaceMaker#selectionStringToSelHnd(27a2bc5365de8eed).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *allAtomsManager_in, stdcxx . . $ std/::stringcxx . . $ std/string# selectionString); |
| 80 | double getAtomRadiuscxx . . $ CXXSurfaceMaker#getAtomRadius(1cb53e71e4ccad8d).(mmdbcxx . . $ mmdb/::Atomcxx . . $ mmdb/Atom# *); |
| 81 | int assignAtomcxx . . $ CXXSurfaceMaker#assignAtom(610ca1e20caf89dd).(mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *, int); |
| 82 | int colorByAssignedAtomcxx . . $ CXXSurfaceMaker#colorByAssignedAtom(b126dc7c1de90089).(); |
| 83 | int colorByColourArraycxx . . $ CXXSurfaceMaker#colorByColourArray(ad194377b0d24001).(const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double *> &colours, mmdbcxx . . $ mmdb/::Managercxx . . $ mmdb/Manager# *molHnd, int selHnd); |
| 84 | |
| 85 | void generateArrayscxx . . $ CXXSurfaceMaker#generateArrays(7f6745d4491a0b16).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<CXXVCNcxx . . $ CXXVCN#> &vcns, stdcxx . . $ std/::vectorcxx . . $ std/vector#<CXXCoordcxx . . $ CXXCoord#<float>> &accessibles, stdcxx . . $ std/::vectorcxx . . $ std/vector#<mmdbcxx . . $ mmdb/::Atomcxx . . $ mmdb/Atom# *> &atoms); |
| 86 | void memberHandleCentralAtomscxx . . $ CXXSurfaceMaker#memberHandleCentralAtoms(a29028f196f493ee).( |
| 87 | const int atomNr, |
| 88 | const vectorcxx . . $ std/vector#<const CXXBallcxx . . $ CXXBall# *> *vdwBallPntrs, |
| 89 | CXXSurfacecxx . . $ CXXSurface# *elementSurfacesArray, |
| 90 | const float radiusMultiplier, |
| 91 | const float probeRadius, |
| 92 | const float delta, |
| 93 | const CXXSphereElementcxx . . $ CXXSphereElement# *unitSphereAtOrigin, |
| 94 | const stdcxx . . $ std/::mapcxx . . $ std/map#<const CXXBallcxx . . $ CXXBall# *, stdcxx . . $ std/::vectorcxx . . $ std/vector#<const CXXBallcxx . . $ CXXBall# *>> *contactMap, |
| 95 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<CXXCircleNodecxx . . $ CXXCircleNode#> *splitReentrantProbesArray, |
| 96 | const int selHnd |
| 97 | ); |
| 98 | }; |
| 99 | |
| 100 | #endif /* CXXSurfaceMaker_h */ |