mFES - molecular Finite Element Solver  0.4
Public Member Functions | Private Member Functions | Private Attributes
Voxel Class Reference

#include <Voxel.h>

List of all members.

Public Member Functions

 Voxel ()
 ~Voxel ()
int calcSurface (mMesh &mSurface, vector< Atom > &atomList, INI &ini, string fileName, int gridSize=64, bool exclusion=false)

Private Member Functions

void SetValues (Point< 3 > pmin, Point< 3 > pmax, double diag, Array< Point< 3 > > &gridpoints, Array< float > &values, Array< Vec< 3 > > &dvalues)
void WriteTrig (Point< 3 > p1, Point< 3 > p2, Point< 3 > p3, Vec< 3 > n)
double CutEdge (double f1, double f2)
void MakeTetSTL (Point< 3 > pnts[], double valtet[4], Vec< 3 > dvaltet[4])
void MakeCubeSTL (Point< 3 > pointcube[8], double valcube[8], Vec< 3 > dvalcube[8])
void MakeSTL (Point< 3 > pmin, Point< 3 > pmax, int nx, int ny, int nz, Array< Point< 3 > > &gridpoints, Array< float > &values, Array< Vec< 3 > > &dvalues)

Private Attributes

double rball
double rmax
ofstream stlout
Array< Point< 3 > > pnts
Array< double > rad
Point3dTree * searchtree

Constructor & Destructor Documentation

Voxel::Voxel ( ) [inline]
Voxel::~Voxel ( ) [inline]

Member Function Documentation

int Voxel::calcSurface ( mMesh mSurface,
vector< Atom > &  atomList,
INI ini,
string  fileName,
int  gridSize = 64,
bool  exclusion = false 
) [inline]
double Voxel::CutEdge ( double  f1,
double  f2 
) [inline, private]
void Voxel::MakeCubeSTL ( Point< 3 >  pointcube[8],
double  valcube[8],
Vec< 3 >  dvalcube[8] 
) [inline, private]
void Voxel::MakeSTL ( Point< 3 >  pmin,
Point< 3 >  pmax,
int  nx,
int  ny,
int  nz,
Array< Point< 3 > > &  gridpoints,
Array< float > &  values,
Array< Vec< 3 > > &  dvalues 
) [inline, private]
void Voxel::MakeTetSTL ( Point< 3 >  pnts[],
double  valtet[4],
Vec< 3 >  dvaltet[4] 
) [inline, private]
void Voxel::SetValues ( Point< 3 >  pmin,
Point< 3 >  pmax,
double  diag,
Array< Point< 3 > > &  gridpoints,
Array< float > &  values,
Array< Vec< 3 > > &  dvalues 
) [inline, private]
void Voxel::WriteTrig ( Point< 3 >  p1,
Point< 3 >  p2,
Point< 3 >  p3,
Vec< 3 >  n 
) [inline, private]

Member Data Documentation

Array<Point<3> > Voxel::pnts [private]
Array<double> Voxel::rad [private]
double Voxel::rball [private]
double Voxel::rmax [private]
Point3dTree* Voxel::searchtree [private]
ofstream Voxel::stlout [private]

The documentation for this class was generated from the following file: