Classes | Typedefs | Functions
polygonmesh_quadsimpl.cpp File Reference
#include <vector>
#include <string>
#include <sstream>
#include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/face/base.h>
#include <vcg/connectors/hedge.h>
#include <vcg/complex/complex.h>
#include <vcg/complex/algorithms/update/topology.h>
#include <vcg/complex/algorithms/update/bounding.h>
#include <vcg/complex/algorithms/update/normal.h>
#include <vcg/complex/algorithms/clean.h>
#include <wrap/io_trimesh/import.h>
#include <wrap/io_trimesh/export_off.h>
#include <vcg/complex/algorithms/polygon_support.h>
#include <vcg/simplex/face/component_polygon.h>
#include <vcg/complex/algorithms/update/halfedge_indexed.h>
#include <vcg/complex/algorithms/local_optimization/quad_diag_collapse.h>
#include <vcg/complex/algorithms/update/edges.h>
#include <vcg/simplex/face/component_rt.h>
#include <vcg/complex/algorithms/update/fitmaps.h>
Include dependency graph for polygonmesh_quadsimpl.cpp:

Go to the source code of this file.

Classes

class  CEdge
class  CFace
class  CHEdge
class  CMesh
class  CUsedTypes
class  CVertex
 compositing wanted proprieties More...
class  MyCollapse
 Collapse for uniform simplification. More...
class  MyCollapseAdaptive
 Collapse operation for adaptive simplification using fitmaps. More...
class  MyPolyFace
class  MyPolyMesh
class  MyPolyVertex
struct  PolyUsedTypes

Typedefs

typedef
CMesh::PerVertexAttributeHandle
< float > 
Fitmap_attr
typedef vcg::GridStaticPtr
< CMesh::FaceType,
TriFaceType::ScalarType
GRID
typedef CMesh::FaceType TriFaceType

Functions

void init_heap (MyPolyMesh &m, vcg::LocalOptimization< MyPolyMesh > &loc, bool adaptive)
void initGrid (CMesh &m)
void load_fitmaps (CMesh &m, char *fn)
void loadMesh (CMesh &m, char *fn, bool loadFitmaps=false)
int main (int argc, char *argv[])
bool read_fitmaps (CMesh &m, const char *fn)
bool store_fitmaps (CMesh &m, const char *fn)

Typedef Documentation

typedef CMesh::PerVertexAttributeHandle<float> Fitmap_attr

Definition at line 196 of file polygonmesh_quadsimpl.cpp.

Definition at line 194 of file polygonmesh_quadsimpl.cpp.

Definition at line 193 of file polygonmesh_quadsimpl.cpp.


Function Documentation

void init_heap ( MyPolyMesh m,
vcg::LocalOptimization< MyPolyMesh > &  loc,
bool  adaptive 
)

Initializes the heap of operations on a mesh

Parameters:
mMesh
loc
AdaptiveSpecifies if simplificaton will be adaptive

Definition at line 226 of file polygonmesh_quadsimpl.cpp.

void initGrid ( CMesh m)

Initializes the grid for smoothing and fitmaps

Parameters:
mReference mesh

Definition at line 203 of file polygonmesh_quadsimpl.cpp.

void load_fitmaps ( CMesh m,
char *  fn 
)

Load fitmaps for a mesh, computing them or reading values from a file

Parameters:
mMesh
fnName of the mesh file

Definition at line 315 of file polygonmesh_quadsimpl.cpp.

void loadMesh ( CMesh m,
char *  fn,
bool  loadFitmaps = false 
)

Load a mesh, from a file

Parameters:
mMesh that will be filled with data from a file
fnName of the mesh file
loadFitmapsSpecifies if fitmaps have to be loaded

Definition at line 353 of file polygonmesh_quadsimpl.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 389 of file polygonmesh_quadsimpl.cpp.

bool read_fitmaps ( CMesh m,
const char *  fn 
)

Read fitmaps values from a file and loads them into a mesh

Parameters:
mMesh
fnName of the file to read

Definition at line 245 of file polygonmesh_quadsimpl.cpp.

bool store_fitmaps ( CMesh m,
const char *  fn 
)

Writes fitmaps values into a file

Parameters:
mMesh
fnName of the file to write

Definition at line 280 of file polygonmesh_quadsimpl.cpp.



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