Public Member Functions | |
void | Begin () |
template<class EXTRACTOR_TYPE > | |
void | BuildMesh (Old_Mesh &old_mesh, New_Mesh &new_mesh, EXTRACTOR_TYPE &extractor, vcg::CallBackPos *cb) |
void | ComputeConsensus (int slice, field_value *slice_values) |
void | ComputeSliceValues (int slice, field_value *slice_values) |
field_value | DistanceFromMesh (Point3f &pp, Old_Mesh *) |
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, VertexPointer &v) |
int | GetSliceIndex (int x, int z) |
void | GetXIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointer &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, VertexPointer &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, VertexPointer &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 (Point3f &pp, Old_Mesh *) |
void | NextSlice () |
template<class EXTRACTOR_TYPE > | |
void | ProcessSlice (EXTRACTOR_TYPE &extractor) |
float | V (int x, int y, int z) |
float | V (const Point3i &p) |
std::pair< bool, float > | VV (int x, int y, int z) |
Walker (const Box3f &_bbox, Point3i _siz) | |
~Walker () | |
Public Attributes | |
bool | AbsDistFlag |
bool | DiscretizeFlag |
float | max_dim |
bool | MultiSampleFlag |
float | offset |
Protected Types | |
typedef std::pair< bool, float > | field_value |
typedef tri::FaceTmark< Old_Mesh > | MarkerFace |
Protected Attributes | |
GridType | _g |
New_Mesh * | _newM |
Old_Mesh * | _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 Old_Mesh::FaceContainer | FaceCont |
typedef vcg::GridStaticPtr < typename Old_Mesh::FaceType > | GridType |
typedef NEW_MESH_TYPE | New_Mesh |
typedef New_Mesh::CoordType | NewCoordType |
typedef OLD_MESH_TYPE | Old_Mesh |
typedef int | VertexIndex |
typedef New_Mesh::VertexType * | VertexPointer |
Definition at line 55 of file resampler.h.
typedef int vcg::tri::Resampler< OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR >::Walker::VertexIndex [private] |
Definition at line 58 of file resampler.h.