Loading...
Searching...
No Matches
SASFace.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_STRUCTURE_SASFACE_H
#define BALL_STRUCTURE_SASFACE_H
#ifndef BALL_STRUCTURE_GRAPHFACE_H
# include <BALL/STRUCTURE/graphFace.h>
#endif
#ifndef BALL_STRUCTURE_SPHERE3_H
# include <BALL/MATHS/sphere3.h>
#endif
#include <list>
namespace BALL
{
class SolventAccessibleSurface;
class SASEdge;
class SASVertex;
class TriangulatedSAS;
class SASTriangulator;
class BALL_EXPORT SASFace : public GraphFace< SASVertex,SASEdge,SASFace >
{
public:
friend class SASEdge;
friend class SASVertex;
friend class SolventAccessibleSurface;
friend class TriangulatedSAS;
friend class SASTriangulator;
BALL_CREATE(SASFace)
typedef std::list<bool>::iterator OrientationIterator;
typedef std::list<bool>::const_iterator ConstOrientationIterator;
SASFace()
;
SASFace(const SASFace& sasface, bool deep = false)
;
virtual ~SASFace()
;
void set(const SASFace& sasface, bool deep = false)
;
SASFace& operator = (const SASFace& sasface)
;
void setSphere(const TSphere3<double>& sphere)
;
TSphere3<double> getSphere() const
;
virtual bool operator == (const SASFace&) const
;
virtual bool operator != (const SASFace&) const
;
virtual bool operator *= (const SASFace&) const
;
OrientationIterator beginOrientation()
;
ConstOrientationIterator beginOrientation() const
;
OrientationIterator endOrientation()
;
ConstOrientationIterator endOrientation() const
;
protected:
/*_ A list of booleans to indicate the orientation of each sasedge.
*/
std::list<bool> orientation_;
/*_ The sphere on which the face lies.
*/
TSphere3<double> sphere_;
};
BALL_EXPORT std::ostream& operator << (std::ostream& s, const SASFace& sasface);
} // namespace BALL
#endif // BALL_STRUCTURE_SASFACE_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::GraphFace< SASVertex, SASEdge, SASFace >::GraphFace
GraphFace()
Definition graphFace.h:259
BALL::SASEdge
Definition SASEdge.h:34
BALL::SASFace
Definition SASFace.h:31
BALL::SASFace::set
void set(const SASFace &sasface, bool deep=false)
BALL::SASFace::SASTriangulator
friend class SASTriangulator
Definition SASFace.h:47
BALL::SASFace::sphere_
TSphere3< double > sphere_
Definition SASFace.h:174
BALL::SASFace::SASVertex
friend class SASVertex
Definition SASFace.h:44
BALL::SASFace::setSphere
void setSphere(const TSphere3< double > &sphere)
BALL::SASFace::OrientationIterator
std::list< bool >::iterator OrientationIterator
Definition SASFace.h:55
BALL::SASFace::TriangulatedSAS
friend class TriangulatedSAS
Definition SASFace.h:46
BALL::SASFace::beginOrientation
OrientationIterator beginOrientation()
BALL::SASFace::SASFace
SASFace()
BALL::SASFace::endOrientation
OrientationIterator endOrientation()
BALL::SASFace::SASEdge
friend class SASEdge
Definition SASFace.h:43
BALL::SASFace::orientation_
std::list< bool > orientation_
Definition SASFace.h:171
BALL::SASFace::SolventAccessibleSurface
friend class SolventAccessibleSurface
Definition SASFace.h:45
BALL::SASFace::getSphere
TSphere3< double > getSphere() const
BALL::SASFace::ConstOrientationIterator
std::list< bool >::const_iterator ConstOrientationIterator
Definition SASFace.h:56
BALL::SASTriangulator
Definition triangulatedSAS.h:161
BALL::SASVertex
Definition SASVertex.h:29
BALL::SolventAccessibleSurface
Definition solventAccessibleSurface.h:39
BALL::TSphere3
Definition sphere3.h:33
BALL::TriangulatedSAS
Definition triangulatedSAS.h:63
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
graphFace.h
BALL
Definition constants.h:13
std
STL namespace.
sphere3.h