added typenames declaration in rayIterator

This commit is contained in:
Nico Pietroni 2006-02-08 17:04:10 +00:00
parent 1ea84f2954
commit 165db89ccf
1 changed files with 5 additions and 3 deletions

View File

@ -15,12 +15,14 @@
namespace vcg{ namespace vcg{
template <class Spatial_Idexing,class INTFUNCTOR,class TMARKER> template <class Spatial_Idexing,class INTFUNCTOR,class TMARKER>
class RayIterator class RayIterator
{ {
public:
typedef typename Spatial_Idexing::ScalarType ScalarType;
typedef typename vcg::Ray3<ScalarType> RayType;
typedef typename Spatial_Idexing::Box3x IndexingBoxType;
protected: protected:
typedef typename Spatial_Idexing::ObjType ObjType; typedef typename Spatial_Idexing::ObjType ObjType;
typedef typename Spatial_Idexing::ScalarType ScalarType;
typedef typename vcg::Point3<ScalarType> CoordType; typedef typename vcg::Point3<ScalarType> CoordType;
typedef typename vcg::Ray3<ScalarType> RayType;
typedef typename Spatial_Idexing::CellIterator CellIterator; typedef typename Spatial_Idexing::CellIterator CellIterator;
///control right bonding current cell index (only on initialization) ///control right bonding current cell index (only on initialization)