#include <Walker.h>
Public Member Functions | |
template<class EXTRACTOR_TYPE > | |
void | BuildMesh (Mesh &mesh, Volume &volume, EXTRACTOR_TYPE &extractor) |
bool | Exist (const vcg::Point3i &p1, const vcg::Point3i &p2, 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) |
float | V (int pi, int pj, int pk) |
Walker (const BoundingBox &bbox, const vcg::Point3i &resolution) | |
~Walker () | |
Protected Member Functions | |
void | Begin () |
void | NextSlice () |
Protected Attributes | |
BoundingBox | _bbox |
vcg::Point3i | _cell_size |
int | _current_slice |
Mesh * | _mesh |
vcg::Point3i | _resolution |
int | _slice_dimension |
float * | _v_cs |
float * | _v_ns |
Volume * | _volume |
VertexIndex * | _x_cs |
VertexIndex * | _x_ns |
VertexIndex * | _y_cs |
VertexIndex * | _z_cs |
VertexIndex * | _z_ns |
Private Types | |
typedef int | VertexIndex |
typedef int Walker::VertexIndex [private] |
Walker::Walker | ( | const BoundingBox & | bbox, |
const vcg::Point3i & | resolution | ||
) | [inline] |
Walker::~Walker | ( | ) | [inline] |
void Walker::Begin | ( | ) | [inline, protected] |
void Walker::BuildMesh | ( | Mesh & | mesh, |
Volume & | volume, | ||
EXTRACTOR_TYPE & | extractor | ||
) | [inline] |
bool Walker::Exist | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointer & | v | ||
) | [inline] |
void Walker::GetXIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointer & | v | ||
) | [inline] |
void Walker::GetYIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointer & | v | ||
) | [inline] |
void Walker::GetZIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointer & | v | ||
) | [inline] |
void Walker::NextSlice | ( | ) | [inline, protected] |
BoundingBox Walker::_bbox [protected] |
vcg::Point3i Walker::_cell_size [protected] |
int Walker::_current_slice [protected] |
Mesh* Walker::_mesh [protected] |
vcg::Point3i Walker::_resolution [protected] |
int Walker::_slice_dimension [protected] |
float* Walker::_v_cs [protected] |
float* Walker::_v_ns [protected] |
Volume* Walker::_volume [protected] |
VertexIndex* Walker::_x_cs [protected] |
VertexIndex* Walker::_x_ns [protected] |
VertexIndex* Walker::_y_cs [protected] |
VertexIndex* Walker::_z_cs [protected] |
VertexIndex* Walker::_z_ns [protected] |