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

vuSphericView< SIZE, TYPE > Class Template Reference

#include <vuSphericView.h>

Inheritance diagram for vuSphericView< SIZE, TYPE >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuSphericView ()
 vuSphericView (vuFixelMap< SIZE, TYPE > *map, vuVector &lookFrom, vuVector &up)
 vuSphericView (dword width, dword height, vuVector lookFrom=vuVector(1, 0, 0), vuVector up=vuVector(0, 1, 0))
virtual ~vuSphericView ()
 vuSphericView (const vuSphericView &other)
void setLookFrom (const vuVector &lookFrom)
vuVectorgetLookFrom ()
void setUp (const vuVector &up)
vuVectorgetUp ()
vuFixelMap< SIZE, TYPE > * getMap ()
dword getWidth ()
dword getHeight ()
void initOpenGL (void)
 Initialize openGL.
void glResize (dword width, dword height)
 OpenGl Resize callback.
void glRender ()
 Renders the Map.
vuSphericViewoperator= (const vuSphericView &other)
bool writeToFileStream (ostream *out)
bool readFromFileStream (istream *in, dword width, dword height)
void readFromBuffer (byte *buffer, dword width, dword height)
void writeIntoBuffer (byte *buffer, dword width, dword height)

Static Public Member Functions

dword getSizeInByte (dword width, dword height)

Protected Attributes

vuFixelMap< SIZE, TYPE > * m_map
vuVector m_lookFrom
vuVector m_up
bool m_isMapNewed

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


Constructor & Destructor Documentation

template<int S, class T>
vuSphericView< S, T >::vuSphericView  ) 
 

Definition at line 4 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, and vuSphericView< SIZE, TYPE >::m_up.

template<int S, class T>
vuSphericView< S, T >::vuSphericView vuFixelMap< SIZE, TYPE > *  map,
vuVector lookFrom,
vuVector up
 

Definition at line 13 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, and vuSphericView< SIZE, TYPE >::m_up.

template<int S, class T>
vuSphericView< S, T >::vuSphericView dword  width,
dword  height,
vuVector  lookFrom = vuVector(1, 0, 0),
vuVector  up = vuVector(0, 1, 0)
 

Definition at line 24 of file vuSphericView.cpp.

References dword, vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, and vuSphericView< SIZE, TYPE >::m_up.

template<int S, class T>
vuSphericView< S, T >::~vuSphericView  )  [virtual]
 

Definition at line 35 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_isMapNewed, and vuSphericView< SIZE, TYPE >::m_map.

template<int S, class T>
vuSphericView< S, T >::vuSphericView const vuSphericView< SIZE, TYPE > &  other  ) 
 

Definition at line 44 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, and vuSphericView< SIZE, TYPE >::m_up.


Member Function Documentation

template<int S, class T>
dword vuSphericView< S, T >::getHeight  ) 
 

Definition at line 99 of file vuSphericView.cpp.

References dword, and vuSphericView< SIZE, TYPE >::m_map.

Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::_areViewsValid(), vuSphericLightfieldFourier< SI, TI, SO, TO >::_convert(), vuSphericLightfieldConverter< SI, TI, SO, TO >::_convert(), vuFourierClusterN< SIZE, TYPE >::_preprocess(), vuFourierCluster< SIZE, TYPE >::calcSliceDimensions(), vuSphericViewFilter< SIZE, TYPE >::ensureImage(), vuFourierClusterN< SIZE, TYPE >::preprocess(), and vuFourierCluster< SIZE, TYPE >::preprocess().

template<int S, class T>
vuVector & vuSphericView< S, T >::getLookFrom  )  [virtual]
 

Implements vuSphericView_ST.

Definition at line 67 of file vuSphericView.cpp.

Referenced by vuFourierClusterN< SIZE, TYPE >::_preprocess(), vuSphLfFlt_FitAngle< SIZE, TYPE >::calcFilteredViews(), vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(), vuSphericFilter< SIZE, TYPE >::getNearestViews(), vuFourierCluster< SIZE, TYPE >::handleSlice(), vuSimpleFBR< SIZE, TYPE >::OnButtonSnap2View(), vuFourierClusterN< SIZE, TYPE >::preprocess(), vuSphLfFlt_Line< SIZE, TYPE >::preview(), vuSphLfFlt_BestMatch< SIZE, TYPE >::preview(), and vuFourierCluster< SIZE, TYPE >::weightView().

