BALL 1.5.0
Loading...
Searching...
No Matches
RSVertex.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_STRUCTURE_RSVERTEX_H
6#define BALL_STRUCTURE_RSVERTEX_H
7
8#ifndef BALL_STRUCTURE_GRAPHVERTEX_H
10#endif
11
12
13namespace BALL
14{
15 class RSEdge;
16 class RSFace;
17 class ReducedSurface;
18 class RSComputer;
19 class SESEdge;
20 class SESFace;
21 class SESVertex;
23 class SESComputer;
25 class TriangulatedSES;
26 class SESTriangulator;
27 class SASEdge;
28 class SASFace;
29 class SASVertex;
31 class TriangulatedSAS;
32 class SASTriangulator;
33
37 class BALL_EXPORT RSVertex : public GraphVertex< RSVertex,RSEdge,RSFace >
38 {
39 public:
40
63 friend class RSEdge;
64 friend class RSFace;
65 friend class ReducedSurface;
66 friend class RSComputer;
67 friend class SESEdge;
68 friend class SESFace;
69 friend class SESVertex;
71 friend class SESComputer;
73 friend class TriangulatedSES;
74 friend class SESTriangulator;
75 friend class SASEdge;
76 friend class SASFace;
77 friend class SASVertex;
79 friend class TriangulatedSAS;
80 friend class SASTriangulator;
81
83
84
87
92
100 RSVertex(const RSVertex& rsvertex, bool deep = false);
101
107
111 virtual ~RSVertex();
113
117
125 void set(const RSVertex& rsvertex, bool deep = false);
126
132 RSVertex& operator = (const RSVertex& rsvertex);
133
135
138
142 void setAtom(Index atom);
143
147 Index getAtom() const;
148
150
153
158 virtual bool operator == (const RSVertex& rsvertex) const;
159
164 virtual bool operator != (const RSVertex& rsvertex) const;
165
169 virtual bool operator *= (const RSVertex& rsvertex) const;
170
172
173 protected:
174
175 /*_ @name Attributes
176 */
178
179 /*_ The index of the atom represented by the RSVertex
180 */
182
184
185 };
186
190
194 BALL_EXPORT std::ostream& operator << (std::ostream& s, const RSVertex& rsvertex);
195
197
198
199} // namespace BALL
200
201#endif // BALL_STRUCTURE_RSVERTEX_H
#define BALL_EXPORT
friend class RSComputer
Definition RSVertex.h:66
friend class SESTriangulator
Definition RSVertex.h:74
friend class SASTriangulator
Definition RSVertex.h:80
friend class SESEdge
Definition RSVertex.h:67
friend class SASVertex
Definition RSVertex.h:77
friend class SASFace
Definition RSVertex.h:76
void setAtom(Index atom)
friend class RSFace
Definition RSVertex.h:64
Index getAtom() const
friend class TriangulatedSAS
Definition RSVertex.h:79
friend class SolventExcludedSurface
Definition RSVertex.h:70
friend class TriangulatedSES
Definition RSVertex.h:73
friend class SESVertex
Definition RSVertex.h:69
friend class SASEdge
Definition RSVertex.h:75
friend class SolventAccessibleSurface
Definition RSVertex.h:78
friend class SESSingularityCleaner
Definition RSVertex.h:72
friend class ReducedSurface
Definition RSVertex.h:65
friend class SESComputer
Definition RSVertex.h:71
friend class SESFace
Definition RSVertex.h:68
void set(const RSVertex &rsvertex, bool deep=false)
friend class RSEdge
Definition RSVertex.h:63
#define BALL_CREATE(name)
Definition create.h:62
BALL_INDEX_TYPE Index
STL namespace.