#include <spatial_pixel_view.h>
Inherits VolumePixelView.
Inheritance diagram for SpatialPixelView:
Public Member Functions | |
SpatialPixelView () | |
virtual | ~SpatialPixelView () |
virtual view_pointer_type | clone () const |
virtual void | setDataset (dataset_pointer_type dataset) throw (NullPointerException, InvalidCastException) |
virtual void | setParent (QWidget *view_parent) throw (NullPointerException) |
virtual void | onDataChangedEvent (dataset_attribute_type changed_attribute) |
void | updateView () throw (NullPointerException) |
ImedgineSpatialViewer * | getRenderArea () |
Protected Member Functions | |
SpatialPixelView (SpatialPixelView const &src) | |
virtual void | createSceneGraph () |
void | createColorMap () |
Protected Attributes | |
std::auto_ptr< ImedgineSpatialViewer > | render_area_ |
The viewer that renders the dataset. | |
SoVolumeData * | current_volume_ |
Volume data that will be rendered in the scene. | |
SoTransferFunction * | transfunc_ |
Transfer function that is needed for the color coding. | |
SoVolumeRender * | volrend_ |
The volume renderer (currently SimVoleon). | |
int | render_view_mode_ |
The render mode (standard or alpha blending). | |
int | render_color_ |
The rendering color (grey, red, green, blue). |
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 47 of file spatial_pixel_view.h.
|
Constructor Definition at line 19 of file spatial_pixel_view.cpp. References SpatialPixelView::createSceneGraph(). Referenced by SpatialPixelView::clone(). Here is the call graph for this function: ![]() |
|
Destructor Definition at line 39 of file spatial_pixel_view.cpp. |
|
Copy constructor Definition at line 29 of file spatial_pixel_view.cpp. References SpatialPixelView::createSceneGraph(). Here is the call graph for this function: ![]() |
|
Virtual copy constructor Implements View. Definition at line 48 of file spatial_pixel_view.cpp. References SpatialPixelView::SpatialPixelView(). Here is the call graph for this function: ![]() |
|
All scene graph nodes are created here. The method will be called in the constructor and the copy constructor (for view copies). Reimplemented from View. Definition at line 55 of file spatial_pixel_view.cpp. References SpatialPixelView::createColorMap(), SpatialPixelView::current_volume_, View::root_, SpatialPixelView::transfunc_, and SpatialPixelView::volrend_. Referenced by SpatialPixelView::SpatialPixelView(). Here is the call graph for this function: ![]() |
|
Get the viewer that handles the rendering of the volume data
Definition at line 102 of file spatial_pixel_view.h. References SpatialPixelView::render_area_. |
|
React to change of the displayed dataset.
Reimplemented from View. Definition at line 106 of file spatial_pixel_view.cpp. References SpatialPixelView::updateView(). Here is the call graph for this function: ![]() |
|
Set the dataset that the view shows
Reimplemented from VolumePixelView. Definition at line 91 of file spatial_pixel_view.cpp. References VolumePixelView::setDataset(), X_DIMENSION, Y_DIMENSION, and Z_DIMENSION. Here is the call graph for this function: ![]() |
|
Set the GUI parent element of this view
Reimplemented from View. Definition at line 75 of file spatial_pixel_view.cpp. References View::setParent(). Here is the call graph for this function: ![]() |
|
Re-render the current dataset Implements View. Definition at line 128 of file spatial_pixel_view.cpp. References SpatialPixelView::render_area_, and VolumePixelView::volume_dataset_. Referenced by SpatialPixelView::onDataChangedEvent(). |