Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER > Class Template Reference

#include <space_iterators.h>

List of all members.

Classes

struct  Entry_Type
 structure that mantain for the current cell pre-calculated data More...

Public Types

typedef Spatial_Idexing::Box3x IndexingBoxType
typedef vcg::Ray3< ScalarTypeRayType
typedef Spatial_Idexing::ScalarType ScalarType

Public Member Functions

ScalarType Dist ()
bool End ()
void Init (const RayType _r)
CoordType IntPoint ()
ObjTypeoperator* ()
void operator++ ()
 RayIterator (Spatial_Idexing &_Si, INTFUNCTOR &_int_funct, const ScalarType &_max_dist)
 contructor
bool Refresh ()
void SetIndexStructure (Spatial_Idexing &_Si)
 set the current spatial indexing structure used
void SetMarker (TMARKER _tm)

Protected Types

typedef
Spatial_Idexing::CellIterator 
CellIterator
typedef vcg::Point3< ScalarTypeCoordType
typedef std::vector
< Entry_Type >
::reverse_iterator 
ElemIterator
typedef Spatial_Idexing::ObjType ObjType

Protected Member Functions

bool _controlEnd ()
void _ControlLimits ()
 control right bonding current cell index (only on initialization)
void _FindLinePar ()
 find initial line parameters
void _NextCell ()

Protected Attributes

vcg::Point3i CurrentCell
ElemIterator CurrentElem
ScalarType dist
std::vector< Entry_TypeElems
bool end
CoordType goal
INTFUNCTOR & int_funct
ScalarType max_dist
RayType r
Spatial_Idexing & Si
CoordType start
CoordType t
TMARKER tm

Detailed Description

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
class vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >

Definition at line 67 of file space_iterators.h.


Member Typedef Documentation

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef Spatial_Idexing::CellIterator vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CellIterator [protected]

Definition at line 76 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef vcg::Point3<ScalarType> vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CoordType [protected]

Definition at line 75 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef std::vector<Entry_Type>::reverse_iterator vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::ElemIterator [protected]

Definition at line 321 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef Spatial_Idexing::Box3x vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::IndexingBoxType

Definition at line 72 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef Spatial_Idexing::ObjType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::ObjType [protected]

Definition at line 74 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef vcg::Ray3<ScalarType> vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::RayType

Definition at line 71 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
typedef Spatial_Idexing::ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::ScalarType

Reimplemented in vcg::tri::TriRayIterator< GRID, MESH >.

Definition at line 70 of file space_iterators.h.


Constructor & Destructor Documentation

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::RayIterator ( Spatial_Idexing &  _Si,
INTFUNCTOR &  _int_funct,
const ScalarType _max_dist 
) [inline]

contructor

Definition at line 189 of file space_iterators.h.


Member Function Documentation

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::_controlEnd ( ) [inline, protected]

Definition at line 136 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::_ControlLimits ( ) [inline, protected]

control right bonding current cell index (only on initialization)

Definition at line 80 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::_FindLinePar ( ) [inline, protected]

find initial line parameters

da verificare se vanno oltre ai limiti

Definition at line 94 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::_NextCell ( ) [inline, protected]

Definition at line 142 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Dist ( ) [inline]

Definition at line 281 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::End ( ) [inline]

Definition at line 226 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Init ( const RayType  _r) [inline]

Definition at line 202 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::IntPoint ( ) [inline]

Definition at line 278 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
ObjType& vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::operator* ( ) [inline]

Definition at line 276 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::operator++ ( ) [inline]

Definition at line 259 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Refresh ( ) [inline]

refresh current cell intersection , return false if there are at lest 1 intersection

take first, last iterators to elements in the cell

Definition at line 232 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::SetIndexStructure ( Spatial_Idexing &  _Si) [inline]

set the current spatial indexing structure used

Definition at line 290 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::SetMarker ( TMARKER  _tm) [inline]

Definition at line 197 of file space_iterators.h.


Member Data Documentation

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
vcg::Point3i vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CurrentCell [protected]

Definition at line 324 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
ElemIterator vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CurrentElem [protected]

Definition at line 322 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::dist [protected]

Definition at line 329 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
std::vector<Entry_Type> vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Elems [protected]

Definition at line 320 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::end [protected]

Definition at line 316 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::goal [protected]

Definition at line 328 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
INTFUNCTOR& vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::int_funct [protected]

Definition at line 317 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::max_dist [protected]

Definition at line 77 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
RayType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::r [protected]

Definition at line 314 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
Spatial_Idexing& vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Si [protected]

Definition at line 315 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::start [protected]

Definition at line 327 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::t [protected]

Definition at line 330 of file space_iterators.h.

template<class Spatial_Idexing, class INTFUNCTOR, class TMARKER>
TMARKER vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::tm [protected]

Definition at line 318 of file space_iterators.h.


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


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