Public Types | Public Member Functions | Public Attributes
vcg::SimpleVolume< VOX_TYPE > Class Template Reference

#include <simple_volume.h>

Inheritance diagram for vcg::SimpleVolume< VOX_TYPE >:
Inheritance graph
[legend]

List of all members.

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 Point3iISize ()
 Dimensioni griglia come numero di celle per lato.
const Point3iISize ()
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.
ScalarTypeVal (const int &x, const int &y, const int &z)
bool ValidCell (const Point3i &, const Point3i &) const

Public Attributes

Point3i sz
std::vector< VoxelTypeVol

Detailed Description

template<class VOX_TYPE>
class vcg::SimpleVolume< VOX_TYPE >

Definition at line 8 of file simple_volume.h.


Member Typedef Documentation

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
typedef VOX_TYPE vcg::SimpleVolume< VOX_TYPE >::VoxelType

Definition at line 11 of file simple_volume.h.

template<class VOX_TYPE >
typedef VOX_TYPE vcg::SimpleVolume< VOX_TYPE >::VoxelType

Definition at line 35 of file mc_trivial_walker.h.


Member Enumeration Documentation

template<class VOX_TYPE >
enum vcg::SimpleVolume::VolumeAxis
Enumerator:
XAxis 
YAxis 
ZAxis 
XAxis 
YAxis 
ZAxis 

Definition at line 43 of file simple_volume.h.

template<class VOX_TYPE >
enum vcg::SimpleVolume::VolumeAxis
Enumerator:
XAxis 
YAxis 
ZAxis 
XAxis 
YAxis 
ZAxis 

Definition at line 82 of file mc_trivial_walker.h.


Member Function Documentation

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
template<class VertexPointerType , VolumeAxis AxisVal>
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.

template<class VOX_TYPE >
template<class VertexPointerType , VolumeAxis AxisVal>
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.

template<class VOX_TYPE >
template<class VertexPointerType >
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.

template<class VOX_TYPE >
template<class VertexPointerType >
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.

template<class VOX_TYPE >
template<class VertexPointerType >
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.

template<class VOX_TYPE >
template<class VertexPointerType >
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.

template<class VOX_TYPE >
template<class VertexPointerType >
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.

template<class VOX_TYPE >
template<class VertexPointerType >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
void vcg::SimpleVolume< VOX_TYPE >::Init ( Point3i  _sz,
Box3x  bb 
) [inline]

Definition at line 102 of file mc_trivial_walker.h.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
const Point3i& vcg::SimpleVolume< VOX_TYPE >::ISize ( ) [inline]

Definition at line 39 of file mc_trivial_walker.h.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
VOX_TYPE& vcg::SimpleVolume< VOX_TYPE >::V ( const Point3i pi) [inline]

Definition at line 55 of file mc_trivial_walker.h.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
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.

template<class VOX_TYPE >
bool vcg::SimpleVolume< VOX_TYPE >::ValidCell ( const Point3i ,
const Point3i  
) const [inline]

Definition at line 63 of file mc_trivial_walker.h.


Member Data Documentation

template<class VOX_TYPE >
Point3i vcg::SimpleVolume< VOX_TYPE >::sz

Definition at line 14 of file simple_volume.h.

template<class VOX_TYPE >
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.


The documentation for this class was generated from the following files:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:20