|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
ComFileC is a class which provides a file parser for multiview sets of 3D
points/meshes/range images.
Any option blocks that are not specified have defaults instantiated according
to the default constructors of the classes used to hold information about
that option block.
This is a very simple class, and so member access functions are seen as
unneccessary in this case. This means that public access has been allowed to
the data members which hold the information obtained from the file.
Variables:
- unsigned int No_Files;
-
Number of files specified in the .com file
- SArray1dC FilenamesList;
-
Holds the names of the files specified in the .com file
- SArray1dC RTList;
-
Holds the List of Rigid Transforms specified in the .com file.
If they were not specified in the file then the default constructor of
RigidTransC is used to initialise them.
- SArray1dC ViewpointsList;
-
Holds the List of View Points specified in the .com file.
If they were not specified in the file then the default constructor of
Vector3dC is used to initialise them.
Methods:
- ComFileC()
-
- ~ComFileC()
-
Destructor
- int ReadComFile(char * fname)
-
Reads in a .com file
- void UnexpectedEOF(char * fname,char * location)
-
Used by ReadComFile() to report unexpected EOF errors
- void FormatError(char * fname,char * location)
-
Used by ReadComFile() to report format errors
|
Programmer: Simon Cunnington , Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|