#include <resampler.h>
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 |
Class Resampler. This is class resampling a mesh using marching cubes methods
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.