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

  PUBLIC
SurfaceBoundC::SurfaceBoundC(SurfaceC &)
SurfaceBoundC::SurfaceBoundC(const SurfaceC &)
SurfaceBoundC::SurfaceBoundC(const SurfaceBoundC &)
SurfaceBoundC::operator=(const SurfaceBoundC &)
SurfaceBoundC::~SurfaceBoundC(void)
SurfaceBoundC::Num(void)
SurfaceBoundC::Bound(void)
SurfaceBoundC::Vec(int &)
SurfaceBoundC::VectorSet(void)
SurfaceBoundC::Print(void)
SurfaceBoundC::Delete(void)
SurfaceBoundC::Copy(const SurfaceBoundC &)
SurfaceBoundC::UpdateVec(void)
SurfaceBoundC::Update(void)
RefCounterC::ToBeDeleted(void) const
RefCounterC::Count(void) const
RefCounterC::IsSingleReference(void)
RefCounterC::operator=(const RefCounterC &)
RefCounterC::ToBeDeletedUpdate(const RefCounterC &)
RefCounterC::ReportInvalidObject(char *)
RefCounterBaseC::Label(void) const
SurfaceBoundC
 
include "amma/SurfBoun.hh"
User Level:Default
Library:surf
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
SURFACE BOUNDARY CLASS ------------------------------------------------------- Name : BoundC.hh Library : surfC Description: Polygonal Elements of 3d Surface Graph Dependancies: Graph, (DList), Vector3d , PolopsC C++ libraries Modified : 2.95 AH Created : 24.1.95 Author : Adrian Hilton ------------------------------------------------------- #include "SurfaceC.hh" -------------------------------------------------------------- SURFACE BOUNDARY CLASS

Parent Classes: Variables:
SurfaceC & surface;
pointer to surface

DListC bound;
LL of bounary nodes

int nbound;
number of nodes

int update_bound;
status of current bound

int update_vec;
status of internal vector lookup

VectorSetC vset_bound;
Vector set of boundary node positions

Methods:
SurfaceBoundC(SurfaceC & s)
constructor

SurfaceBoundC(const SurfaceC & s)
constructor

SurfaceBoundC(const SurfaceBoundC & e)
copy constructor

const SurfaceBoundC & operator=(const SurfaceBoundC & e)

~SurfaceBoundC()
destructor

int Num()
number of points on bondary

DListC<SurfaceNodeC> & Bound()
list of nodes on boundary

Vector3dC Vec(int & i)
position vector of ith bound node

VectorSetC & VectorSet()
Boundary node position vectors

void Print()

void Delete()
delete contents

void Copy(const SurfaceBoundC & elem)
copy contents as big object

void UpdateVec()
Generate Lookup table

void Update()
dependent on element type

#include "amma/RefCount.hh"
BooleanT ToBeDeleted() const
Returns TRUE if the content should be deleted.

RCCountT Count() const
Returns the number of refrences to this object. NB. The following definition is now obsolete, The value 0 means there is no other reference to this object.

BooleanT IsSingleReference()
Tests is there is only one reference to this object.

const RefCounterC & operator=(const RefCounterC & rC)

BooleanT ToBeDeletedUpdate(const RefCounterC & rC)
This function is the condition and the assigment together. It returns TRUE if the content should be deleted before assigning of the new object. The function automatically solves the reference counter of this object as well as the other object reference counter 'rC'.

void ReportInvalidObject(char * Msg = 0)
This function reports an error to the user if a problem is detected in the refrence counting mechanism.

#include "amma/RefCBase.hh"
LabelT Label() const
Returns the label of this reference counter.
The member function is useful mainly to recognize objects during debugging. The value of the label is uniquely defined pointer.


Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001