BALL::SASTriangulator Class Reference
[Molecular Surface Computation]

#include <BALL/STRUCTURE/triangulatedSAS.h>

List of all members.

Public Member Functions

Constructors and Destructors

 SASTriangulator ()
 SASTriangulator (TriangulatedSAS *tsas)
virtual ~SASTriangulator ()

Protected Attributes

Attributes

TriangulatedSAStsas_
double sqrt_density_
std::vector< std::list
< TVector3< double > > > 
edge_
HashMap< Size,
TriangulatedSurface
template_spheres_

Accessors



void run ()
void triangulateFace (SASFace *face)
void createPlanes (SASFace *face, std::list< std::pair< TPlane3< double >, double > > &planes)
void tagPoints (TriangulatedSurface &part, const std::list< std::pair< TPlane3< double >, double > > &planes)
void removeInsideTriangles (TriangulatedSurface &part)
HashGrid3< TrianglePoint * > createHashGrid (const TriangulatedSurface &part)
void createPoints (TriangulatedSurface &part, const std::list< std::pair< TPlane3< double >, double > > &planes, HashGrid3< TrianglePoint * > &grid)
void createNewTriangles (TriangulatedSurface &part, HashGrid3< TrianglePoint * > &grid)
void onePointOutside (Index outside, Triangle *t, TriangulatedSurface &part, HashGrid3< TrianglePoint * > &grid)
void twoPointsOutside (Position outside1, Position outside2, Triangle *t, TriangulatedSurface &part, HashGrid3< TrianglePoint * > &grid)
TrianglePointvertexExists (const TVector3< double > &point, HashGrid3< TrianglePoint * > &grid)
Size numberOfRefinements (const double &density, const double &radius)
void buildTemplateSpheres ()

Detailed Description

Generic SASTriangulator Class.

Definition at line 160 of file triangulatedSAS.h.


Constructor & Destructor Documentation

BALL::SASTriangulator::SASTriangulator (  ) 

Default constructor. This method creates a new SASTriangulator object.

BALL::SASTriangulator::SASTriangulator ( TriangulatedSAS tsas  ) 

Detailed constructor. Create a new empty SASTriangulator object and set its SAS.

Parameters:
tsas a pointer to the corresponding SAS
virtual BALL::SASTriangulator::~SASTriangulator (  )  [virtual]

Destructor. Destructs the SASTriangulator object.


Member Function Documentation

void BALL::SASTriangulator::buildTemplateSpheres (  )  [private]
HashGrid3<TrianglePoint*> BALL::SASTriangulator::createHashGrid ( const TriangulatedSurface part  )  [private]
void BALL::SASTriangulator::createNewTriangles ( TriangulatedSurface part,
HashGrid3< TrianglePoint * > &  grid 
) [private]
void BALL::SASTriangulator::createPlanes ( SASFace face,
std::list< std::pair< TPlane3< double >, double > > &  planes 
) [private]
void BALL::SASTriangulator::createPoints ( TriangulatedSurface part,
const std::list< std::pair< TPlane3< double >, double > > &  planes,
HashGrid3< TrianglePoint * > &  grid 
) [private]
Size BALL::SASTriangulator::numberOfRefinements ( const double density,
const double radius 
) [private]
void BALL::SASTriangulator::onePointOutside ( Index  outside,
Triangle t,
TriangulatedSurface part,
HashGrid3< TrianglePoint * > &  grid 
) [private]
void BALL::SASTriangulator::removeInsideTriangles ( TriangulatedSurface part  )  [private]
void BALL::SASTriangulator::run (  ) 
void BALL::SASTriangulator::tagPoints ( TriangulatedSurface part,
const std::list< std::pair< TPlane3< double >, double > > &  planes 
) [private]
void BALL::SASTriangulator::triangulateFace ( SASFace face  )  [private]
void BALL::SASTriangulator::twoPointsOutside ( Position  outside1,
Position  outside2,
Triangle t,
TriangulatedSurface part,
HashGrid3< TrianglePoint * > &  grid 
) [private]
TrianglePoint* BALL::SASTriangulator::vertexExists ( const TVector3< double > &  point,
HashGrid3< TrianglePoint * > &  grid 
) [private]

Member Data Documentation

std::vector< std::list< TVector3<double> > > BALL::SASTriangulator::edge_ [protected]

Definition at line 244 of file triangulatedSAS.h.

Definition at line 242 of file triangulatedSAS.h.

Definition at line 246 of file triangulatedSAS.h.

Definition at line 240 of file triangulatedSAS.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3