ProgramOptions Struct Reference

#include <util.h>

List of all members.


Detailed Description

Structure to store command line options input by user.

Definition at line 70 of file util.h.

Public Member Functions

 ProgramOptions ()

Public Attributes

std::string file_in
 Input (OBJ or CON) file.
std::string edge_file
 Input file with edges to cut.
std::string vert_file
 Input file with list of cone singularities.
std::string conn_file_out
 Output file (CON format).
std::string obj_file_out
 Output file (OBJ format).
std::string vt_file_out
 Output file (VT format).
bool read_obj
 True if OBJ input file specified.
bool read_conn
 True if CON input file specified.
bool read_vert
 True if cone singularities are given.
bool read_edges
 True if cut edges are specified.
bool write_obj
 True if OBJ file needs to be written.
bool write_vt
 True if VT file needs to be written.
bool write_conn
 True if CON file needs to be written.
bool do_optim
 True when no optimization needs to be performed.


Constructor & Destructor Documentation

ProgramOptions::ProgramOptions  )  [inline]
 

Definition at line 114 of file util.h.

00114                    : file_in(""), edge_file(""), vert_file(""),
00115       conn_file_out(""), obj_file_out(""), vt_file_out(""),
00116       read_obj(false), read_conn(false), 
00117       read_vert(false), read_edges(false),
00118       write_obj(false), write_conn(false),
00119       write_vt(false), do_optim(true)
00120    {}


Member Data Documentation

std::string ProgramOptions::conn_file_out
 

Output file (CON format).

Definition at line 81 of file util.h.

bool ProgramOptions::do_optim
 

True when no optimization needs to be performed.

Can be useful when piecewise flat surface need to be cut.

Definition at line 112 of file util.h.

std::string ProgramOptions::edge_file
 

Input file with edges to cut.

Definition at line 75 of file util.h.

std::string ProgramOptions::file_in
 

Input (OBJ or CON) file.

Definition at line 72 of file util.h.

std::string ProgramOptions::obj_file_out
 

Output file (OBJ format).

Definition at line 84 of file util.h.

bool ProgramOptions::read_conn
 

True if CON input file specified.

Definition at line 93 of file util.h.

bool ProgramOptions::read_edges
 

True if cut edges are specified.

Definition at line 99 of file util.h.

bool ProgramOptions::read_obj
 

True if OBJ input file specified.

Definition at line 90 of file util.h.

bool ProgramOptions::read_vert
 

True if cone singularities are given.

Definition at line 96 of file util.h.

std::string ProgramOptions::vert_file
 

Input file with list of cone singularities.

Definition at line 78 of file util.h.

std::string ProgramOptions::vt_file_out
 

Output file (VT format).

Definition at line 87 of file util.h.

bool ProgramOptions::write_conn
 

True if CON file needs to be written.

Definition at line 108 of file util.h.

bool ProgramOptions::write_obj
 

True if OBJ file needs to be written.

Definition at line 102 of file util.h.

bool ProgramOptions::write_vt
 

True if VT file needs to be written.

Definition at line 105 of file util.h.


The documentation for this struct was generated from the following file:
Generated on Sat Jun 3 13:33:43 2006 for CirclePatterns by  doxygen 1.4.5