Classes | Public Types | Static Public Member Functions | Private Types
vcg::tri::Resampler< OldMeshType, NewMeshType, DISTFUNCTOR > Class Template Reference

#include <resampler.h>

Inheritance diagram for vcg::tri::Resampler< OldMeshType, NewMeshType, DISTFUNCTOR >:
Inheritance graph
[legend]

List of all members.

Classes

class  Walker

Public Types

typedef
vcg::tri::MarchingCubes
< NewMeshType, MyWalker
MyMarchingCubes
typedef Walker MyWalker

Static Public Member Functions

static void Resample (OldMeshType &old_mesh, NewMeshType &new_mesh, NewBoxType volumeBox, vcg::Point3< int > accuracy, float max_dist, float thr=0, bool DiscretizeFlag=false, bool MultiSampleFlag=false, bool AbsDistFlag=false, vcg::CallBackPos *cb=0)
 resample the mesh using marching cube algorithm ,the accuracy is the dimension of one cell the parameter

Private Types

typedef NewMeshType::BoxType NewBoxType
typedef NewMeshType::CoordType NewCoordType
typedef NewMeshType::ScalarType NewScalarType
typedef NewMeshType::VertexIterator NewVertexIterator
typedef NewMeshType::VertexType * NewVertexPointer
typedef OldMeshType::CoordType OldCoordType
typedef OldMeshType::FaceContainer OldFaceCont
typedef OldMeshType::FaceType OldFaceType
typedef OldMeshType::ScalarType OldScalarType

Detailed Description

template<class OldMeshType, class NewMeshType, class DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<typename OldMeshType::ScalarType >>
class vcg::tri::Resampler< OldMeshType, NewMeshType, DISTFUNCTOR >

Class Resampler. This is class resampling a mesh using marching cubes methods

Parameters:
OldMeshType(Template Parameter) Specifies the type of mesh to be resampled
NewMeshType(Template Parameter) Specifies the type of output mesh. All the computations are done in the output mesh scalar type. (e.g. if you have a double mesh and you want to resample int to a float mesh the volume is kept in float)

Definition at line 52 of file resampler.h.


The documentation for this class was generated from the following file:


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