#include <mc_trivial_walker.h>
Public Member Functions | |
template<class EXTRACTOR_TYPE > | |
void | BuildMesh (MeshType &mesh, VolumeType &volume, EXTRACTOR_TYPE &extractor, const float threshold, vcg::CallBackPos *cb=0) |
bool | Exist (const vcg::Point3i &p0, const vcg::Point3i &p1, VertexPointer &v) |
void | GetXIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointer &v) |
void | GetYIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointer &v) |
void | GetZIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointer &v) |
void | Init (VolumeType &volume) |
float | V (int pi, int pj, int pk) |
~TrivialWalker () | |
Protected Member Functions | |
void | Begin () |
void | NextSlice () |
Protected Attributes | |
Box3i | _bbox |
int | _current_slice |
MeshType * | _mesh |
int | _slice_dimension |
float | _thr |
VolumeType * | _volume |
VertexIndex * | _x_cs |
VertexIndex * | _x_ns |
VertexIndex * | _y_cs |
VertexIndex * | _z_cs |
VertexIndex * | _z_ns |
Private Types | |
typedef MeshType::ScalarType | ScalarType |
typedef int | VertexIndex |
typedef MeshType::VertexPointer | VertexPointer |
Definition at line 137 of file mc_trivial_walker.h.
typedef MeshType::ScalarType vcg::tri::TrivialWalker< MeshType, VolumeType >::ScalarType [private] |
Definition at line 141 of file mc_trivial_walker.h.
typedef int vcg::tri::TrivialWalker< MeshType, VolumeType >::VertexIndex [private] |
Definition at line 140 of file mc_trivial_walker.h.
typedef MeshType::VertexPointer vcg::tri::TrivialWalker< MeshType, VolumeType >::VertexPointer [private] |
Definition at line 142 of file mc_trivial_walker.h.
vcg::tri::TrivialWalker< MeshType, VolumeType >::~TrivialWalker | ( | ) | [inline] |
Definition at line 163 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::Begin | ( | ) | [inline, protected] |
Definition at line 332 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::BuildMesh | ( | MeshType & | mesh, | |
VolumeType & | volume, | |||
EXTRACTOR_TYPE & | extractor, | |||
const float | threshold, | |||
vcg::CallBackPos * | cb = 0 | |||
) | [inline] |
Definition at line 167 of file mc_trivial_walker.h.
bool vcg::tri::TrivialWalker< MeshType, VolumeType >::Exist | ( | const vcg::Point3i & | p0, | |
const vcg::Point3i & | p1, | |||
VertexPointer & | v | |||
) | [inline] |
Definition at line 204 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::GetXIntercept | ( | const vcg::Point3i & | p1, | |
const vcg::Point3i & | p2, | |||
VertexPointer & | v | |||
) | [inline] |
Definition at line 222 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::GetYIntercept | ( | const vcg::Point3i & | p1, | |
const vcg::Point3i & | p2, | |||
VertexPointer & | v | |||
) | [inline] |
Definition at line 255 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::GetZIntercept | ( | const vcg::Point3i & | p1, | |
const vcg::Point3i & | p2, | |||
VertexPointer & | v | |||
) | [inline] |
Definition at line 271 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::Init | ( | VolumeType & | volume | ) | [inline] |
Definition at line 150 of file mc_trivial_walker.h.
void vcg::tri::TrivialWalker< MeshType, VolumeType >::NextSlice | ( | ) | [inline, protected] |
Definition at line 320 of file mc_trivial_walker.h.
float vcg::tri::TrivialWalker< MeshType, VolumeType >::V | ( | int | pi, | |
int | pj, | |||
int | pk | |||
) | [inline] |
Definition at line 199 of file mc_trivial_walker.h.
Box3i vcg::tri::TrivialWalker< MeshType, VolumeType >::_bbox [protected] |
Definition at line 305 of file mc_trivial_walker.h.
int vcg::tri::TrivialWalker< MeshType, VolumeType >::_current_slice [protected] |
Definition at line 308 of file mc_trivial_walker.h.
MeshType* vcg::tri::TrivialWalker< MeshType, VolumeType >::_mesh [protected] |
Definition at line 316 of file mc_trivial_walker.h.
int vcg::tri::TrivialWalker< MeshType, VolumeType >::_slice_dimension [protected] |
Definition at line 307 of file mc_trivial_walker.h.
float vcg::tri::TrivialWalker< MeshType, VolumeType >::_thr [protected] |
Definition at line 319 of file mc_trivial_walker.h.
VolumeType* vcg::tri::TrivialWalker< MeshType, VolumeType >::_volume [protected] |
Definition at line 317 of file mc_trivial_walker.h.
VertexIndex* vcg::tri::TrivialWalker< MeshType, VolumeType >::_x_cs [protected] |
Definition at line 310 of file mc_trivial_walker.h.
VertexIndex* vcg::tri::TrivialWalker< MeshType, VolumeType >::_x_ns [protected] |
Definition at line 313 of file mc_trivial_walker.h.
VertexIndex* vcg::tri::TrivialWalker< MeshType, VolumeType >::_y_cs [protected] |
Definition at line 311 of file mc_trivial_walker.h.
VertexIndex* vcg::tri::TrivialWalker< MeshType, VolumeType >::_z_cs [protected] |
Definition at line 312 of file mc_trivial_walker.h.
VertexIndex* vcg::tri::TrivialWalker< MeshType, VolumeType >::_z_ns [protected] |
Definition at line 314 of file mc_trivial_walker.h.