1 #include <Utils/IndexLineSetHandler.hh>
5 int main(
int argc,
char **argv)
8 std::vector<std::vector<BIAS::HomgPoint3D> > zDetectedLines;
12 zDetectedLines = handler.
Parse(argv[1],dNumberOfLines);
14 cout<<
"Number of lines parsed in IndexLineSet: "<<dNumberOfLines<<endl;
16 handler.
Write(
"lines_test.wrl",zDetectedLines);
int Write(std::string fileName, std::vector< std::vector< BIAS::HomgPoint3D > > fLines)
Write a set of lines to disk as a IndexedLineSet.
This class parses a VRML file containing an indexed line set and stores the containing lines...
std::vector< std::vector< BIAS::HomgPoint3D > > Parse(std::string fileName, int &dNumberOfLines)
Parse a IndexLineSet and return lines in it.