Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuSphericInteractive< SIZE, TYPE > Class Template Reference

#include <vuSphericInteractive.h>

Inheritance diagram for vuSphericInteractive< SIZE, TYPE >:

Inheritance graph
[legend]
Collaboration diagram for vuSphericInteractive< SIZE, TYPE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuSphericInteractive ()
 ~vuSphericInteractive ()
void setVolume (vu1611_2< SIZE, TYPE > *volume)
 Sets the volume, on which the calculations are processed.
vu1611_2< SIZE, TYPE > * getVolume ()
 Returns the volume.
void reset ()
boolgetAlreadyVisitedIndices ()
int indexOfNearestView ()
vuSphericView< SIZE, TYPE > * nearestView ()
bool vuSphericInteractive (dword idx)
void vuSphericInteractive (dword idx, bool flag)
dword getNumberOfVisited ()
dword getNumberOfViews ()

Protected Attributes

dword m_NumberOfVisited
dword m_NumberOfViews
boolm_AlreadyVisited
vu1611_2< SIZE, TYPE > * m_Volume

Private Member Functions

void _ensureList ()

Detailed Description

template<int SIZE, class TYPE>
class vuSphericInteractive< SIZE, TYPE >

This is a helper class for interactive reconstruction, martin-2003-03-29

It basically keeps track of already visited view indices and is able to determine the current (best fitting) view index, which is chosen from the current lightfieldVolume->getViewFilter()

Definition at line 14 of file vuSphericInteractive.h.


Constructor & Destructor Documentation

template<int SIZE, class TYPE>
vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive  ) 
 

Definition at line 4 of file vuSphericInteractive.cpp.

References vuSphericInteractive< SIZE, TYPE >::m_AlreadyVisited, vuSphericInteractive< SIZE, TYPE >::m_NumberOfViews, vuSphericInteractive< SIZE, TYPE >::m_NumberOfVisited, and vuSphericInteractive< SIZE, TYPE >::m_Volume.

template<int SIZE, class TYPE>
vuSphericInteractive< SIZE, TYPE >::~vuSphericInteractive  ) 
 

Definition at line 13 of file vuSphericInteractive.cpp.

References CHECKNDELETE, vuSphericInteractive< SIZE, TYPE >::m_AlreadyVisited, vuSphericInteractive< SIZE, TYPE >::m_NumberOfViews, and vuSphericInteractive< SIZE, TYPE >::m_NumberOfVisited.

template<int SIZE, class TYPE>
bool vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive dword  idx  ) 
 

template<int SIZE, class TYPE>
void vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive dword  idx,
bool  flag
 


Member Function Documentation

template<int S, class T>
void vuSphericInteractive< S, T >::_ensureList  )  [private]
 

Definition at line 77 of file vuSphericInteractive.cpp.

References dword, vuSphericInteractive< SIZE, TYPE >::m_AlreadyVisited, vuSphericInteractive< SIZE, TYPE >::m_NumberOfViews, vuSphericInteractive< SIZE, TYPE >::m_NumberOfVisited, and vuSphericInteractive< SIZE, TYPE >::m_Volume.

Referenced by vuSphericInteractive< SIZE, TYPE >::reset().

template<int SIZE, class TYPE>
bool* vuSphericInteractive< SIZE, TYPE >::getAlreadyVisitedIndices  ) 
 

template<int S, class T>
dword vuSphericInteractive< S, T >::getNumberOfViews  ) 
 

Definition at line 40 of file vuSphericInteractive.cpp.

References dword.

template<int S, class T>
dword vuSphericInteractive< S, T >::getNumberOfVisited  ) 
 

Definition at line 34 of file vuSphericInteractive.cpp.

References dword.

template<int SIZE, class TYPE>
vu1611_2< SIZE, TYPE > * vuSphericInteractive< SIZE, TYPE >::getVolume  ) 
 

Returns the volume.

Definition at line 28 of file vuSphericInteractive.cpp.