template<int S, class T>
vuFixelMap< S, T > * vuSphericView< S, T >::getMap  ) 
 

Definition at line 86 of file vuSphericView.cpp.

Referenced by vuSphericLightfieldFourier< SI, TI, SO, TO >::_convert(), vuSphericLightfieldConverter< SI, TI, SO, TO >::_convert(), Scanner::_lazyCalculate(), FourierSlicer< SIZE >::_lazyCalculate(), vuFourierClusterN< SIZE, TYPE >::_preprocess(), Scanner::_renderView(), FourierSlicer< SIZE >::_renderView(), vuFourierCluster< SIZE, TYPE >::addViewToVolume(), and vuFourierClusterN< SIZE, TYPE >::preprocess().

template<int S, class T>
dword vuSphericView< S, T >::getSizeInByte dword  width,
dword  height
[static]
 

Definition at line 242 of file vuSphericView.cpp.

References dword.

Referenced by vu1611< SIZE, TYPE >::_initViews(), vuSphericLightfieldFile< SIZE, TYPE >::_isDataSizeValid(), vu1611< SIZE, TYPE >::_isDataSizeValid(), vu1611< SIZE, TYPE >::_syncViewsToBuffer(), and vuSphericLightfieldFile< SIZE, TYPE >::vuSphericLightfieldFile().

template<int S, class T>
vuVector & vuSphericView< S, T >::getUp  ) 
 

Definition at line 79 of file vuSphericView.cpp.

Referenced by vuFourierClusterN< SIZE, TYPE >::_preprocess(), vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(), vuFourierCluster< SIZE, TYPE >::handleSlice(), vuFourierClusterN< SIZE, TYPE >::preprocess(), and vuFourierCluster< SIZE, TYPE >::weightView().

template<int S, class T>
dword vuSphericView< S, T >::getWidth  ) 
 

Definition at line 92 of file vuSphericView.cpp.

References dword, and vuSphericView< SIZE, TYPE >::m_map.

Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::_areViewsValid(), vuSphericLightfieldFourier< SI, TI, SO, TO >::_convert(), vuSphericLightfieldConverter< SI, TI, SO, TO >::_convert(), vuFourierClusterN< SIZE, TYPE >::_preprocess(), vuFourierCluster< SIZE, TYPE >::calcSliceDimensions(), vuSphericViewFilter< SIZE, TYPE >::ensureImage(), vuFourierClusterN< SIZE, TYPE >::preprocess(), and vuFourierCluster< SIZE, TYPE >::preprocess().

template<int S, class T>
void vuSphericView< S, T >::glRender  ) 
 

Renders the Map.

Definition at line 122 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_map.

Referenced by Scanner::_lazyCalculate(), vuSphericViewFilter< SIZE, TYPE >::glRender(), and vuFBRSubCanvas< SIZE, TYPE >::render().

template<int S, class T>
void vuSphericView< S, T >::glResize dword  width,
dword  height
 

OpenGl Resize callback.

Definition at line 116 of file vuSphericView.cpp.

References dword, and vuSphericView< SIZE, TYPE >::m_map.

Referenced by vuSphericViewFilter< SIZE, TYPE >::glResize(), and vuFBRSubCanvas< SIZE, TYPE >::resize().

template<int S, class T>
void vuSphericView< S, T >::initOpenGL void   ) 
 

Initialize openGL.

Definition at line 110 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_map.

Referenced by vuSphericViewFilter< SIZE, TYPE >::initOpenGL().

template<int S, class T>
vuSphericView< S, T > & vuSphericView< S, T >::operator= const vuSphericView< SIZE, TYPE > &  other  ) 
 

Definition at line 130 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, and vuSphericView< SIZE, TYPE >::m_up.

template<int S, class T>
void vuSphericView< S, T >::readFromBuffer byte buffer,
dword  width,
dword  height
 

Definition at line 196 of file vuSphericView.cpp.

References buffer, byte, dword, vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, vuSphericView< SIZE, TYPE >::m_up, and T.

template<int S, class T>
bool vuSphericView< S, T >::readFromFileStream istream *  in,
dword  width,
dword  height
 

Definition at line 170 of file vuSphericView.cpp.

