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

  PUBLIC
GfSetC::GfSetC(void)
GfSetC::GfSetC(StringC,const StringListC &,StringC,const StringListC &)
GfSetC::GfSetC(const GfSetC &)
GfSetC::GfSetC(istream &)
GfSetC::~GfSetC(void)
GfSetC::Good(void) const
GfSetC::GeomStruct(void) const
GfSetC::GeomStruct(void)
GfSetC::Data(void) const
GfSetC::Data(void)
GfSetC::Id(void) const
GfSetC::Id(void)
GfSetC::Format(void) const
GfSetC::Format(void)
GfSetC::operator=(const GfSetC &)
GfSetC::operator==(const GfSetC &)
GfSetC::operator!=(const GfSetC &)
GfSetC::Read(istream &)
GfSetC::SaveAs(ostream &)
GfSetC
 
Geometric feature set - can be points, line segments, point sets etc.
 
include "amma/PGgf.hh"
User Level:Default
Library:Mgf
Example:exGF.cc
Section:Geometry.Geom Features
In Scope:std

Comments:
A GfSetC set can contain elements that are one type of these geometric features: point, line segment, directed line segment, point set, polyline (i.e. open or closed polygon).
When written to a file, the contents of the file can be viewed using the xgf (for 2D) of xmgf (for 3D) utilitites.
The documentation for the file format is awaited.

Variables:
Methods:
GfSetC()
Default constructor.

GfSetC(StringC id,const StringListC & geomStruct,StringC format,const StringListC & data)
Constructor.

GfSetC(const GfSetC & set)
Copy constructor.

GfSetC(istream & from)

~GfSetC()
Destructor.

BooleanT Good() const
Is set valid ?

const StringListC & GeomStruct() const
constant access to the 'geomstruct' item

StringListC & GeomStruct()
access to the 'geomstruct' item

const StringListC & Data() const
Constant access to data contained in set.
Returns a list of lines from the gf file, if input is valid then data should be in format specified in the 'Format' string.

StringListC & Data()
Access to data contained in set.
Returns a list of lines from the gf file, if input is valid then data should be in format specified in the 'Format' string.

const StringC Id() const
constant access to the 'id' item

StringC & Id()
access to the 'id' item

const StringC Format() const
constant access to the format definition

StringC & Format()
access to the format definition

GfSetC & operator=(const GfSetC & set)
Assignment operator.

BooleanT operator==(const GfSetC & set)
Comparison operator.

BooleanT operator!=(const GfSetC & set)
Not equal.

BooleanT Read(istream & from)
Read from a stream.

void SaveAs(ostream & outF)
Save to a stream.


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001