#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"
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 BBOX_FACTOR 0.1 |
#define INFLATE_PERCENTAGE 0.02 |
#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 |
std::string SaveFileName | ( | const std::string & | filename | ) |
bool CleaningFlag = false |
bool NumberOfSamples = false |
bool SamplesPerAreaUnit = false |