#include <space_iterators.h>
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< ScalarType > | RayType |
typedef Spatial_Idexing::ScalarType | ScalarType |
Public Member Functions | |
ScalarType | Dist () |
bool | End () |
void | Init (const RayType _r) |
CoordType | IntPoint () |
ObjType & | operator* () |
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< ScalarType > | CoordType |
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_Type > | Elems |
bool | end |
CoordType | goal |
INTFUNCTOR & | int_funct |
ScalarType | max_dist |
RayType | r |
Spatial_Idexing & | Si |
CoordType | start |
CoordType | t |
TMARKER | tm |
Definition at line 67 of file space_iterators.h.
typedef Spatial_Idexing::CellIterator vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CellIterator [protected] |
Definition at line 76 of file space_iterators.h.
typedef vcg::Point3<ScalarType> vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CoordType [protected] |
Definition at line 75 of file space_iterators.h.
typedef std::vector<Entry_Type>::reverse_iterator vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::ElemIterator [protected] |
Definition at line 321 of file space_iterators.h.
typedef Spatial_Idexing::Box3x vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::IndexingBoxType |
Definition at line 72 of file space_iterators.h.
typedef Spatial_Idexing::ObjType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::ObjType [protected] |
Definition at line 74 of file space_iterators.h.
typedef vcg::Ray3<ScalarType> vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::RayType |
Definition at line 71 of file space_iterators.h.
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.
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.
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::_controlEnd | ( | ) | [inline, protected] |
Definition at line 136 of file space_iterators.h.
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.
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.
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::_NextCell | ( | ) | [inline, protected] |
Definition at line 142 of file space_iterators.h.
ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Dist | ( | ) | [inline] |
Definition at line 281 of file space_iterators.h.
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::End | ( | ) | [inline] |
Definition at line 226 of file space_iterators.h.
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Init | ( | const RayType | _r | ) | [inline] |
Definition at line 202 of file space_iterators.h.
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::IntPoint | ( | ) | [inline] |
Definition at line 278 of file space_iterators.h.
ObjType& vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::operator* | ( | ) | [inline] |
Definition at line 276 of file space_iterators.h.
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::operator++ | ( | ) | [inline] |
Definition at line 259 of file space_iterators.h.
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.
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.
void vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::SetMarker | ( | TMARKER | _tm | ) | [inline] |
Definition at line 197 of file space_iterators.h.
vcg::Point3i vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CurrentCell [protected] |
Definition at line 324 of file space_iterators.h.
ElemIterator vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::CurrentElem [protected] |
Definition at line 322 of file space_iterators.h.
ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::dist [protected] |
Definition at line 329 of file space_iterators.h.
std::vector<Entry_Type> vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Elems [protected] |
Definition at line 320 of file space_iterators.h.
bool vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::end [protected] |
Definition at line 316 of file space_iterators.h.
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::goal [protected] |
Definition at line 328 of file space_iterators.h.
INTFUNCTOR& vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::int_funct [protected] |
Definition at line 317 of file space_iterators.h.
ScalarType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::max_dist [protected] |
Definition at line 77 of file space_iterators.h.
RayType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::r [protected] |
Definition at line 314 of file space_iterators.h.
Spatial_Idexing& vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::Si [protected] |
Definition at line 315 of file space_iterators.h.
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::start [protected] |
Definition at line 327 of file space_iterators.h.
CoordType vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::t [protected] |
Definition at line 330 of file space_iterators.h.
TMARKER vcg::RayIterator< Spatial_Idexing, INTFUNCTOR, TMARKER >::tm [protected] |
Definition at line 318 of file space_iterators.h.