|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
|
PUBLIC |
VTLoadedC::VTLoadedC(void)
VTLoadedC::VTLoadedC(VTRingC)
VTLoadedC::VTLoadedC(const VTLoadedC &)
VTLoadedC::operator=(const VTLoadedC &)
VTLoadedC::~VTLoadedC(void)
VTLoadedC::NewPListonFace(const ItTriC &)
VTLoadedC::DeletePListonFace(const ItTriC &)
VTLoadedC::Npts(void)
VTLoadedC::AddPointToPList(const ItTriC &,Vector3dC,double)
VTLoadedC::PListOf(const ItTriC &)
VTLoadedC::LoadPtsAndMap(char *,char *)
VTLoadedC::SavePtsAndMap(char *,char *)
VTLoadedC::DoHistogram(int)
VTLoadedC::PrintDataStats(void)
VTLoadedC::GetMedian(SArray1dC)
VTLoadedC::DataStats(double &,double &,double &,BooleanT)
VTLoadedC::RemoveOddBalls(void)
VTLoadedC::DeleteFarPoints(double,int)
VTLoadedC::SumOfSqrDistances(ItTriC)
VTLoadedC::RemovePoints(KListC &)
VTLoadedC::MakeCopyOfAllPoints(KListC &)
VTLoadedC::MakeCopyOfNonZeroWeightPoints(KListC &)
VTLoadedC::AddPoints(SArray1dC &,KListC &,double)
VTLoadedC::AddPoints(SArray1dC &,ItTriC)
VTLoadedC::GlobalReprojectOnNeighbours(double)
|
Comments:
-------------------------------------------------------------------------
-------------------------------------------------------------------------
Variables:
- VTRingC vt;
-
just a handle!!
Methods:
- VTLoadedC()
-
Null Constructor
- VTLoadedC(VTRingC vtin)
-
Constructor; Uses renumber faces on vt
- VTLoadedC(const VTLoadedC & b)
-
Copy Constructor
- VTLoadedC & operator=(const VTLoadedC & b)
-
Assignment
- ~VTLoadedC()
-
Destructor
Member functions
----------------
- void NewPListonFace(const ItTriC & it)
-
Create a new PListC on this face
- void DeletePListonFace(const ItTriC & it)
-
Delete a PListC from this face, set ptr = NULL
- int Npts()
-
Find out how many points there are, ignores the weight
- void AddPointToPList(const ItTriC & it,Vector3dC v,double weight = 1.0)
-
Add a point to a Plist including all VTPointStuffC info
- PListC & PListOf(const ItTriC & it)
-
shortcut to obtaing the point list of a given triangle
- void LoadPtsAndMap(char * ptsfil,char * mapfile)
-
load up the point set and the map set, set weight to one
- void SavePtsAndMap(char * ptsfil,char * mapfile)
-
save the point set and the map; does a renumberfaces to make sure
this ignores the weight variable and saves all points
- void DoHistogram(int nbins = 20)
-
make a histogram of distances to tris
- void PrintDataStats(void)
-
some simple statistics on distance
- double GetMedian(SArray1dC<double> x)
-
use qsort to sort x and then extract median; check n+1/2 sometime...
this ignores the weights as it should
- void DataStats(double & rms,double & mad,double & avpts,BooleanT pr)
-
compute and print some stats
The rns takes account of the weights, but the
median and avpts ignore the weights
at present it recomputes the distances and does not reset them
- int RemoveOddBalls(void)
-
remove oddballs and preserve the points on them
- int DeleteFarPoints(double thresh,int print = 0)
-
set weight to zero for all points that lie further than thresh,
return no. of deletions
- double SumOfSqrDistances(ItTriC it)
-
sum of squared distances to all points on this face
ignores the weights???
- void RemovePoints(KListC<ItTriC> & ring)
-
remove all the points from the specified faces
- SArray1dC<Vector3dC> MakeCopyOfAllPoints(KListC<ItTriC> & ring)
-
makes a copy of all the points from the specified faces
- SArray1dC<Vector3dC> MakeCopyOfNonZeroWeightPoints(KListC<ItTriC> & ring)
-
makes a copy of the points that don't have zero weights associated
with them, from the specified faces
- void AddPoints(SArray1dC<Vector3dC> & points,KListC<ItTriC> & ring,double thresh = StdConstC::maxReal)
-
add specified points to the specified faces
distance computed and weight set to one or zero acc thresh
- void AddPoints(SArray1dC<Vector3dC> & points,ItTriC it)
-
add specified points to the specified face,
distance not computed, weight set to 1.0
- void GlobalReprojectOnNeighbours(double thresh)
-
test each point and move to its neighbouring face over an
edge if the neighbour is closer; NOT TESTED
weight set to 0/1 acc >/< thresh
|
Programmer:Andrew Stoddart, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|