#include <xz_slice_view.h>
Inherits SlicePixelView.
Inheritance diagram for XZSliceView:
Public Member Functions | |
XZSliceView () | |
virtual | ~XZSliceView () |
view_pointer_type | clone () const |
virtual void | onDataChangedEvent (dataset_attribute_type changed_attribute) throw (NullPointerException) |
virtual void | updateView () throw (NullPointerException) |
virtual void | setFocusPoint2D (index_type x, index_type z) throw (NullPointerException) |
virtual void | setSliceIndex (index_type slice_index) throw (NullPointerException) |
virtual index_type | getSliceIndex () const |
virtual index_type | getNumSlices () const |
virtual SbVec2s | getSliceResolution () const |
virtual SbVec2s | getSecondSliceResolution () const |
virtual void | drawCrosshair () |
Protected Member Functions | |
XZSliceView (view_type type) | |
XZSliceView (XZSliceView const &src) |
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 35 of file xz_slice_view.h.
|
Constructor Definition at line 18 of file xz_slice_view.cpp. Referenced by XZSliceView::clone(). |
|
Destructor Definition at line 39 of file xz_slice_view.cpp. |
|
Constructor Definition at line 25 of file xz_slice_view.cpp. |
|
Copy constructor Definition at line 32 of file xz_slice_view.cpp. |
|
Virtual copy constructor Implements View. Definition at line 48 of file xz_slice_view.cpp. References XZSliceView::XZSliceView(). Here is the call graph for this function: ![]() |
|
Draws the crosshair position at current focus position. Implements SlicePixelView. Definition at line 235 of file xz_slice_view.cpp. References SlicePixelView::crosshair_coords_, SlicePixelView::crosshair_lines_, VolumePixelView::current_focus_point_, SlicePixelView::render_area_, X_DIMENSION, Y_DIMENSION, and Z_DIMENSION. Referenced by XZSliceView::updateView(). |
|
Return the number of slices.
Implements SlicePixelView. Definition at line 203 of file xz_slice_view.cpp. References VolumePixelView::volume_dataset_, and Y_DIMENSION. |
|
Return the x/z resolution of the second dataset (which is used for the hybrid view).
Implements SlicePixelView. Definition at line 222 of file xz_slice_view.cpp. References VolumePixelView::second_volume_dataset_, X_DIMENSION, and Z_DIMENSION. |
|
Return the slice index of the dataset.
Implements SlicePixelView. Definition at line 196 of file xz_slice_view.cpp. References VolumePixelView::current_focus_point_, and Y_DIMENSION. Referenced by XZSliceView::updateView(). |
|
Return the x/z resolution of the dataset.
Implements SlicePixelView. Definition at line 210 of file xz_slice_view.cpp. References VolumePixelView::volume_dataset_, X_DIMENSION, and Z_DIMENSION. |
|
React to a change to the dataset
Reimplemented from SlicePixelView. Definition at line 110 of file xz_slice_view.cpp. References Y_DIMENSION. |
|
Set the 2D focus point of that slice in the dataset and fire the dataset changed event of type DATASET_ATTRIBUTE_FOCUS_POINT.
Implements SlicePixelView. Definition at line 140 of file xz_slice_view.cpp. References X_DIMENSION, and Z_DIMENSION. |
|
Set the slice index in the dataset and fire the dataset changed event of type DATASET_ATTRIBUTE_FOCUS_POINT.
Implements SlicePixelView. Definition at line 173 of file xz_slice_view.cpp. References Y_DIMENSION. |
|
Redraw the the XZ slice at the current focus position Reimplemented from SlicePixelView. Definition at line 55 of file xz_slice_view.cpp. References SlicePixelView::current_image_texture_, SlicePixelView::current_second_image_texture_, XZSliceView::drawCrosshair(), XZSliceView::getSliceIndex(), SlicePixelView::render_area_, VolumePixelView::second_volume_dataset_, SlicePixelView::slice_dataset_material_, SlicePixelView::slice_second_dataset_material_, SlicePixelView::updateView(), VolumePixelView::volume_dataset_, X_DIMENSION, Y_DIMENSION, and Z_DIMENSION. Here is the call graph for this function: ![]() |