Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::IndexLineSetHandler Class Reference

This class parses a VRML file containing an indexed line set and stores the containing lines. More...

#include <Utils/IndexLineSetHandler.hh>

Public Member Functions

 IndexLineSetHandler ()
 
std::vector< std::vector
< BIAS::HomgPoint3D > > 
Parse (std::string fileName, int &dNumberOfLines)
 Parse a IndexLineSet and return lines in it. More...
 
int Write (std::string fileName, std::vector< std::vector< BIAS::HomgPoint3D > > fLines)
 Write a set of lines to disk as a IndexedLineSet. More...
 
 ~IndexLineSetHandler ()
 

Detailed Description

This class parses a VRML file containing an indexed line set and stores the containing lines.

Author
Ingo Schiller
Date
05/2007

Definition at line 43 of file IndexLineSetHandler.hh.

Constructor & Destructor Documentation

IndexLineSetHandler::IndexLineSetHandler ( )

Definition at line 32 of file IndexLineSetHandler.cpp.

IndexLineSetHandler::~IndexLineSetHandler ( )

Definition at line 37 of file IndexLineSetHandler.cpp.

Member Function Documentation

std::vector< std::vector< BIAS::HomgPoint3D > > IndexLineSetHandler::Parse ( std::string  fileName,
int &  dNumberOfLines 
)

Parse a IndexLineSet and return lines in it.

Returns
vector of vector<BIAS::HomgPoint3D> with format: [0]------—[1]-— ..... | | startpos . stoppos

Filename of wrlFile with IndexLineSet here number of found lines is returned

Author
ischiller
Date
03/06

Definition at line 56 of file IndexLineSetHandler.cpp.

int IndexLineSetHandler::Write ( std::string  fileName,
std::vector< std::vector< BIAS::HomgPoint3D > >  fLines 
)

Write a set of lines to disk as a IndexedLineSet.

Definition at line 190 of file IndexLineSetHandler.cpp.


The documentation for this class was generated from the following files: