vcg::tri::Resampler< OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR > Class Template Reference
[Trimesh]

#include <resampler.h>

Inheritance diagram for vcg::tri::Resampler< OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR >:
Inheritance graph
[legend]

List of all members.

Classes

class  Walker

Public Types

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

Static Public Member Functions

static void Resample (Old_Mesh &old_mesh, New_Mesh &new_mesh, Box3f 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 NEW_MESH_TYPE New_Mesh
typedef OLD_MESH_TYPE Old_Mesh

Detailed Description

template<class OLD_MESH_TYPE, class NEW_MESH_TYPE, class FLT, class DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<typename OLD_MESH_TYPE::ScalarType >>
class vcg::tri::Resampler< OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR >

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

Parameters:
OLD_MESH_TYPE (Template Parameter) Specifies the type of mesh to be resampled
NEW_MESH_TYPE (Template Parameter) Specifies the type of output mesh.

Definition at line 49 of file resampler.h.


Member Typedef Documentation

template<class OLD_MESH_TYPE , class NEW_MESH_TYPE , class FLT , class DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<typename OLD_MESH_TYPE::ScalarType >>
typedef OLD_MESH_TYPE vcg::tri::Resampler< OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR >::Old_Mesh [private]

Definition at line 51 of file resampler.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:34 2013