Functions
contrib/brl/bbas/bgui3d/bgui3d_file_io.h File Reference

Read and write scene graphs as IV or VRML files. More...

#include <vcl_string.h>
#include <vcl_iostream.h>

Go to the source code of this file.

Functions

void bgui3d_export_iv (SoNode *scene_root, const vcl_string &filename)
 Export the scene as IV.
void bgui3d_export_vrml (SoNode *scene_root, const vcl_string &filename)
 Export the scene as VRML.
void bgui3d_export_vrml2 (SoNode *scene_root, const vcl_string &filename)
 Export the scene as VRML 2.0.
SoNode * bgui3d_import_file (const vcl_string &filename, vcl_ostream &os=vcl_cout)
 Read a file and parse into a scenegraph.

Detailed Description

Read and write scene graphs as IV or VRML files.

Author:
Matt Leotta, (mleotta@lems.brown.edu)
Date:
May 27, 2004
    Modifications
     <none yet>
   

Definition in file bgui3d_file_io.h.


Function Documentation

void bgui3d_export_iv ( SoNode *  scene_root,
const vcl_string &  filename 
)

Export the scene as IV.

Definition at line 20 of file bgui3d_file_io.cxx.

void bgui3d_export_vrml ( SoNode *  scene_root,
const vcl_string &  filename 
)

Export the scene as VRML.

Definition at line 34 of file bgui3d_file_io.cxx.

void bgui3d_export_vrml2 ( SoNode *  scene_root,
const vcl_string &  filename 
)

Export the scene as VRML 2.0.

Definition at line 55 of file bgui3d_file_io.cxx.

SoNode* bgui3d_import_file ( const vcl_string &  filename,
vcl_ostream &  os = vcl_cout 
)

Read a file and parse into a scenegraph.

Returns:
the root node of the scenegraph or NULL on failure
Note:
currently handles IV, VRML, and VRML2 files

Definition at line 74 of file bgui3d_file_io.cxx.