Classes | Defines | Functions | Variables
metro.cpp File Reference
#include <time.h>
#include <vcg/math/histogram.h>
#include <vcg/complex/complex.h>
#include <vcg/simplex/face/component_ep.h>
#include <wrap/io_trimesh/import.h>
#include <wrap/io_trimesh/export.h>
#include <vcg/complex/algorithms/update/component_ep.h>
#include <vcg/complex/algorithms/update/bounding.h>
#include "sampling.h"
Include dependency graph for metro.cpp:

Go to the source code of this file.

Classes

class  CFace
class  CMesh
class  CVertex
 compositing wanted proprieties More...
struct  UsedTypes

Defines

#define BBOX_FACTOR   0.1
#define INFLATE_PERCENTAGE   0.02
#define MIN_SIZE   125 /* 125 = 5^3 */
#define MSG_ERR_FILE_OPEN   "unable to open the output file.'n"
#define MSG_ERR_INVALID_OPTION   "unable to parse option '%s'\n"
#define MSG_ERR_MESH_LOAD   "error loading the input meshes.\n"
#define MSG_ERR_UNKNOWN_FORMAT   "unknown file format '%s'.\n"
#define N_HIST_BINS   256
#define N_SAMPLES_EDGE_TO_FACE_RATIO   0.1
#define NO_SAMPLES_PER_FACE   10
#define PRINT_EVERY_N_ELEMENTS   1000

Functions

int main (int argc, char **argv)
void OpenMesh (const char *filename, CMesh &m)
std::string SaveFileName (const std::string &filename)
void Usage ()

Variables

bool CleaningFlag = false
bool NumberOfSamples = false
bool SamplesPerAreaUnit = false

Define Documentation

#define BBOX_FACTOR   0.1

Definition at line 124 of file metro.cpp.

#define INFLATE_PERCENTAGE   0.02

Definition at line 125 of file metro.cpp.

#define MIN_SIZE   125 /* 125 = 5^3 */

Definition at line 126 of file metro.cpp.

#define MSG_ERR_FILE_OPEN   "unable to open the output file.'n"

Definition at line 118 of file metro.cpp.

#define MSG_ERR_INVALID_OPTION   "unable to parse option '%s'\n"

Definition at line 117 of file metro.cpp.

#define MSG_ERR_MESH_LOAD   "error loading the input meshes.\n"

Definition at line 116 of file metro.cpp.

#define MSG_ERR_UNKNOWN_FORMAT   "unknown file format '%s'.\n"

Definition at line 119 of file metro.cpp.

#define N_HIST_BINS   256

Definition at line 127 of file metro.cpp.

#define N_SAMPLES_EDGE_TO_FACE_RATIO   0.1

Definition at line 123 of file metro.cpp.

#define NO_SAMPLES_PER_FACE   10

Definition at line 122 of file metro.cpp.

#define PRINT_EVERY_N_ELEMENTS   1000

Definition at line 128 of file metro.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 208 of file metro.cpp.

void OpenMesh ( const char *  filename,
CMesh m 
)

Definition at line 192 of file metro.cpp.

std::string SaveFileName ( const std::string &  filename)

Definition at line 183 of file metro.cpp.

void Usage ( )

Definition at line 150 of file metro.cpp.


Variable Documentation

bool CleaningFlag = false

Definition at line 147 of file metro.cpp.

bool NumberOfSamples = false

Definition at line 145 of file metro.cpp.

bool SamplesPerAreaUnit = false

Definition at line 146 of file metro.cpp.



shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:38:51