#include <simple_volume.h>
Public Types | |
typedef BasicGrid< typename VOX_TYPE::ScalarType >::Box3x | Box3x |
typedef VoxelType::ScalarType | ScalarType |
enum | VolumeAxis { XAxis = 0, YAxis = 1, ZAxis = 2, XAxis = 0, YAxis = 1, ZAxis = 2 } |
enum | VolumeAxis { XAxis = 0, YAxis = 1, ZAxis = 2, XAxis = 0, YAxis = 1, ZAxis = 2 } |
typedef VOX_TYPE | VoxelType |
typedef VOX_TYPE | VoxelType |
Public Member Functions | |
const VOX_TYPE & | cV (const int &x, const int &y, const int &z) const |
const VOX_TYPE & | cV (const int &x, const int &y, const int &z) const |
template<class VertexPointerType , VolumeAxis AxisVal> | |
void | GetIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType , VolumeAxis AxisVal> | |
void | GetIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType > | |
void | GetXIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType > | |
void | GetXIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType > | |
void | GetYIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType > | |
void | GetYIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType > | |
void | GetZIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
template<class VertexPointerType > | |
void | GetZIntercept (const vcg::Point3i &p1, const vcg::Point3i &p2, VertexPointerType &v, const float thr) |
void | Init (Point3i _sz) |
Dimensioni griglia come numero di celle per lato. | |
void | Init (Point3i _sz, Box3x bb) |
const Point3i & | ISize () |
Dimensioni griglia come numero di celle per lato. | |
const Point3i & | ISize () |
VOX_TYPE & | V (const int &x, const int &y, const int &z) |
VOX_TYPE & | V (const int &x, const int &y, const int &z) |
VOX_TYPE & | V (const Point3i &pi) |
float | Val (const int &x, const int &y, const int &z) const |
float & | Val (const int &x, const int &y, const int &z) |
ScalarType | Val (const int &x, const int &y, const int &z) const |
Dimensioni griglia come numero di celle per lato. | |
ScalarType & | Val (const int &x, const int &y, const int &z) |
bool | ValidCell (const Point3i &, const Point3i &) const |
Public Attributes | |
Point3i | sz |
std::vector< VoxelType > | Vol |
Definition at line 8 of file simple_volume.h.
typedef BasicGrid<typename VOX_TYPE::ScalarType>::Box3x vcg::SimpleVolume< VOX_TYPE >::Box3x |
Reimplemented from vcg::BasicGrid< VOX_TYPE::ScalarType >.
Definition at line 37 of file mc_trivial_walker.h.
typedef VoxelType::ScalarType vcg::SimpleVolume< VOX_TYPE >::ScalarType |
Reimplemented from vcg::BasicGrid< VOX_TYPE::ScalarType >.
Definition at line 36 of file mc_trivial_walker.h.
typedef VOX_TYPE vcg::SimpleVolume< VOX_TYPE >::VoxelType |
Definition at line 11 of file simple_volume.h.
typedef VOX_TYPE vcg::SimpleVolume< VOX_TYPE >::VoxelType |
Definition at line 35 of file mc_trivial_walker.h.
enum vcg::SimpleVolume::VolumeAxis |
Definition at line 43 of file simple_volume.h.
enum vcg::SimpleVolume::VolumeAxis |
Definition at line 82 of file mc_trivial_walker.h.
const VOX_TYPE& vcg::SimpleVolume< VOX_TYPE >::cV | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | const [inline] |
Definition at line 38 of file simple_volume.h.
const VOX_TYPE& vcg::SimpleVolume< VOX_TYPE >::cV | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | const [inline] |
Definition at line 59 of file mc_trivial_walker.h.
void vcg::SimpleVolume< VOX_TYPE >::GetIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 46 of file simple_volume.h.
void vcg::SimpleVolume< VOX_TYPE >::GetIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 85 of file mc_trivial_walker.h.
void vcg::SimpleVolume< VOX_TYPE >::GetXIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 60 of file simple_volume.h.
void vcg::SimpleVolume< VOX_TYPE >::GetXIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 66 of file mc_trivial_walker.h.
void vcg::SimpleVolume< VOX_TYPE >::GetYIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 64 of file simple_volume.h.
void vcg::SimpleVolume< VOX_TYPE >::GetYIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 70 of file mc_trivial_walker.h.
void vcg::SimpleVolume< VOX_TYPE >::GetZIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 68 of file simple_volume.h.
void vcg::SimpleVolume< VOX_TYPE >::GetZIntercept | ( | const vcg::Point3i & | p1, |
const vcg::Point3i & | p2, | ||
VertexPointerType & | v, | ||
const float | thr | ||
) | [inline] |
Definition at line 74 of file mc_trivial_walker.h.
void vcg::SimpleVolume< VOX_TYPE >::Init | ( | Point3i | _sz | ) | [inline] |
Dimensioni griglia come numero di celle per lato.
Definition at line 18 of file simple_volume.h.
void vcg::SimpleVolume< VOX_TYPE >::Init | ( | Point3i | _sz, |
Box3x | bb | ||
) | [inline] |
Definition at line 102 of file mc_trivial_walker.h.
const Point3i& vcg::SimpleVolume< VOX_TYPE >::ISize | ( | ) | [inline] |
Dimensioni griglia come numero di celle per lato.
Definition at line 16 of file simple_volume.h.
const Point3i& vcg::SimpleVolume< VOX_TYPE >::ISize | ( | ) | [inline] |
Definition at line 39 of file mc_trivial_walker.h.
VOX_TYPE& vcg::SimpleVolume< VOX_TYPE >::V | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | [inline] |
Definition at line 34 of file simple_volume.h.
VOX_TYPE& vcg::SimpleVolume< VOX_TYPE >::V | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | [inline] |
Definition at line 51 of file mc_trivial_walker.h.
VOX_TYPE& vcg::SimpleVolume< VOX_TYPE >::V | ( | const Point3i & | pi | ) | [inline] |
Definition at line 55 of file mc_trivial_walker.h.
float vcg::SimpleVolume< VOX_TYPE >::Val | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | const [inline] |
Definition at line 24 of file simple_volume.h.
float& vcg::SimpleVolume< VOX_TYPE >::Val | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | [inline] |
Definition at line 29 of file simple_volume.h.
ScalarType vcg::SimpleVolume< VOX_TYPE >::Val | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | const [inline] |
Dimensioni griglia come numero di celle per lato.
Definition at line 41 of file mc_trivial_walker.h.
ScalarType& vcg::SimpleVolume< VOX_TYPE >::Val | ( | const int & | x, |
const int & | y, | ||
const int & | z | ||
) | [inline] |
Definition at line 46 of file mc_trivial_walker.h.
bool vcg::SimpleVolume< VOX_TYPE >::ValidCell | ( | const Point3i & | , |
const Point3i & | |||
) | const [inline] |
Definition at line 63 of file mc_trivial_walker.h.
Point3i vcg::SimpleVolume< VOX_TYPE >::sz |
Definition at line 14 of file simple_volume.h.
std::vector< VoxelType > vcg::SimpleVolume< VOX_TYPE >::Vol |
The following members/methods are just for this particular case. The above one are the one required by the marching cube interface.
Definition at line 12 of file simple_volume.h.