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

vu1611_2< SIZE, TYPE > Class Template Reference

An Image Based Renderer for spherical lightfields. More...

#include <ibr.h>

Inheritance diagram for vu1611_2< SIZE, TYPE >:

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

Collaboration graph
[legend]
List of all members.

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).

Detailed Description

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

An Image Based Renderer for spherical lightfields.

Definition at line 12 of file ibr.h.


Constructor & Destructor Documentation

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

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:

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

Definition at line 16 of file ibr.cpp.

References CHECKNDELETE, vu1611_2< SIZE, TYPE >::m_Filter, and vu1611_2< SIZE, TYPE >::m_ViewFilter.


Member Function Documentation

template<int SIZE, class TYPE>
vuFixelMap< SIZE, TYPE > * vu1611_2< SIZE, TYPE >::computeAndReturnImage  ) 
 

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:

template<int SIZE, class TYPE>
vuSphericFilter< SIZE, TYPE > * vu1611_2< SIZE, TYPE >::getFilter  ) 
 

Returns the lightfield filter (which choses the views).

Definition at line 23 of file ibr.cpp.

Referenced by vu1611_2< SIZE, TYPE >::vu1611_2().

template<int SIZE, class TYPE>
vuSphericViewFilter< SIZE, TYPE > * vu1611_2< SIZE, TYPE >::getViewFilter  ) 
 

Returns the view filter.

Definition at line 52 of file ibr.cpp.

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::glResize dword  width,
dword  height
[virtual]
 

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:

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::initOpenGL void   )  [virtual]
 

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:

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::preprocess vuProgressHandler handler = NULL  ) 
 

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:

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::preview int  hint  )  [virtual]
 

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:

template<int SIZE, class TYPE>
bool vu1611_2< SIZE, TYPE >::read void   )  [virtual]
 

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:

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::render  )  [virtual]
 

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:

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::setFilter vuSphericFilter< SIZE, TYPE > *  filter  ) 
 

Sets the filter.

Note:
filter MUST be newed, since vu1611_2 will delete it later

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:

template<int SIZE, class TYPE>
void vu1611_2< SIZE, TYPE >::setViewFilter vuSphericViewFilter< SIZE, TYPE > *  viewFilter  ) 
 

Sets the filter.

Note:
filter MUST be newed, since vu1611_2 will delete it later

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().


Member Data Documentation

template<int SIZE, class TYPE>
vuSphericFilter<SIZE,TYPE>* vu1611_2< SIZE, TYPE >::m_Filter [protected]
 

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().

template<int SIZE, class TYPE>
vuSphericViewFilter<SIZE,TYPE>* vu1611_2< SIZE, TYPE >::m_ViewFilter [protected]
 

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().


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