template<int S, class T>
int vuSphericInteractive< S, T >::indexOfNearestView  ) 
 

Definition at line 102 of file vuSphericInteractive.cpp.

References CHECKNDELETE, dword, vuSphericFilter< SIZE, TYPE >::getNearestViews(), vuSphericViewFilter< SIZE, TYPE >::getNumberOfViews(), vuSphericViewFilter< SIZE, TYPE >::getViews(), vuSphericInteractive< SIZE, TYPE >::m_Volume, and vuVector::makeUnit().

Referenced by vuSphericInteractive< SIZE, TYPE >::nearestView().

Here is the call graph for this function:

template<int S, class T>
vuSphericView< S, T > * vuSphericInteractive< S, T >::nearestView  ) 
 

Definition at line 91 of file vuSphericInteractive.cpp.

References vuSphericInteractive< SIZE, TYPE >::indexOfNearestView(), and vuSphericInteractive< SIZE, TYPE >::m_Volume.

Here is the call graph for this function:

template<int SIZE, class TYPE>
void vuSphericInteractive< SIZE, TYPE >::reset  ) 
 

Definition at line 46 of file vuSphericInteractive.cpp.

References vuSphericInteractive< SIZE, TYPE >::_ensureList(), dword, vuSphericInteractive< SIZE, TYPE >::m_AlreadyVisited, vuSphericInteractive< SIZE, TYPE >::m_NumberOfViews, vuSphericInteractive< SIZE, TYPE >::m_NumberOfVisited, and NULL.

Here is the call graph for this function:

template<int SIZE, class TYPE>
void vuSphericInteractive< SIZE, TYPE >::setVolume vu1611_2< SIZE, TYPE > *  volume  ) 
 

Sets the volume, on which the calculations are processed.

Definition at line 22 of file vuSphericInteractive.cpp.

References vuSphericInteractive< SIZE, TYPE >::m_Volume.


Member Data Documentation

template<int SIZE, class TYPE>
bool* vuSphericInteractive< SIZE, TYPE >::m_AlreadyVisited [protected]
 

Definition at line 45 of file vuSphericInteractive.h.

Referenced by vuSphericInteractive< SIZE, TYPE >::_ensureList(), vuSphericInteractive< SIZE, TYPE >::reset(), vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive(), and vuSphericInteractive< SIZE, TYPE >::~vuSphericInteractive().

template<int SIZE, class TYPE>
dword vuSphericInteractive< SIZE, TYPE >::m_NumberOfViews [protected]
 

Definition at line 44 of file vuSphericInteractive.h.

Referenced by vuSphericInteractive< SIZE, TYPE >::_ensureList(), vuSphericInteractive< SIZE, TYPE >::reset(), vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive(), and vuSphericInteractive< SIZE, TYPE >::~vuSphericInteractive().

template<int SIZE, class TYPE>
dword vuSphericInteractive< SIZE, TYPE >::m_NumberOfVisited [protected]
 

Definition at line 43 of file vuSphericInteractive.h.

Referenced by vuSphericInteractive< SIZE, TYPE >::_ensureList(), vuSphericInteractive< SIZE, TYPE >::reset(), vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive(), and vuSphericInteractive< SIZE, TYPE >::~vuSphericInteractive().

template<int SIZE, class TYPE>
vu1611_2<SIZE,TYPE>* vuSphericInteractive< SIZE, TYPE >::m_Volume [protected]
 

Definition at line 46 of file vuSphericInteractive.h.

Referenced by vuSphericInteractive< SIZE, TYPE >::_ensureList(), vuSphericInteractive< SIZE, TYPE >::indexOfNearestView(), vuSphericInteractive< SIZE, TYPE >::nearestView(), vuSphericInteractive< SIZE, TYPE >::setVolume(), and vuSphericInteractive< SIZE, TYPE >::vuSphericInteractive().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:22:04 2004 for vuVolume by  doxygen 1.3.9.1