Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

sm2iv.C File Reference

#include "mi.H"
#include "patch.H"
#include "stripcb.H"

Include dependency graph for sm2iv.C:

Go to the source code of this file.

Classes

class  Formatter
class  IVNormalIterator
class  IVTriStripIterator

Functions

Cstr_ptr comma (", ")
void write_verts (const BMESH &mesh, ostream &os)
void init_strips (const BMESH &mesh)
void write_normals (const BMESH &mesh, ostream &os)
void write_strips (const BMESH &mesh, ostream &os)
void write_mesh (const BMESH &mesh, ostream &os)
int main (int argc, char *argv[])

Variables

char header []


Function Documentation

Cstr_ptr comma ,
 

Referenced by IVTriStripIterator::begin_faces(), IVTriStripIterator::end_faces(), IVTriStripIterator::faceCB(), and IVNormalIterator::faceCB().

void init_strips const BMESH mesh  ) 
 

Definition at line 40 of file sm2iv.C.

References ARRAY< T >::num(), and BMESH::patches().

Referenced by write_mesh().

int main int  argc,
char *  argv[]
 

Definition at line 161 of file sm2iv.C.

References err_msg(), BMESH::read_jot_stream(), and write_mesh().

void write_mesh const BMESH mesh,
ostream &  os
 

Definition at line 144 of file sm2iv.C.

References header, init_strips(), write_normals(), write_strips(), and write_verts().

Referenced by main().

void write_normals const BMESH mesh,
ostream &  os
 

Definition at line 87 of file sm2iv.C.

References Patch::draw_tri_strips(), ARRAY< T >::num(), BMESH::patches(), and Formatter::write().

Referenced by write_mesh().

void write_strips const BMESH mesh,
ostream &  os
 

Definition at line 124 of file sm2iv.C.

References Patch::draw_tri_strips(), ARRAY< T >::num(), Patch::num_tri_strips(), BMESH::patches(), IVTriStripIterator::set_left(), and Formatter::write().

Referenced by write_mesh().

void write_verts const BMESH mesh,
ostream &  os
 

Definition at line 23 of file sm2iv.C.

References BMESH::bv(), Bvert::loc(), and BMESH::nverts().

Referenced by main(), and write_mesh().


Variable Documentation

char header[]
 

Initial value:

"#Inventor V2.1 ascii\n"
"\n"
"Separator {\n"
"    ShapeHints {\n"
"       vertexOrdering  COUNTERCLOCKWISE\n"
"       faceType        CONVEX\n"
"    }\n"
"    IndexedTriangleStripSet {\n"
"       vertexProperty         VertexProperty {\n"
"\n"

Definition at line 8 of file sm2iv.C.

Referenced by DISTRIB::load_stream(), and write_mesh().


Generated on Mon Sep 18 11:43:14 2006 for jot by  doxygen 1.4.4