BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Protected Attributes | List of all members
BALL::SolventAccessibleSurface Class Reference

#include <BALL/STRUCTURE/solventAccessibleSurface.h>

Public Member Functions

Constructors and Destructors
 SolventAccessibleSurface ()
 
 SolventAccessibleSurface (const SolventAccessibleSurface &sas, bool=false)
 
 SolventAccessibleSurface (ReducedSurface *reduced_surface)
 
virtual ~SolventAccessibleSurface ()
 
Accessors
void setVertex (SASVertex *vertex, Position i) throw (Exception::IndexOverflow)
 
SASVertexgetVertex (Position i) const throw (Exception::IndexOverflow)
 
Size numberOfVertices () const
 
void setEdge (SASEdge *edge, Position i) throw (Exception::IndexOverflow)
 
SASEdgegetEdge (Position i) const throw (Exception::IndexOverflow)
 
Size numberOfEdges () const
 
void setFace (SASFace *face, Position i) throw (Exception::IndexOverflow)
 
SASFacegetFace (Position i) const throw (Exception::IndexOverflow)
 
Size numberOfFaces () const
 
void setRS (ReducedSurface *rs)
 
ReducedSurfacegetRS () const
 
void clear ()
 
void compute ()
 

Protected Attributes

Position number_of_vertices_
 
::std::vector< SASVertex * > vertices_
 
Position number_of_edges_
 
::std::vector< SASEdge * > edges_
 
Position number_of_faces_
 
::std::vector< SASFace * > faces_
 
ReducedSurfacereduced_surface_
 

Friends

Class friends
class TriangulatedSAS
 
class SASTriangulator
 

Detailed Description

Generic SolventAccessibleSurface Class.

Definition at line 38 of file solventAccessibleSurface.h.

Constructor & Destructor Documentation

BALL::SolventAccessibleSurface::SolventAccessibleSurface ( )

Default constructor. This method creates a new SolventAccessibleSurface object.

BALL::SolventAccessibleSurface::SolventAccessibleSurface ( const SolventAccessibleSurface sas,
bool  = false 
)

Copy constructor. Create a new SolventAccessibleSurface object from another.

Parameters
sasthe SolventAccessibleSurface object to be copied
boolignored - just for interface consistency
BALL::SolventAccessibleSurface::SolventAccessibleSurface ( ReducedSurface reduced_surface)

Detailed constructor

virtual BALL::SolventAccessibleSurface::~SolventAccessibleSurface ( )
virtual

Destructor. As there are no dynamic data structures, nothing happens.

Member Function Documentation

void BALL::SolventAccessibleSurface::clear ( )
void BALL::SolventAccessibleSurface::compute ( )

Computes the solvent excluded surface from a ReducedSurface object

SASEdge* BALL::SolventAccessibleSurface::getEdge ( Position  i) const
throw (Exception::IndexOverflow
)
SASFace* BALL::SolventAccessibleSurface::getFace ( Position  i) const
throw (Exception::IndexOverflow
)
ReducedSurface* BALL::SolventAccessibleSurface::getRS ( ) const
SASVertex* BALL::SolventAccessibleSurface::getVertex ( Position  i) const
throw (Exception::IndexOverflow
)
Size BALL::SolventAccessibleSurface::numberOfEdges ( ) const
Size BALL::SolventAccessibleSurface::numberOfFaces ( ) const
Size BALL::SolventAccessibleSurface::numberOfVertices ( ) const
void BALL::SolventAccessibleSurface::setEdge ( SASEdge edge,
Position  i 
)
throw (Exception::IndexOverflow
)
void BALL::SolventAccessibleSurface::setFace ( SASFace face,
Position  i 
)
throw (Exception::IndexOverflow
)
void BALL::SolventAccessibleSurface::setRS ( ReducedSurface rs)
void BALL::SolventAccessibleSurface::setVertex ( SASVertex vertex,
Position  i 
)
throw (Exception::IndexOverflow
)

Friends And Related Function Documentation

friend class SASTriangulator
friend

Definition at line 49 of file solventAccessibleSurface.h.

friend class TriangulatedSAS
friend

Definition at line 48 of file solventAccessibleSurface.h.

Member Data Documentation

::std::vector<SASEdge*> BALL::SolventAccessibleSurface::edges_
protected

Definition at line 168 of file solventAccessibleSurface.h.

::std::vector<SASFace*> BALL::SolventAccessibleSurface::faces_
protected

Definition at line 172 of file solventAccessibleSurface.h.

Position BALL::SolventAccessibleSurface::number_of_edges_
protected

Definition at line 166 of file solventAccessibleSurface.h.

Position BALL::SolventAccessibleSurface::number_of_faces_
protected

Definition at line 170 of file solventAccessibleSurface.h.

Position BALL::SolventAccessibleSurface::number_of_vertices_
protected

Definition at line 162 of file solventAccessibleSurface.h.

ReducedSurface* BALL::SolventAccessibleSurface::reduced_surface_
protected

Definition at line 174 of file solventAccessibleSurface.h.

::std::vector<SASVertex*> BALL::SolventAccessibleSurface::vertices_
protected

Definition at line 164 of file solventAccessibleSurface.h.