#include <imedgine_image_viewer.h>
Inherits ImedgineViewer.
Inheritance diagram for ImedgineImageViewer:
Christian Koerner (christian.koerner@imedgine.org)
Alexander Lex (alexander.lex@imedgine.org)
Marc Streit (marc.streit@imedgine.org)
Martin Reininger (martin.reininger@imedgine.org)
Definition at line 55 of file imedgine_image_viewer.h.
|
|
Destructor Definition at line 116 of file imedgine_image_viewer.cpp. |
|
Convert the screen coordinates (which are pixel coordinates) to texture coordinatens (of the current slice). The method uses ray picking for getting the texture coordinates which are hit by the ray.
Definition at line 354 of file imedgine_image_viewer.cpp. References ImagePixelView::getRenderArea(), ImagePixelView::getSize(), ImedgineImageViewer::image_view_, X_DIMENSION, and Y_DIMENSION. Here is the call graph for this function: |
|
Convert texture coordinates (of the current slice) to world space coordinates.
Definition at line 387 of file imedgine_image_viewer.cpp. References ImagePixelView::getSize(), ImedgineImageViewer::image_view_, X_DIMENSION, and Y_DIMENSION. Here is the call graph for this function: |
|
Converts screen coordinates (in pixel) to world space coordinates.
Definition at line 416 of file imedgine_image_viewer.cpp. References X_DIMENSION, and Y_DIMENSION. |
|
Returns the displayed view
Definition at line 114 of file imedgine_image_viewer.h. References ImedgineImageViewer::image_view_. |
|
Overload the event handling of the examiner viewer. All the event handling for the 2D slice views happens here.
Reimplemented from ImedgineViewer. Definition at line 125 of file imedgine_image_viewer.cpp. References ImedgineImageViewer::last_button_click_event_, ImedgineImageViewer::last_position_, ImedgineViewer::processSoEvent(), ImedgineImageViewer::view_mode_, and Y_DIMENSION. Here is the call graph for this function: |
|
Update the status information of the dataset that is currently represented in the render area. This status information consists of the dataset keys (names) of the loaded dataset. In case of a hybrid view (this means two dataset are rendered at the same time) both dataset keys are shown. Definition at line 406 of file imedgine_image_viewer.cpp. References ImedgineImageViewer::dataset_status_info_text_, ImagePixelView::getDatasetKey(), and ImedgineImageViewer::image_view_. Here is the call graph for this function: |
|
The text that contains the dataset status information (i.e. the names). In case of a second dataset loaded two dataset names are held. Definition at line 175 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(), and ImedgineImageViewer::updateDatasetStatusInfo(). |
|
Transformation of the dataset status information to the desired position. At the moment the upper right corner of the render area. Definition at line 168 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(). |
|
Time stamp of the last mouse click. The time is important for recognizing double clicks. Definition at line 213 of file imedgine_image_viewer.h. |
|
A pointer to the slice view that is rendered in the viewer (render area). Definition at line 131 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::convertCoordsFromScreenToTexture(), ImedgineImageViewer::convertCoordsFromTextureToWorld(), ImedgineImageViewer::getImagePixelView(), ImedgineImageViewer::ImedgineImageViewer(), and ImedgineImageViewer::updateDatasetStatusInfo(). |
|
Event of the last button click. This is used for the user interaction handling. Definition at line 194 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::processSoEvent(). |
|
Pixel coordinates of the last event that is caught. Definition at line 200 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::processSoEvent(). |
|
The pixel coordinates of the last left mouse button click. Definition at line 225 of file imedgine_image_viewer.h. |
|
Flag that indicates if the left mouse button is pressed at the moment. Definition at line 219 of file imedgine_image_viewer.h. |
|
The scaling factor used to compensate resolution differences between different datasets. Using this factor e.g. with intensity/level changes will result in the same amount of change independent of the pixel stride of the dataset Definition at line 233 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(). |
|
The cube on that the popup button texture is rendered. Definition at line 149 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(). |
|
Seperator that contains all popup relevant scene graph nodes. Definition at line 143 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(). |
|
A pointer to the popup menu Definition at line 206 of file imedgine_image_viewer.h. |
|
A pointer to the ROI. Definition at line 187 of file imedgine_image_viewer.h. |
|
Separator node that cointains the region of interests. Definition at line 181 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(). |
|
The text that contains the slice number status information. Definition at line 161 of file imedgine_image_viewer.h. |
|
Seperator that contains all status information nodes. Definition at line 155 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::ImedgineImageViewer(). |
|
Holds the current view mode that controls the user interaction. Definition at line 137 of file imedgine_image_viewer.h. Referenced by ImedgineImageViewer::processSoEvent(). |