#include "mesh/lmesh.H"
#include "std/config.H"
#include "ply.H"
Include dependency graph for ply2sm.C:
Go to the source code of this file.
Classes | |
struct | Vertex |
struct | Face |
Typedefs | |
typedef Vertex | Vertex |
typedef Face | Face |
Functions | |
void | usage (char *progname) |
void | read_file () |
void | add_face (LMESHptr &mesh, Face *f) |
void | write_sm () |
int | main (int argc, char *argv[]) |
Variables | |
static bool | debug = Config::get_var_bool("DEBUG_PLY2SM",false,true) |
char * | elem_names [] |
PlyProperty | vert_props [] |
PlyProperty | face_props [] |
static int | nverts = 0 |
static int | nfaces = 0 |
static Vertex ** | vlist = 0 |
static Face ** | flist = 0 |
static PlyOtherProp * | vert_other = 0 |
static PlyOtherProp * | face_other = 0 |
static int | per_vertex_color = 0 |
static int | has_normals = 0 |
|
|
|
|
|
Definition at line 190 of file ply2sm.C. References err_msg(), Face::nverts, and Face::verts. Referenced by add_faces(), add_quad_partners(), and write_sm(). |
|
Definition at line 286 of file ply2sm.C. References debug, err_adv(), read_file(), and write_sm(). |
|
Definition at line 94 of file ply2sm.C. References Vertex::b, close_ply(), debug, PlyFile::elems, equal_strings(), err_adv(), face_other, free_ply(), Vertex::g, get_element_ply(), get_other_element_ply(), get_other_properties_ply(), has_normals, j, PlyProperty::name, nfaces, nverts, per_vertex_color, PlyElement::props, Vertex::r, read_ply(), setup_element_read_ply(), and setup_property_ply(). Referenced by main(). |
|
Definition at line 84 of file ply2sm.C. References err_msg(). |
|
Definition at line 210 of file ply2sm.C. References add_face(), debug, err_adv(), err_msg(), Config::get_var_bool(), nfaces, nverts, and per_vertex_color. Referenced by main(). |
|
|
|
Initial value: { "vertex", "face" } Definition at line 46 of file ply2sm.C. Referenced by read_ply(). |
|
Definition at line 74 of file ply2sm.C. Referenced by read_file(). |
|
Initial value: |
|
|
|
Definition at line 77 of file ply2sm.C. Referenced by read_file(). |
|
Definition at line 70 of file ply2sm.C. Referenced by avg_bface_pix_area(), Bedge_list::nfaces_is_equal(), outputMesh(), read_file(), Patch::read_stream(), Patch::recompute(), ZCrossExtractor< ScalarField, Confidence, FaceGenerator >::walk_line(), and write_sm(). |
|
Definition at line 70 of file ply2sm.C. Referenced by limit_locs(), qinv_locs(), read_file(), set_locs(), and write_sm(). |
|
Definition at line 76 of file ply2sm.C. Referenced by read_file(), and write_sm(). |
|
|
|
Initial value: { {"x", Float32, Float32, offsetof(Vertex,x), 0, 0, 0, 0}, {"y", Float32, Float32, offsetof(Vertex,y), 0, 0, 0, 0}, {"z", Float32, Float32, offsetof(Vertex,z), 0, 0, 0, 0}, {"r", Float32, Float32, offsetof(Vertex,r), 0, 0, 0, 0}, {"g", Float32, Float32, offsetof(Vertex,g), 0, 0, 0, 0}, {"b", Float32, Float32, offsetof(Vertex,b), 0, 0, 0, 0}, {"nx", Float32, Float32, offsetof(Vertex,nx), 0, 0, 0, 0}, {"ny", Float32, Float32, offsetof(Vertex,ny), 0, 0, 0, 0}, {"nz", Float32, Float32, offsetof(Vertex,nz), 0, 0, 0, 0}, } |
|
|