Loading...
Searching...
No Matches
SESVertex.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_STRUCTURE_SESVERTEX_H
#define BALL_STRUCTURE_SESVERTEX_H
#ifndef BALL_STRUCTURE_GRAPHVERTEX_H
# include <BALL/STRUCTURE/graphVertex.h>
#endif
#ifndef BALL_MATHS_VECTOR3_H
# include <BALL/MATHS/vector3.h>
#endif
namespace BALL
{
class SESEdge;
class SESFace;
class SolventExcludedSurface;
class SESComputer;
class SESSingularityCleaner;
class TriangulatedSES;
class SESTriangulator;
class BALL_EXPORT SESVertex : public GraphVertex< SESVertex,SESEdge,SESFace >
{
public:
friend class SESEdge;
friend class SESFace;
friend class SolventExcludedSurface;
friend class SESComputer;
friend class SESSingularityCleaner;
friend class TriangulatedSES;
friend class SESTriangulator;
BALL_CREATE(SESVertex)
SESVertex()
;
SESVertex(const SESVertex& sesvertex, bool deep = false)
;
SESVertex
(const TVector3<double>& point,
const TVector3<double>& normal,
Index atom,
Index index)
;
virtual ~SESVertex()
;
void set(const SESVertex& sesvertex, bool deep = false)
;
SESVertex& operator = (const SESVertex& sesvertex)
;
void set(const TVector3<double> point,
const TVector3<double>& normal,
Index atom,
Index index)
;
void setPoint(const TVector3<double>& point)
;
TVector3<double> getPoint() const
;
void setNormal(const TVector3<double>& normal);
TVector3<double> getNormal() const
;
void setAtom(Index atom)
;
Index getAtom() const
;
virtual bool operator == (const SESVertex&) const
;
virtual bool operator != (const SESVertex&) const
;
virtual bool operator *= (const SESVertex&) const
;
protected:
/*_ The coordinates of the vertex.
*/
TVector3<double> point_;
/*_ The normal vector of the vertex.
*/
TVector3<double> normal_;
/*_ The index of the closest atom.
*/
Index atom_;
};
BALL_EXPORT std::ostream& operator << (std::ostream& s, const SESVertex& sesvertex);
} // namespace BALL
#endif // BALL_SES_SESVERTEX_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::GraphVertex< SESVertex, SESEdge, SESFace >::GraphVertex
GraphVertex()
Definition graphVertex.h:275
BALL::SESComputer
Definition solventExcludedSurface.h:318
BALL::SESEdge
Definition SESEdge.h:34
BALL::SESFace
Definition SESFace.h:38
BALL::SESSingularityCleaner
Definition solventExcludedSurface.h:457
BALL::SESTriangulator
Definition triangulatedSES.h:164
BALL::SESVertex
Definition SESVertex.h:30
BALL::SESVertex::set
void set(const SESVertex &sesvertex, bool deep=false)
BALL::SESVertex::SESTriangulator
friend class SESTriangulator
Definition SESVertex.h:50
BALL::SESVertex::point_
TVector3< double > point_
Definition SESVertex.h:199
BALL::SESVertex::normal_
TVector3< double > normal_
Definition SESVertex.h:202
BALL::SESVertex::SESEdge
friend class SESEdge
Definition SESVertex.h:44
BALL::SESVertex::getNormal
TVector3< double > getNormal() const
BALL::SESVertex::setNormal
void setNormal(const TVector3< double > &normal)
BALL::SESVertex::SolventExcludedSurface
friend class SolventExcludedSurface
Definition SESVertex.h:46
BALL::SESVertex::SESVertex
SESVertex()
BALL::SESVertex::TriangulatedSES
friend class TriangulatedSES
Definition SESVertex.h:49
BALL::SESVertex::setPoint
void setPoint(const TVector3< double > &point)
BALL::SESVertex::getAtom
Index getAtom() const
BALL::SESVertex::SESSingularityCleaner
friend class SESSingularityCleaner
Definition SESVertex.h:48
BALL::SESVertex::SESComputer
friend class SESComputer
Definition SESVertex.h:47
BALL::SESVertex::SESFace
friend class SESFace
Definition SESVertex.h:45
BALL::SESVertex::setAtom
void setAtom(Index atom)
BALL::SESVertex::atom_
Index atom_
Definition SESVertex.h:205
BALL::SESVertex::getPoint
TVector3< double > getPoint() const
BALL::SolventExcludedSurface
Definition solventExcludedSurface.h:67
BALL::TVector3
Definition vector3.h:71
BALL::TriangulatedSES
Definition triangulatedSES.h:55
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
graphVertex.h
BALL
Definition constants.h:13
BALL::Index
BALL_INDEX_TYPE Index
Definition COMMON/global.h:105
std
STL namespace.
vector3.h