MorphoGraphX  2.0-1-227
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
mgx::HejnowiczSurface Class Reference

#include <HejnowiczSurface.hpp>

+ Inheritance diagram for mgx::HejnowiczSurface:

Classes

class  Subdivide
 Class to define methods for subdivision. More...
 
struct  VertexData
 Hejnowicz vertex attribute data needed for simulations. More...
 

Public Types

enum  ParmNames {
  puS, pvR, pA, pC,
  pD, pScale, pLength, pGrowthScale,
  pGrowthType, pGrowthFunc, pNumParms
}
 Parameter names as in Hejnowicz and Karczewski 1993. More...
 
typedef AttrMap< vertex, VertexDataVertexAttr
 Attribute map for vertex data required by the surface. More...
 

Public Member Functions

 HejnowiczSurface ()
 
 ~HejnowiczSurface ()
 
bool processParms (const QStringList &parms)
 Process the parameters from the uniform interface. More...
 
bool setPoint (vertex p, vertex sp, Point3d cp)
 Determine the local coordinates from a 3d position. More...
 
bool updatePos (vertex p)
 Update the vertex position. More...
 
bool updateNormal (vertex p)
 Update the vertex normal. More...
 
bool initialCell (CellTissue &T, const Point2d &top, const Point2d &bottom, const Point2d &middle)
 Create an initial cell. More...
 
bool initialize (VertexAttr *vData, const QStringList &parms)
 Initialize the surface. More...
 
bool growPoint (vertex p, double dt, double time)
 Grow a surface point. More...
 
Point3d localToCartesian (const Point2d &local)
 Convert from local (NRS) to Cartesian coordinates. More...
 
bool cartesianToLocal (const Point3d &cartesian, Point2d &local)
 Convert from cartesian to local (NRS) coordinates. More...
 
bool setGrowthMap (std::map< double, double > &growthMap)
 Setup the growth map. More...
 
- Public Member Functions inherited from mgx::Surface
 Surface ()
 
virtual ~Surface ()
 
virtual bool initialCell (CellTissue &T, double size, int cellInitWall)
 
virtual double distance (const vertex &u, const vertex &v)
 
virtual bool growSurface (double time)
 

Static Public Member Functions

static QStringList parmNames ()
 
static QStringList parmDescs ()
 
static QStringList parmDefaults ()
 

Detailed Description

Growing surface using a local coordinate system (NRS) as defined in Hejnowicz and Karczewski 1993.

Definition at line 28 of file HejnowiczSurface.hpp.

Member Typedef Documentation

◆ VertexAttr

Attribute map for vertex data required by the surface.

Definition at line 49 of file HejnowiczSurface.hpp.

Member Enumeration Documentation

◆ ParmNames

Parameter names as in Hejnowicz and Karczewski 1993.

Enumerator
puS 
pvR 
pA 
pC 
pD 
pScale 
pLength 
pGrowthScale 
pGrowthType 
pGrowthFunc 
pNumParms 

Definition at line 32 of file HejnowiczSurface.hpp.

Constructor & Destructor Documentation

◆ HejnowiczSurface()

mgx::HejnowiczSurface::HejnowiczSurface ( )
inline

Definition at line 65 of file HejnowiczSurface.hpp.

◆ ~HejnowiczSurface()

mgx::HejnowiczSurface::~HejnowiczSurface ( )
inline

Definition at line 66 of file HejnowiczSurface.hpp.

Member Function Documentation

◆ cartesianToLocal()

bool mgx::HejnowiczSurface::cartesianToLocal ( const Point3d cartesian,
Point2d local 
)

Convert from cartesian to local (NRS) coordinates.

◆ growPoint()

bool mgx::HejnowiczSurface::growPoint ( vertex  p,
double  dt,
double  time 
)
virtual

Grow a surface point.

Reimplemented from mgx::Surface.

◆ initialCell()

bool mgx::HejnowiczSurface::initialCell ( CellTissue T,
const Point2d top,
const Point2d bottom,
const Point2d middle 
)

Create an initial cell.

◆ initialize()

bool mgx::HejnowiczSurface::initialize ( VertexAttr vData,
const QStringList &  parms 
)

Initialize the surface.

◆ localToCartesian()

Point3d mgx::HejnowiczSurface::localToCartesian ( const Point2d local)

Convert from local (NRS) to Cartesian coordinates.

◆ parmDefaults()

static QStringList mgx::HejnowiczSurface::parmDefaults ( )
inlinestatic

Definition at line 104 of file HejnowiczSurface.hpp.

◆ parmDescs()

static QStringList mgx::HejnowiczSurface::parmDescs ( )
inlinestatic

Definition at line 86 of file HejnowiczSurface.hpp.

◆ parmNames()

static QStringList mgx::HejnowiczSurface::parmNames ( )
inlinestatic

Definition at line 68 of file HejnowiczSurface.hpp.

◆ processParms()

bool mgx::HejnowiczSurface::processParms ( const QStringList &  parms)
virtual

Process the parameters from the uniform interface.

Reimplemented from mgx::Surface.

◆ setGrowthMap()

bool mgx::HejnowiczSurface::setGrowthMap ( std::map< double, double > &  growthMap)

Setup the growth map.

◆ setPoint()

bool mgx::HejnowiczSurface::setPoint ( vertex  p,
vertex  sp,
Point3d  cp 
)
virtual

Determine the local coordinates from a 3d position.

A neighboring vertex is used as a hint.

Reimplemented from mgx::Surface.

◆ updateNormal()

bool mgx::HejnowiczSurface::updateNormal ( vertex  p)
virtual

Update the vertex normal.

Reimplemented from mgx::Surface.

◆ updatePos()

bool mgx::HejnowiczSurface::updatePos ( vertex  p)
virtual

Update the vertex position.

Reimplemented from mgx::Surface.


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