#include <ibr.h>
Inheritance diagram for vu1611_2< SIZE, TYPE >:
Public Member Functions | |
vu1611_2 () | |
~vu1611_2 () | |
vuSphericFilter< SIZE, TYPE > * | getFilter () |
Returns the lightfield filter (which choses the views). | |
void | setFilter (vuSphericFilter< SIZE, TYPE > *filter) |
Sets the filter. | |
void | setViewFilter (vuSphericViewFilter< SIZE, TYPE > *viewFilter) |
Sets the filter. | |
vuSphericViewFilter< SIZE, TYPE > * | getViewFilter () |
Returns the view filter. | |
void | preprocess (vuProgressHandler *handler=NULL) |
do some preprocesses (depends on the viewFilter) | |
virtual void | initOpenGL (void) |
Initialize openGL. | |
virtual void | glResize (dword width, dword height) |
OpenGl Resize callback. | |
virtual void | render () |
Renders the current view, depending on the camera. | |
vuFixelMap< SIZE, TYPE > * | computeAndReturnImage () |
computes the current image and returns it | |
virtual bool | read (void) |
set the default filter ("BestMatch") | |
void | preview (int hint) |
preview | |
Protected Attributes | |
vuSphericFilter< SIZE, TYPE > * | m_Filter |
The Spherical Filter (choses the views, on which should be interpolated). | |
vuSphericViewFilter< SIZE, TYPE > * | m_ViewFilter |
The Spherical View Filter (interpolates the chosen views). |
Definition at line 12 of file ibr.h.
|
Definition at line 6 of file ibr.cpp. References vu1611_2< SIZE, TYPE >::getFilter(), vu1611_2< SIZE, TYPE >::m_Filter, vu1611_2< SIZE, TYPE >::m_ViewFilter, vu1611_2< SIZE, TYPE >::setFilter(), and vu1611_2< SIZE, TYPE >::setViewFilter(). |
Here is the call graph for this function:
|
Definition at line 16 of file ibr.cpp. References CHECKNDELETE, vu1611_2< SIZE, TYPE >::m_Filter, and vu1611_2< SIZE, TYPE >::m_ViewFilter. |
|
computes the current image and returns it
Definition at line 95 of file ibr.cpp. References vuSphericViewFilter< SIZE, TYPE >::filter(), vuSphericViewFilter< SIZE, TYPE >::getMap(), vu1611_2< SIZE, TYPE >::m_Filter, and vu1611_2< SIZE, TYPE >::m_ViewFilter. |
Here is the call graph for this function:
|
Returns the lightfield filter (which choses the views).
Definition at line 23 of file ibr.cpp. Referenced by vu1611_2< SIZE, TYPE >::vu1611_2(). |
|
Returns the view filter.
|
|
OpenGl Resize callback.
Reimplemented from vu1611< SIZE, TYPE >. Definition at line 76 of file ibr.cpp. References vuSphericViewFilter< SIZE, TYPE >::glResize(), vu1611< SIZE, TYPE >::glResize(), and vu1611_2< SIZE, TYPE >::m_ViewFilter. |
Here is the call graph for this function:
|
Initialize openGL.
Definition at line 70 of file ibr.cpp. References vuSphericViewFilter< SIZE, TYPE >::initOpenGL(), and vu1611_2< SIZE, TYPE >::m_ViewFilter. |
Here is the call graph for this function:
|
do some preprocesses (depends on the viewFilter)
Definition at line 59 of file ibr.cpp. References vu1611_2< SIZE, TYPE >::m_Filter, vu1611_2< SIZE, TYPE >::m_ViewFilter, NULL, and vuSphericViewFilter< SIZE, TYPE >::preprocess(). |
Here is the call graph for this function:
|
preview
Reimplemented from vu1. Definition at line 118 of file ibr.cpp. References dword, vuSpherical::getLatitude(), vuSpherical::getLongitude(), vuCamera::getLookAtVector(), GL_LINES, GL_MODELVIEW, GL_POINTS, glBegin(), glColor3ub(), glEnd(), glLoadIdentity(), glMatrixMode(), glPointSize(), glPopMatrix(), glPushMatrix(), glRotatef(), glVertex3f(), vu1611_2< SIZE, TYPE >::m_Filter, and vuVector::makeUnit(). |
Here is the call graph for this function:
|
set the default filter ("BestMatch")
Reimplemented from vu1611< SIZE, TYPE >. Reimplemented in vu1611_4< SIZE, TYPE >. Definition at line 111 of file ibr.cpp. References vu1611< SIZE, TYPE >::read(). Referenced by vu1611_4< SIZE, TYPE >::read(). |
Here is the call graph for this function:
|
Renders the current view, depending on the camera.
Implements vu1. Reimplemented in vu1611_4< SIZE, TYPE >. Definition at line 83 of file ibr.cpp. References vuSphericViewFilter< SIZE, TYPE >::filter(), vuSphericViewFilter< SIZE, TYPE >::glRender(), vu1611_2< SIZE, TYPE >::m_Filter, and vu1611_2< SIZE, TYPE >::m_ViewFilter. |
Here is the call graph for this function:
|
Sets the filter.
Definition at line 29 of file ibr.cpp. References CHECKNDELETE, vu1611_2< SIZE, TYPE >::m_Filter, and vuSphericFilter< SIZE, TYPE >::setVolume(). Referenced by vu1611_2< SIZE, TYPE >::vu1611_2(). |
Here is the call graph for this function:
|
Sets the filter.
Definition at line 41 of file ibr.cpp. References CHECKNDELETE, and vu1611_2< SIZE, TYPE >::m_ViewFilter. Referenced by vu1611_2< SIZE, TYPE >::vu1611_2(). |
|
The Spherical Filter (choses the views, on which should be interpolated).
Definition at line 60 of file ibr.h. Referenced by vu1611_2< SIZE, TYPE >::computeAndReturnImage(), vu1611_2< SIZE, TYPE >::preprocess(), vu1611_2< SIZE, TYPE >::preview(), vu1611_2< SIZE, TYPE >::render(), vu1611_2< SIZE, TYPE >::setFilter(), vu1611_2< SIZE, TYPE >::vu1611_2(), and vu1611_2< SIZE, TYPE >::~vu1611_2(). |
|
The Spherical View Filter (interpolates the chosen views).
Definition at line 62 of file ibr.h. Referenced by vu1611_2< SIZE, TYPE >::computeAndReturnImage(), vu1611_2< SIZE, TYPE >::glResize(), vu1611_2< SIZE, TYPE >::initOpenGL(), vu1611_2< SIZE, TYPE >::preprocess(), vu1611_2< SIZE, TYPE >::render(), vu1611_2< SIZE, TYPE >::setViewFilter(), vu1611_2< SIZE, TYPE >::vu1611_2(), and vu1611_2< SIZE, TYPE >::~vu1611_2(). |