| 1 | /* |
| 2 | * MoleculesToTriangles/CXXSurface/CXXSurfaceVertex.h |
| 3 | * |
| 4 | * Copyright 2009 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 | #ifndef CXXSurfaceVertex_included |
| 25 | #define CXXSurfaceVertex_includedcxx . . $ `MoleculesToTriangles/CXXSurface/CXXSurfaceVertex.h:25:9`! |
| 26 | #include "CXXCoord.h"cxx . . $ `<file>/MoleculesToTriangles/CXXSurface/CXXCoord.h`/ |
| 27 | #include <vector> |
| 28 | #include <deque> |
| 29 | |
| 30 | using namespace std; |
| 31 | |
| 32 | class CXXSurfaceVertexcxx . . $ CXXSurfaceVertex# { |
| 33 | private: |
| 34 | vectorcxx . . $ std/vector#<void *> pointerscxx . . $ CXXSurfaceVertex#pointers.; |
| 35 | vectorcxx . . $ std/vector#<CXXCoordcxx . . $ CXXCoord#<CXXCoord_ftypecxx . . $ CXXCoord_ftype#> > vectorscxx . . $ CXXSurfaceVertex#vectors.; |
| 36 | vectorcxx . . $ std/vector#<double> scalarscxx . . $ CXXSurfaceVertex#scalars.; |
| 37 | void initcxx . . $ CXXSurfaceVertex#init(49f6e7a06ebc5aa8).(); |
| 38 | public: |
| 39 | CXXSurfaceVertexcxx . . $ CXXSurfaceVertex#CXXSurfaceVertex(49f6e7a06ebc5aa8).() {initcxx . . $ CXXSurfaceVertex#init(49f6e7a06ebc5aa8).();}; |
| 40 | |
| 41 | int setXyzcxx . . $ CXXSurfaceVertex#setXyz(307b1d76314ca06c).(size_t coordType, double *xyz); |
| 42 | int setXyzrcxx . . $ CXXSurfaceVertex#setXyzr(307b1d76314ca06c).(size_t coordType, double *xyzr); |
| 43 | int setCoordcxx . . $ CXXSurfaceVertex#setCoord(7c1a3d3aab069f96).(size_t coordType, const CXXCoordcxx . . $ CXXCoord#<CXXCoord_ftypecxx . . $ CXXCoord_ftype#> &crd); |
| 44 | int setScalarcxx . . $ CXXSurfaceVertex#setScalar(6f32f325420a45bb).(size_t scalarType, double value); |
| 45 | int setPointercxx . . $ CXXSurfaceVertex#setPointer(9b3d2d56e494888).(size_t pointerType, void *value); |
| 46 | |
| 47 | double xcxx . . $ CXXSurfaceVertex#x(78051de35c49feff).(size_t coordType); |
| 48 | double ycxx . . $ CXXSurfaceVertex#y(78051de35c49feff).(size_t coordType); |
| 49 | double zcxx . . $ CXXSurfaceVertex#z(78051de35c49feff).(size_t coordType); |
| 50 | double rcxx . . $ CXXSurfaceVertex#r(78051de35c49feff).(size_t coordType); |
| 51 | CXXCoord_ftypecxx . . $ CXXCoord_ftype# *xyzPntrcxx . . $ CXXSurfaceVertex#xyzPntr(fc1019ed980b44a9).(size_t coordType); |
| 52 | int getXyzcxx . . $ CXXSurfaceVertex#getXyz(307b1d76314ca06c).(size_t coordType, double *x); |
| 53 | int getXyzrcxx . . $ CXXSurfaceVertex#getXyzr(307b1d76314ca06c).(size_t coordType, double *x); |
| 54 | double scalarcxx . . $ CXXSurfaceVertex#scalar(14f2d1c4d23ae1d7).(size_t scalarType) const; |
| 55 | void *pointercxx . . $ CXXSurfaceVertex#pointer(4e1099794cea8682).(size_t pointerType) const; |
| 56 | const CXXCoordcxx . . $ CXXCoord#<CXXCoord_ftypecxx . . $ CXXCoord_ftype#> *coordPntrcxx . . $ CXXSurfaceVertex#coordPntr(c0f51c1d73798d9e).(size_t coordType) const; |
| 57 | const CXXCoordcxx . . $ CXXCoord#<CXXCoord_ftypecxx . . $ CXXCoord_ftype#> &coordRefcxx . . $ CXXSurfaceVertex#coordRef(fbc8a6d9aa49fc21).(size_t coordType) const; |
| 58 | size_t nPointerscxx . . $ CXXSurfaceVertex#nPointers(fe4d2d262d4164a8).() const; |
| 59 | size_t nVectorscxx . . $ CXXSurfaceVertex#nVectors(fe4d2d262d4164a8).() const; |
| 60 | size_t nScalarscxx . . $ CXXSurfaceVertex#nScalars(fe4d2d262d4164a8).() const; |
| 61 | }; |
| 62 | #endif |
| 63 | |
| 64 | |
| 65 | |
| 66 |