Walker Class Reference

#include <Walker.h>

List of all members.

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

Detailed Description

Definition at line 14 of file Walker.h.


Member Typedef Documentation

typedef int Walker::VertexIndex [private]

Definition at line 17 of file Walker.h.


Constructor & Destructor Documentation

Walker::Walker ( const BoundingBox bbox,
const vcg::Point3i resolution 
) [inline]

Definition at line 20 of file Walker.h.

Walker::~Walker (  )  [inline]

Definition at line 39 of file Walker.h.


Member Function Documentation

void Walker::Begin (  )  [inline, protected]

Definition at line 219 of file Walker.h.

template<class EXTRACTOR_TYPE >
void Walker::BuildMesh ( Mesh mesh,
Volume volume,
EXTRACTOR_TYPE &  extractor 
) [inline]

Definition at line 43 of file Walker.h.

bool Walker::Exist ( const vcg::Point3i p1,
const vcg::Point3i p2,
VertexPointer v 
) [inline]

Definition at line 77 of file Walker.h.

void Walker::GetXIntercept ( const vcg::Point3i p1,
const vcg::Point3i p2,
VertexPointer v 
) [inline]

Definition at line 93 of file Walker.h.

void Walker::GetYIntercept ( const vcg::Point3i p1,
const vcg::Point3i p2,
VertexPointer v 
) [inline]

Definition at line 125 of file Walker.h.

void Walker::GetZIntercept ( const vcg::Point3i p1,
const vcg::Point3i p2,
VertexPointer v 
) [inline]

Definition at line 141 of file Walker.h.

void Walker::NextSlice (  )  [inline, protected]

Definition at line 194 of file Walker.h.

float Walker::V ( int  pi,
int  pj,
int  pk 
) [inline]

Definition at line 70 of file Walker.h.


Member Data Documentation

Definition at line 175 of file Walker.h.

Definition at line 177 of file Walker.h.

int Walker::_current_slice [protected]

Definition at line 180 of file Walker.h.

Mesh* Walker::_mesh [protected]

Definition at line 191 of file Walker.h.

Definition at line 176 of file Walker.h.

int Walker::_slice_dimension [protected]

Definition at line 179 of file Walker.h.

float* Walker::_v_cs [protected]

Definition at line 182 of file Walker.h.

float* Walker::_v_ns [protected]

Definition at line 183 of file Walker.h.

Volume* Walker::_volume [protected]

Definition at line 192 of file Walker.h.

VertexIndex* Walker::_x_cs [protected]

Definition at line 185 of file Walker.h.

VertexIndex* Walker::_x_ns [protected]

Definition at line 188 of file Walker.h.

VertexIndex* Walker::_y_cs [protected]

Definition at line 186 of file Walker.h.

VertexIndex* Walker::_z_cs [protected]

Definition at line 187 of file Walker.h.

VertexIndex* Walker::_z_ns [protected]

Definition at line 189 of file Walker.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:22:36 2013