Public Member Functions | |
void | Begin () |
template<class EXTRACTOR_TYPE > | |
void | BuildMesh (OldMeshType &old_mesh, NewMeshType &new_mesh, EXTRACTOR_TYPE &extractor, vcg::CallBackPos *cb) |
void | ComputeConsensus (int, field_value *slice_values) |
void | ComputeSliceValues (int slice, field_value *slice_values) |
field_value | DistanceFromMesh (OldCoordType &pp) |
return true if the distance form the mesh is less than maxdim and return distance | |
bool | Exist (const vcg::Point3i &p1, const vcg::Point3i &p2, NewVertexPointer &v) |
int | GetSliceIndex (int x, int z) |
void | GetXIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, NewVertexPointer &v) |
if there is a vertex in z axis of a cell return the vertex or create it | |
void | GetYIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, NewVertexPointer &v) |
if there is a vertex in y axis of a cell return the vertex or create it | |
void | GetZIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, NewVertexPointer &v) |
if there is a vertex in z axis of a cell return the vertex or create it | |
NewCoordType | Interpolate (const vcg::Point3i &p1, const vcg::Point3i &p2, int dir) |
interpolate | |
field_value | MultiDistanceFromMesh (OldCoordType &pp) |
void | NextSlice () |
template<class EXTRACTOR_TYPE > | |
void | ProcessSlice (EXTRACTOR_TYPE &extractor) |
NewScalarType | V (const Point3i &p) |
NewScalarType | V (int x, int y, int z) |
std::pair< bool, NewScalarType > | VV (int x, int y, int z) |
Walker (const Box3< NewScalarType > &_bbox, Point3i _siz) | |
~Walker () | |
Public Attributes | |
bool | AbsDistFlag |
bool | DiscretizeFlag |
NewScalarType | max_dim |
bool | MultiSampleFlag |
NewScalarType | offset |
Protected Types | |
typedef std::pair< bool, float > | field_value |
typedef tri::FaceTmark < OldMeshType > | MarkerFace |
Protected Attributes | |
GridType | _g |
NewMeshType * | _newM |
OldMeshType * | _oldM |
field_value * | _v_cs |
field_value * | _v_ns |
VertexIndex * | _x_cs |
VertexIndex * | _x_ns |
VertexIndex * | _y_cs |
VertexIndex * | _z_cs |
VertexIndex * | _z_ns |
int | CurrentSlice |
MarkerFace | markerFunctor |
int | SliceSize |
Private Types | |
typedef vcg::GridStaticPtr < OldFaceType, OldScalarType > | GridType |
typedef int | VertexIndex |
Definition at line 64 of file resampler.h.