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

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

List of all members.

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_MeshMarkerFace

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

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 >::Walker

Definition at line 55 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 int vcg::tri::Resampler< OLD_MESH_TYPE, NEW_MESH_TYPE, FLT, DISTFUNCTOR >::Walker::VertexIndex [private]

Definition at line 58 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