References dword, vuSphericView< SIZE, TYPE >::m_isMapNewed, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, and vuSphericView< SIZE, TYPE >::m_up.

Referenced by vuSphericLightfieldFile< SIZE, TYPE >::readView().

template<int S, class T>
void vuSphericView< S, T >::setLookFrom const vuVector lookFrom  ) 
 

Definition at line 61 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_lookFrom.

Referenced by Scanner::_renderView(), FourierSlicer< SIZE >::_renderView(), and vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert().

template<int S, class T>
void vuSphericView< S, T >::setUp const vuVector up  ) 
 

Definition at line 73 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_up.

Referenced by Scanner::_renderView(), FourierSlicer< SIZE >::_renderView(), and vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert().

template<int S, class T>
void vuSphericView< S, T >::writeIntoBuffer byte buffer,
dword  width,
dword  height
 

Definition at line 222 of file vuSphericView.cpp.

References buffer, byte, dword, vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_up, and vuVector::normalize().

Here is the call graph for this function:

template<int S, class T>
bool vuSphericView< S, T >::writeToFileStream ostream *  out  ) 
 

Definition at line 147 of file vuSphericView.cpp.

References vuSphericView< SIZE, TYPE >::m_lookFrom, vuSphericView< SIZE, TYPE >::m_map, vuSphericView< SIZE, TYPE >::m_up, and vuVector::normalize().

Referenced by vuSphericLightfieldFile< SIZE, TYPE >::writeView().

Here is the call graph for this function:


Member Data Documentation

template<int SIZE, class TYPE>
bool vuSphericView< SIZE, TYPE >::m_isMapNewed [protected]
 

Definition at line 81 of file vuSphericView.h.

Referenced by vuSphericView< SIZE, TYPE >::operator=(), vuSphericView< SIZE, TYPE >::readFromBuffer(), vuSphericView< SIZE, TYPE >::readFromFileStream(), vuSphericView< SIZE, TYPE >::vuSphericView(), and vuSphericView< SIZE, TYPE >::~vuSphericView().

template<int SIZE, class TYPE>
vuVector vuSphericView< SIZE, TYPE >::m_lookFrom [protected]
 

Definition at line 79 of file vuSphericView.h.

Referenced by vuSphericView< SIZE, TYPE >::operator=(), vuSphericView< SIZE, TYPE >::readFromBuffer(), vuSphericView< SIZE, TYPE >::readFromFileStream(), vuSphericView< SIZE, TYPE >::setLookFrom(), vuSphericView< SIZE, TYPE >::vuSphericView(), vuSphericView< SIZE, TYPE >::writeIntoBuffer(), and vuSphericView< SIZE, TYPE >::writeToFileStream().

template<int SIZE, class TYPE>
vuFixelMap<SIZE,TYPE>* vuSphericView< SIZE, TYPE >::m_map [protected]
 

Definition at line 78 of file vuSphericView.h.

Referenced by vuSphericView< SIZE, TYPE >::getHeight(), vuSphericView< SIZE, TYPE >::getWidth(), vuSphericView< SIZE, TYPE >::glRender(), vuSphericView< SIZE, TYPE >::glResize(), vuSphericView< SIZE, TYPE >::initOpenGL(), vuSphericView< SIZE, TYPE >::operator=(), vuSphericView< SIZE, TYPE >::readFromBuffer(), vuSphericView< SIZE, TYPE >::readFromFileStream(), vuSphericView< SIZE, TYPE >::vuSphericView(), vuSphericView< SIZE, TYPE >::writeToFileStream(), and vuSphericView< SIZE, TYPE >::~vuSphericView().

template<int SIZE, class TYPE>
vuVector vuSphericView< SIZE, TYPE >::m_up [protected]
 

Definition at line 80 of file vuSphericView.h.

Referenced by vuSphericView< SIZE, TYPE >::operator=(), vuSphericView< SIZE, TYPE >::readFromBuffer(), vuSphericView< SIZE, TYPE >::readFromFileStream(), vuSphericView< SIZE, TYPE >::setUp(), vuSphericView< SIZE, TYPE >::vuSphericView(), vuSphericView< SIZE, TYPE >::writeIntoBuffer(), and vuSphericView< SIZE, TYPE >::writeToFileStream().


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