#include <Inventor/SoDB.h>#include <Inventor/SoPrimitiveVertex.h>#include <Inventor/actions/SoCallbackAction.h>#include <Inventor/actions/SoWriteAction.h>#include <Inventor/details/SoDetail.h>#include <Inventor/nodes/SoDirectionalLight.h>#include <Inventor/nodes/SoIndexedFaceSet.h>#include <Inventor/nodes/SoIndexedTriangleStripSet.h>#include <Inventor/nodes/SoMaterial.h>#include <Inventor/nodes/SoPerspectiveCamera.h>#include <Inventor/nodes/SoSeparator.h>#include <Inventor/nodes/SoSphere.h>#include <stdlib.h>#include "std/support.H"#include "std/stop_watch.H"#include "mesh/bmesh.H"#include "mesh/patch.H"#include "dev/dev.H"#include "dev/devpoll.H"#include "mesh/gtexture.H"#include <iostream.h>Include dependency graph for iv2sm.C:

Go to the source code of this file.
Classes | |
| class | Triangle |
Defines | |
| #define | ROOM_STANDALONE |
Functions | |
| Wpt | RET_Wpt (CBOOTHpt &p) |
| Wvec | RET_Wvec (CBOOTHvec &v) |
| BOOTHpt | RET_BOOTHpt (CWpt &p) |
| BOOTHvec | RET_BOOTHvec (CWvec &v) |
| void | outputMesh (ostream &os) |
| ostream & | operator<< (ostream &os, const Triangle &tri) |
| void | initialize_mesh () |
| void | scenegraph_to_tris (SoNode *) |
| SoCallbackAction::Response | shapeCallback (void *, SoCallbackAction *, const SoNode *) |
| SoCallbackAction::Response | materialCallback (void *, SoCallbackAction *, const SoNode *) |
| void | printTriangleCallback (void *, SoCallbackAction *, const SoPrimitiveVertex *, const SoPrimitiveVertex *, const SoPrimitiveVertex *) |
| int | printVertex (const SoPrimitiveVertex *, const SbMatrix &mat) |
| void | add_state_coords (SoCallbackAction *cb) |
| void | add_field_coords (SoCallbackAction *cb, const SoMFVec3f &coords) |
| void | indexed_face_set (SoIndexedFaceSet *fs, SoCallbackAction *cb) |
| void | ind_tri_strip (SoIndexedTriangleStripSet *tristrip, SoCallbackAction *cb) |
| void | usage (char *arg) |
| int | main (int argc, char **argv) |
Variables | |
| Wpt(* | BOOTHpttoWpt )(CBOOTHpt &) = RET_Wpt |
| Wvec(* | BOOTHvectoWvec )(CBOOTHvec &) = RET_Wvec |
| BOOTHpt(* | WpttoBOOTHpt )(CWpt &) = RET_BOOTHpt |
| BOOTHvec(* | WvectoBOOTHvec )(CWvec &) = RET_BOOTHvec |
| int | correct = 0 |
| int | separate_files = 0 |
| int | obj_num = 0 |
| ARRAY< SbVec3f > | points (1024) |
| ARRAY< Triangle > | tris (1024) |
| ARRAY< SbVec2f > | texcoords (1024) |
| SbVec3f | objColor |
| int | badtris = 0 |
| int | reppts = 0 |
| int | duptris = 0 |
| ostream * | output_stream = 0 |
|
|
|
|
||||||||||||
|
Definition at line 210 of file iv2sm.C. References points. Referenced by ind_tri_strip(). |
|
|
Definition at line 170 of file iv2sm.C. References points, and texcoords. Referenced by ind_tri_strip(), and indexed_face_set(). |
|
||||||||||||
|
Definition at line 250 of file iv2sm.C. References add_field_coords(), add_state_coords(), and tris. Referenced by shapeCallback(). |
|
||||||||||||
|
Definition at line 232 of file iv2sm.C. References add_state_coords(), and tris. Referenced by shapeCallback(). |
|
|
Definition at line 115 of file iv2sm.C. References badtris, duptris, points, reppts, texcoords, and tris. Referenced by shapeCallback(). |
|
||||||||||||
|
Definition at line 525 of file iv2sm.C. References brcase, correct, output_stream, outputMesh(), stop_watch::print_time(), scenegraph_to_tris(), separate_files, and stop_watch::set(). |
|
||||||||||||||||
|
Definition at line 295 of file iv2sm.C. References objColor, and separate_files. Referenced by scenegraph_to_tris(). |
|
||||||||||||
|
Definition at line 95 of file iv2sm.C. Referenced by REF_CLASS(). |
|
|
Definition at line 463 of file iv2sm.C. References Bvert::index(), nfaces, points, Bface::set_tex_coords(), texcoords, BMESH::TOPOLOGY_CHANGED, tris, and Bface::v(). Referenced by main(), and shapeCallback(). |
|
||||||||||||||||||||||||
|
Definition at line 391 of file iv2sm.C. References badtris, printVertex(), and tris. Referenced by scenegraph_to_tris(). |
|
||||||||||||
|
Definition at line 425 of file iv2sm.C. References points. Referenced by printTriangleCallback(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 143 of file iv2sm.C. References materialCallback(), printTriangleCallback(), and shapeCallback(). Referenced by main(). |
|
||||||||||||||||
|
Definition at line 329 of file iv2sm.C. References ind_tri_strip(), indexed_face_set(), initialize_mesh(), obj_num, output_stream, outputMesh(), separate_files, and tris. Referenced by scenegraph_to_tris(). |
|
|
|
|
|
Definition at line 109 of file iv2sm.C. Referenced by initialize_mesh(), and printTriangleCallback(). |
|
|
|
|
|
|
|
|
Definition at line 73 of file iv2sm.C. Referenced by main(). |
|
|
Definition at line 111 of file iv2sm.C. Referenced by initialize_mesh(). |
|
|
Definition at line 75 of file iv2sm.C. Referenced by shapeCallback(). |
|
|
Definition at line 107 of file iv2sm.C. Referenced by materialCallback(). |
|
|
Definition at line 112 of file iv2sm.C. Referenced by main(), and shapeCallback(). |
|
|
Definition at line 6147 of file glew.H. Referenced by add_field_coords(), add_state_coords(), initialize_mesh(), outputMesh(), printVertex(), BMESH::recenter(), and BMESH::z_span(). |
|
|
Definition at line 110 of file iv2sm.C. Referenced by initialize_mesh(). |
|
|
Definition at line 74 of file iv2sm.C. Referenced by main(), materialCallback(), and shapeCallback(). |
|
|
Referenced by add_state_coords(), initialize_mesh(), and outputMesh(). |
|
|
|
|
|
|
|
1.4.4