#include <vuFixelMap.h>
Inheritance diagram for vuFixelMap< SIZE, TYPE >:
Public Member Functions | |
vuFixelMap () | |
vuFixelMap (dword width, dword height) | |
virtual | ~vuFixelMap () |
vuFixelMap (const vuFixelMap &other) | |
void | setWidthAndHeight (const dword sizx, const dword sizy) |
dword | getWidth () const |
dword | getHeight () const |
void | setFixel (dword x, dword y, const vuFixel< SIZE, TYPE > &fixel) |
vuFixel< SIZE, TYPE > | getFixel (dword x, dword y) |
const TYPE * | getBuffer () const |
TYPE * | getBuffer () |
void | getMinAndMaxValue (TYPE &minValue, TYPE &maxValue) |
void | getMinAndMaxValue (TYPE &minValue, TYPE &maxValue, word channel) |
void | scaleAndBias (float scale, TYPE bias=0) |
void | copyMapToChannel (vuFixelMap< 1, TYPE > *map, word channel=0) |
void | getChannel (vuFixelMap< 1, TYPE > *&map, word channel) |
copies one channel to map, if map==NULL, a new map instance will created | |
void | clear (vuFixel< SIZE, TYPE > clearColour) |
bool | hasSameDimensions (vuFixelMap_ST *other) |
void | initOpenGL (void) |
Initialize openGL. | |
void | glResize (dword width, dword height) |
OpenGl Resize callback. | |
void | glRender () |
Renders the Map. | |
vuFixelMap & | operator= (const vuFixelMap &other) |
vuFixelMap & | operator= (const vuFixel< SIZE, TYPE > &fixel) |
vuFixelMap & | operator+= (vuFixelMap &other) |
vuFixelMap & | operator-= (vuFixelMap &other) |
vuFixelMap & | operator+= (float bias) |
vuFixelMap & | operator-= (float bias) |
vuFixelMap & | operator *= (float scale) |
vuFixelMap & | operator/= (float scale) |
bool | writeToFileStream (ostream *out) |
bool | readFromFileStream (istream *in, dword width, dword height) |
void | assignBuffer (TYPE *buffer, dword width, dword height) |
void | writeBufferToFile (FILE *file) |
void | _shearX (float shear, vuFixelMap< SIZE, TYPE > *inMap, vuFixelMap< SIZE, TYPE > *&outMap) |
void | _shearY (float shear, vuFixelMap< SIZE, TYPE > *inMap, vuFixelMap< SIZE, TYPE > *&outMap) |
void | rotate90 () |
void | rotate180 () |
void | rotate270 () |
void | rotate (float angle) |
dword | index (dword width, dword height) |
ostream & | write (ostream &os) |
istream & | read (istream &is) |
Private Member Functions | |
void | _ensureBuffer (dword sizx, dword sizy, const TYPE *source=NULL) |
Private Attributes | |
TYPE * | m_buffer |
bool | m_isBufferNewed |
dword | m_width |
dword | m_height |
|
Definition at line 9 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_height, vuFixelMap< SIZE, TYPE >::m_isBufferNewed, and vuFixelMap< SIZE, TYPE >::m_width. |
|
Definition at line 18 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::_ensureBuffer(), dword, vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_height, vuFixelMap< SIZE, TYPE >::m_isBufferNewed, and vuFixelMap< SIZE, TYPE >::m_width. |
Here is the call graph for this function:
|
Definition at line 28 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::m_buffer, and vuFixelMap< SIZE, TYPE >::m_isBufferNewed. |
|
Here is the call graph for this function:
|
Definition at line 508 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_height, vuFixelMap< SIZE, TYPE >::m_isBufferNewed, vuFixelMap< SIZE, TYPE >::m_width, and T. Referenced by vuFixelMap< SIZE, TYPE >::readFromFileStream(), vuFixelMap< SIZE, TYPE >::setWidthAndHeight(), and vuFixelMap< SIZE, TYPE >::vuFixelMap(). |
|
Definition at line 557 of file vuFixelMap.cpp. References CHECKNDELETE, dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. Referenced by vuFixelMap< SIZE, TYPE >::rotate(). |
Here is the call graph for this function:
|
Definition at line 609 of file vuFixelMap.cpp. References CHECKNDELETE, dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. Referenced by vuFixelMap< SIZE, TYPE >::rotate(). |
Here is the call graph for this function:
|
Definition at line 335 of file vuFixelMap.cpp. References buffer, dword, vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_height, vuFixelMap< SIZE, TYPE >::m_isBufferNewed, and vuFixelMap< SIZE, TYPE >::m_width. |
|
Definition at line 452 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. Referenced by vuFourierClusterN< SIZE, TYPE >::computeUnscaledImage(). |
Here is the call graph for this function:
|
Definition at line 415 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), T, and word. Referenced by vuSimpleFBR< SIZE, TYPE >::_displayImage(), vuFourierClusterN< SIZE, TYPE >::computeUnscaledImage(), and vuFourierVolume< S >::render(). |
Here is the call graph for this function:
|
Implements vuFixelMap_ST. Definition at line 86 of file vuFixelMap.cpp. References T. |
|
|
copies one channel to map, if map==NULL, a new map instance will created
Definition at line 432 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), T, and word. Referenced by vuSimpleFBR< SIZE, TYPE >::_displayImage(), and vuFourierVolume< S >::render(). |
Here is the call graph for this function:
|
Definition at line 73 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_width, and T. Referenced by vuSphericLightfieldConverter< SI, TI, SO, TO >::_convert(). |
|
|
Definition at line 374 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelType< TYPE >::getNegInfinity(), vuFixelType< TYPE >::getPosInfinity(), vuFixelMap< SIZE, TYPE >::getWidth(), T, and word. |
Here is the call graph for this function:
|
Definition at line 357 of file vuFixelMap.cpp. References vuFixelType< TYPE >::getNegInfinity(), vuFixelType< TYPE >::getPosInfinity(), and T. Referenced by vuSimpleFVRCanvas::_renderImage(), vuFourierVolume< S >::fitBias(), vuFourierVolume< S >::fitScale(), and vuSimpleFBR< SIZE, TYPE >::OnButtonFitScale(). |
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
OpenGl Resize callback.
Definition at line 102 of file vuFixelMap.cpp. References dword, glPixelZoom(), vuFixelMap< SIZE, TYPE >::m_height, and vuFixelMap< SIZE, TYPE >::m_width. Referenced by vuSimpleFVRCanvas::_renderImage(), vuSimpleFBR< SIZE, TYPE >::_renderImage(), vuSimpleFVRCanvas::_renderImageOld(), vuSphericRevolver< SIZE, TYPE >::glResize(), vuSphericBrowser< SIZE, TYPE >::glResize(), and vuFourierVolume< S >::glResize(). |
Here is the call graph for this function:
|
Definition at line 465 of file vuFixelMap.cpp. References vuFixelMap_ST::getHeight(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap_ST::getWidth(), and vuFixelMap< SIZE, TYPE >::getWidth(). Referenced by vuFourierClusterN< SIZE, TYPE >::computeUnscaledImage(). |
Here is the call graph for this function:
|
Definition at line 139 of file vuFixelMap.h. |
|
Initialize openGL.
Definition at line 96 of file vuFixelMap.cpp. References GL_LIGHTING, and glDisable(). |
Here is the call graph for this function:
|
Definition at line 260 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelType< TYPE >::getMaxValue(), vuFixelType< TYPE >::getMinValue(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
Definition at line 193 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelType< TYPE >::getMaxValue(), vuFixelType< TYPE >::getMinValue(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
|
|
Definition at line 216 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelType< TYPE >::getMaxValue(), vuFixelType< TYPE >::getMinValue(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
|
|
Definition at line 283 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelType< TYPE >::getMaxValue(), vuFixelType< TYPE >::getMinValue(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
Definition at line 162 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
|
|
Definition at line 496 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
Definition at line 318 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::_ensureBuffer(), buffer, CHECKNDELETE, dword, vuFixelMap< SIZE, TYPE >::m_buffer, size, and T. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 694 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::m_width, and T. Referenced by vuFixelMap< SIZE, TYPE >::rotate(), and vuFixelMap< SIZE, TYPE >::rotate270(). |
Here is the call graph for this function:
|
Definition at line 714 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::rotate180(), and vuFixelMap< SIZE, TYPE >::rotate90(). Referenced by vuFixelMap< SIZE, TYPE >::rotate(). |
Here is the call graph for this function:
|
Definition at line 664 of file vuFixelMap.cpp. References buffer, CHECKNDELETE, dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::m_width, and T. Referenced by vuFixelMap< SIZE, TYPE >::rotate(), and vuFixelMap< SIZE, TYPE >::rotate270(). |
Here is the call graph for this function:
|
Definition at line 397 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelType< TYPE >::getMaxValue(), vuFixelType< TYPE >::getMinValue(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. Referenced by vuSphericRevolver< SIZE, TYPE >::glRender(), and vuSphericBrowser< SIZE, TYPE >::glRender(). |
Here is the call graph for this function:
|
Definition at line 66 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_width, and T. Referenced by vuSphericLightfieldConverter< SI, TI, SO, TO >::_convert(). |
|
Definition at line 48 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::_ensureBuffer(), and dword. Referenced by vuSimpleFVRCanvas::_renderImage(). |
Here is the call graph for this function:
|
Definition at line 484 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and T. |
Here is the call graph for this function:
|
Definition at line 347 of file vuFixelMap.cpp. References vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_height, vuFixelMap< SIZE, TYPE >::m_width, and T. |
|
Definition at line 306 of file vuFixelMap.cpp. References dword, vuFixelMap< SIZE, TYPE >::m_buffer, vuFixelMap< SIZE, TYPE >::m_height, vuFixelMap< SIZE, TYPE >::m_width, size, and T. |
|
|
|
Definition at line 37 of file vuFixelMap.h. Referenced by vuFixelMap< SIZE, TYPE >::_ensureBuffer(), vuFixelMap< SIZE, TYPE >::assignBuffer(), vuFixelMap< SIZE, TYPE >::vuFixelMap(), and vuFixelMap< SIZE, TYPE >::~vuFixelMap(). |
|