X3D libraries
The libraries to work with X3D dataset

x3dcvt.c++ File Reference


Classes

class  MyErr

Functions

int main (int argc, char *argv[])
void usage ()

Variables

int errcnt
char * progname
const char version [] = "1.0"

Detailed Description

This file include the code used to generate a tool which can read all the 3D formats that libx3d supports and save it back to any of the other formats.

Note that some formats may be loosy, meaning that you may lose some information (usually precision in the coordinates) when converting to these formats.

Note:
At time of writing the library only reads and writes XML and therefore this tool can be used to test that the library can actually read an XML file properly and save it back as it was in the original.
The command line is very simple: x3dcvt <input> <output>

The tool can also be used with stdin and stdout when no file name is specified. You can use a single dash (-) to use stdin as input:

        cat somefile | x3dcvt - anotherfile

or

        cat somefile | x3dcvt >anotherfile

You can use --help to get information about the available options.


Function Documentation

int main int  argc,
char *  argv[]
 

void usage  ) 
 


Variable Documentation

int errcnt
 

char* progname
 

const char version[] = "1.0"