User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
MeshOptC::MeshOptC(void)
MeshOptC::MeshOptC(char *,char *,char *)
MeshOptC::~MeshOptC(void)
MeshOptC::SetTrace(BooleanT)
MeshOptC::SetConst(double,double,double,BooleanT)
MeshOptC::FixedTopologyOptimize(int)
MeshOptC::Optimize(int)
MeshOptC
 
include "amma/HoppeTri.hh"
User Level:Default
Library:HoppeOpt
Example: regtool.cc
Section:default.Andrew Stoddart
In Scope:std

Comments:
------------------------------------------------------------------------- ********** MeshOptC ******************************************* ------------------------------------------------------------------------- ------------------------------------------------------------------------- ********** MeshOptC ************************************************** ------------------------------------------------------------------------- MeshOptC uses VTLoadedC which has nonstandard memory management, TAKE CARE! respond to validity of edge collapse operation? when i do tyy edge collapse i really need the same ie back??? This code now allows for robust surface fitting. All points further than threshM are ignored when fitting. It is expected that threshM is set to 3 std deviations as computed by a MAD estimator. The points are retained and may reappear later. During fixed topology fitting the robust step makes sense, however at present the reduce and fit is probably best done without a threshold. The option to do so is supported. The Data Energy that is reported is at present set to ignore the weights, so caution should be exercised when interpreting this for robust. -------------------------------------------------------------------------

Variables:
VTRingC vt;

VTLoadedC vtl;

Methods:
MeshOptC()
Null Constructor

MeshOptC(char * vtrfil,char * vecfil,char * mapfil)
Constructor

~MeshOptC()
Destructor

void SetTrace(BooleanT tr)
a trace printout for monitoring progress

void SetConst(double ks,double kr,double kb,BooleanT robust = FALSE)
Set the constants to new values, must be called!!

void FixedTopologyOptimize(int nloops)
optimise mesh with the topology fixed

void Optimize(int nmax)
optimise the mesh, allows for reduction according to krep assumes that the fixed optimisatio has ALREADY been done. the threshold is only set once, in the begining Remember not to renumber during this routine! WHY???? performs a maximum of nmax edge collapses


Programmer:Andrew Stoddart, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001