MeVisLab Toolbox Reference
SoOrthoView2DBase Class Reference

SoOrthoView2DBase uses three SoView2D nodes to create a 3D ortho viewer with three 2D views. More...

#include <SoOrthoView2DBase.h>

Inheritance diagram for SoOrthoView2DBase:
SoOrthoView2D

Static Public Member Functions

static void initClass ()
 inventor runtime type system More...
 

Public Attributes

SoSFString status
 status of extensions (object editing) More...
 
SoSFString seriesInstanceUID
 the DICOM seriesInstanceUID of the image currently displayed More...
 
SoSFBool drawImageData
 Fields. More...
 
SoSFString viewerId1
 id string for 1st viewer, should be unique in a network More...
 
SoSFString viewerId2
 id string for 2nd viewer, should be unique in a network More...
 
SoSFString viewerId3
 id string for 3rd viewer, should be unique in a network More...
 
SoSFEnum blendMode
 blend mode used for slice rendering More...
 
SoSFEnum filterMode
 filter mode used for slice rendering More...
 
SoSFEnum cacheMode
 caching of slices More...
 
SoSFInt32 slab
 slab of slices that are rendered More...
 
SoSFEnum layoutMode
 layout of the 3 views More...
 
SoSFVec3f worldPosition
 current world position More...
 
SoSFBool worldPosSticky
 set if world position should no change when input image changes More...
 
SoSFBool snapToCenter
 snap to center of image when image changes More...
 
SoSFFloat sliceZoom
 the internal slice zoom More...
 
SoSFVec2f sliceOrigin1
 the internal origin of the slice in voxels (for shifting inside of the 1st view) More...
 
SoSFVec2f sliceOrigin2
 the internal origin of the slice in voxels (for shifting inside of the 2nd view) More...
 
SoSFVec2f sliceOrigin3
 the internal origin of the slice in voxels (for shifting inside of the 3rd view) More...
 
SoSFBool synchronizePanning
 Synchronizes panning so that all viewers are consistent with viewingCenter. More...
 
SoSFBool keepSlicesInView
 if this is set, the slices are prevented from leaving the visible area. More...
 
SoSFVec3f viewingCenter
 Common center position (in world CO) of the viewers. More...
 
SoSFVec3f viewingCenter1
 world position of the current center of the viewer1 More...
 
SoSFVec3f viewingCenter2
 world position of the current center of the viewer2 More...
 
SoSFVec3f viewingCenter3
 world position of the current center of the viewer3 More...
 
SoSFBool invertKeyPanningDirections
 invert panning by keyboard More...
 
SoSFTrigger unzoom
 unzoom More...
 
SoSFBool synchronizeZoom
 set if the zooms of the views are synchronized More...
 
SoSFFloat alphaFactor
 alpha factor for drawing More...
 
SoSFColor baseColor
 base color for drawing More...
 
SoSFBool extraViewSpace
 flag if extra space is available (depends on layout) More...
 
SoSFVec2f extraViewLowerLeft
 normalized 2d coordinates of the space, with 0,0 being lower/left More...
 
SoSFVec2f extraViewUpperRight
 normalized 2d coordinates of the space, with 0,0 being lower/left More...
 
SoSFVec2f extraViewSize
 normalized 2d size of the requested extra space. (Only used in LAYOUT_CUBE_CUSTOMIZED mode) More...
 
SoSFInt32 timePoint
 timepoint that is rendered More...
 
SoSFInt32 maxTimePoint
 maximum available timepoint More...
 
SoSFVec2f margin
 margin to the border of the internal viewers More...
 
SoSFBool alternCubeLayout
 flag if the upper left quarter should be used by a viewer in the cube modi More...
 
SoSFTrigger deleteSelected
 trigger the deletion of the selected object in a SoView2DExtension More...
 
SoSFTrigger edit
 trigger the edit mode in a SoView2DExtension More...
 
SoSFBool useManagedInteraction
 prefer to use managed interaction instead of classical event handling if a SoView2DExtension provides it More...
 
SoSFEnum zoomMode
 zoom mode that defines mapping to the viewer area More...
 
SoSFFloat zoomModeParameter
 zoom mode parameter, depends on zoomMode what its value means More...
 
SoSFFloat minSliceZoomKeyboard
 minimum slice zoom for keyboard modifications More...
 
SoSFInt32 sliceStep1
 step to next rendered slice for 1st viewer More...
 
SoSFInt32 sliceStep2
 step to next rendered slice for 2nd viewer More...
 
SoSFInt32 sliceStep3
 step to next rendered slice for 3rd viewer More...
 
SoSFInt32 numSlices1
 number of slices that are rendered for 1st viewer More...
 
SoSFInt32 numSlices2
 number of slices that are rendered for 2nd viewer More...
 
SoSFInt32 numSlices3
 number of slices that are rendered for 3rd viewer More...
 
SoSFInt32 numXSlices1
 number of slices that are rendered in X for 1st viewer More...
 
SoSFInt32 numXSlices2
 number of slices that are rendered in X for 2nd viewer More...
 
SoSFInt32 numXSlices3
 number of slices that are rendered in X for 3rd viewer More...
 
SoSFPlane plane1
 plane representing the slice in world coordinates of 1st viewer More...
 
SoSFPlane plane2
 plane representing the slice in world coordinates of 2nd viewer More...
 
SoSFPlane plane3
 plane representing the slice in world coordinates of 3rd viewer More...
 
SoSFBool synchronizeFilterMode
 Enable/Disable synchronizing of filterMode (used for slice rendering) between all viewers. More...
 
SoSFTrigger startCine
 Cinemode fields, relayed from view2d. However, only timePoint-cine makes sense. More...
 
SoSFTrigger stopCine
 stop the cine mode More...
 
SoSFInt32 cineCenterT
 center of timepoint cine More...
 
SoSFInt32 cineIntervalT
 interval of timepoint cine More...
 
SoSFEnum cineDirection
 direction of Cinemode More...
 
SoSFEnum cineRepeat
 flag to indicated if loop or ping-pong is used More...
 
SoSFFloat cineSpeed
 speed of cine mode (in seconds), minimum cine speed is fixed to one repaint per image More...
 
SoSFBool cineFullRangeT
 flag if the full time range or the time interval is used More...
 
SoSFBool cineAlwaysReset
 Always reset to start time point and forward direction on start press (start with current time point and direction otherwise) More...
 

Protected Member Functions

 SoOrthoView2DBase ()
 constructor, protected since this class is abstract. More...
 
 ~SoOrthoView2DBase () override
 
virtual mlFieldgetMLImageField (int)
 return ML image field for viewer with given viewerIndex (0,1, or 2). More...
 
virtual bool isViewerVisible (int viewerIndex) const
 returns true if the viewer with index viewerIndex (in 0..2) is visible in the current layout More...
 
void positionChangedCB (SoField *)
 callback which forwards to postionChanged() More...
 
void positionChanged ()
 handle changed worldPosition field More...
 
void sliceChangedCB (SoField *)
 callback which forwards to sliceChanged() More...
 
void sliceChanged (SoField *field)
 handle changed slice in one of the SoView2Ds More...
 
void sliceZoomChangedCB (SoField *)
 callback which forwards to sliceZoomChanged() More...
 
void sliceZoomChanged1CB (SoField *)
 callback which forwards to sliceZoomChanged() More...
 
void sliceZoomChanged2CB (SoField *)
 callback which forwards to sliceZoomChanged() More...
 
void sliceZoomChanged3CB (SoField *)
 callback which forwards to sliceZoomChanged() More...
 
void sliceZoomChanged (int which)
 handle a changed slice zoom of one of the SoView2Ds More...
 
void sliceOriginChanged1CB (SoField *)
 callback which updates external field More...
 
void sliceOriginChanged2CB (SoField *)
 callback which updates external field More...
 
void sliceOriginChanged3CB (SoField *)
 callback which updates external field More...
 
void resetPanning ()
 resets panning More...
 
void synchronizePanningChangedCB (SoField *)
 callback which reacts on synchronizePanning state change More...
 
void viewingCenterChangedCB (SoField *)
 callback which forwards to viewingCenterChanged() More...
 
void viewingCenterChanged1CB (SoField *)
 callback which forwards to viewingCenterChanged() More...
 
void viewingCenterChanged2CB (SoField *)
 callback which forwards to viewingCenterChanged() More...
 
void viewingCenterChanged3CB (SoField *)
 callback which forwards to viewingCenterChanged() More...
 
void viewingCenterChanged (int which)
 handle a changed slice origin of one of the SoView2Ds, or the common field (which = -1) More...
 
void setSliceViewingCenterFor (int which, const SbVec3f &center)
 set viewing center for viewer which to center More...
 
void maxTimePointChangedCB (SoField *)
 callback which forwards to maxTimePointChanged() More...
 
void maxTimePointChanged ()
 find max time point in all view2ds and assign to maxTimePoint More...
 
void timeChangedCB (SoField *)
 callback which forwards to timeChanged() More...
 
void timeChanged ()
 handle timepoint change of one of the SoView2Ds More...
 
void marginChangedCB (SoField *)
 callback which forwards to marginChanged() More...
 
void marginChanged ()
 handle margin change More...
 
void zoomModeChangedCB (SoField *)
 callback which forwards to zoomModeChanged() More...
 
void zoomModeChanged ()
 handle zoomMode change More...
 
void zoomModeParameterChangedCB (SoField *)
 callback which forwards to zoomModeParameterChanged() More...
 
void zoomModeParameterChanged ()
 handle zoomModeParameter change More...
 
void plane1ChangedCB (SoField *)
 callback which forwards to plane1Changed() More...
 
void plane1Changed ()
 handle plane1 change More...
 
void plane2ChangedCB (SoField *)
 callback which forwards to plane2Changed() More...
 
void plane2Changed ()
 handle plane2 change More...
 
void plane3ChangedCB (SoField *)
 callback which forwards to plane3Changed() More...
 
void plane3Changed ()
 handle plane3 change More...
 
void filterMode1ChangedCB (SoField *)
 callback which forwards to filterMode1Changed() More...
 
void filterMode1Changed ()
 handle filterMode1 change More...
 
void filterMode2ChangedCB (SoField *)
 callback which forwards to filterMode2Changed() More...
 
void filterMode2Changed ()
 handle filterMode2 change More...
 
void filterMode3ChangedCB (SoField *)
 callback which forwards to filterMode3Changed() More...
 
void filterMode3Changed ()
 handle filterMode3 change More...
 
void startCineModeCB (SoField *)
 callback that calls startCineMode(); More...
 
void startCineMode ()
 Find a valid master viewer and enable time cine mode. More...
 
void stopCineModeCB (SoField *)
 callback that calls stopCineMode(); More...
 
void stopCineMode ()
 stop the cine mode More...
 
void seriesInstanceUIDChangedCB (SoField *)
 callback that calls seriesInstanceUIDChanged(); More...
 
void seriesInstanceUIDChanged ()
 stop the cine mode More...
 
int sliceInit (const SoView2D *view2D, SoSFMLImage *image)
 initialize the slices and worldPosition on image change (called from SoView2D) More...
 
void updateLayoutCB (SoField *)
 callback which forwards to updateLayout() More...
 
void updateLayout ()
 update layout depending on the layoutMode More...
 
void connectFieldsTo (SoView2D *view)
 update internal connections on layout change More...
 
void updateTimePoints ()
 update time points from SoView2Ds to SoOrthoView More...
 

Static Protected Member Functions

static int sliceInitCB (const SoView2D *view2D, SoSFMLImage *image, void *user)
 callback which forwards to sliceInit() More...
 

Protected Attributes

SoSwitch * _switch1
 switch which contain the rendered scene More...
 
SoView2D_view [3]
 list of SoView2D used for the 3 orientations More...
 
SoView2D_lastConnectedView
 remember last view for connectFieldsTo() More...
 
int _timePoint [3]
 timepoints of SoView2Ds to recognize, which SoView2D timepoint has changed More...
 
int _cineMaster
 master view2d index for cine mode. -1 if not running. More...
 
SoFieldSensor * _posSensor
 Field sensors. More...
 
SoFieldSensor * _sliceSensor1
 
SoFieldSensor * _sliceSensor2
 
SoFieldSensor * _sliceSensor3
 
SoFieldSensor * _zoomSensor
 
SoFieldSensor * _zoomSensor1
 
SoFieldSensor * _zoomSensor2
 
SoFieldSensor * _zoomSensor3
 
SoFieldSensor * _viewingCenterSensor
 
bool _inhibitViewingCenterSync
 to temporarily inhibit syncing of viewing centers: More...
 

Detailed Description

SoOrthoView2DBase uses three SoView2D nodes to create a 3D ortho viewer with three 2D views.

This module dynamically loads the MLCoordUtils and creates an internal OrthoReformat3 whose input image is exported as input image of SoOrthoView2DBase.

Definition at line 50 of file SoOrthoView2DBase.h.

Constructor & Destructor Documentation

◆ SoOrthoView2DBase()

SoOrthoView2DBase::SoOrthoView2DBase ( )
protected

constructor, protected since this class is abstract.

◆ ~SoOrthoView2DBase()

SoOrthoView2DBase::~SoOrthoView2DBase ( )
overrideprotected

Member Function Documentation

◆ connectFieldsTo()

void SoOrthoView2DBase::connectFieldsTo ( SoView2D view)
protected

update internal connections on layout change

◆ filterMode1Changed()

void SoOrthoView2DBase::filterMode1Changed ( )
protected

handle filterMode1 change

◆ filterMode1ChangedCB()

void SoOrthoView2DBase::filterMode1ChangedCB ( SoField *  )
protected

callback which forwards to filterMode1Changed()

◆ filterMode2Changed()

void SoOrthoView2DBase::filterMode2Changed ( )
protected

handle filterMode2 change

◆ filterMode2ChangedCB()

void SoOrthoView2DBase::filterMode2ChangedCB ( SoField *  )
protected

callback which forwards to filterMode2Changed()

◆ filterMode3Changed()

void SoOrthoView2DBase::filterMode3Changed ( )
protected

handle filterMode3 change

◆ filterMode3ChangedCB()

void SoOrthoView2DBase::filterMode3ChangedCB ( SoField *  )
protected

callback which forwards to filterMode3Changed()

◆ getMLImageField()

virtual mlField* SoOrthoView2DBase::getMLImageField ( int  )
inlineprotectedvirtual

return ML image field for viewer with given viewerIndex (0,1, or 2).

Returns NULL if not connected.

Reimplemented in SoOrthoView2D.

Definition at line 247 of file SoOrthoView2DBase.h.

◆ initClass()

static void SoOrthoView2DBase::initClass ( )
static

inventor runtime type system

◆ isViewerVisible()

virtual bool SoOrthoView2DBase::isViewerVisible ( int  viewerIndex) const
protectedvirtual

returns true if the viewer with index viewerIndex (in 0..2) is visible in the current layout

◆ marginChanged()

void SoOrthoView2DBase::marginChanged ( )
protected

handle margin change

◆ marginChangedCB()

void SoOrthoView2DBase::marginChangedCB ( SoField *  )
protected

callback which forwards to marginChanged()

◆ maxTimePointChanged()

void SoOrthoView2DBase::maxTimePointChanged ( )
protected

find max time point in all view2ds and assign to maxTimePoint

◆ maxTimePointChangedCB()

void SoOrthoView2DBase::maxTimePointChangedCB ( SoField *  )
protected

callback which forwards to maxTimePointChanged()

◆ plane1Changed()

void SoOrthoView2DBase::plane1Changed ( )
protected

handle plane1 change

◆ plane1ChangedCB()

void SoOrthoView2DBase::plane1ChangedCB ( SoField *  )
protected

callback which forwards to plane1Changed()

◆ plane2Changed()

void SoOrthoView2DBase::plane2Changed ( )
protected

handle plane2 change

◆ plane2ChangedCB()

void SoOrthoView2DBase::plane2ChangedCB ( SoField *  )
protected

callback which forwards to plane2Changed()

◆ plane3Changed()

void SoOrthoView2DBase::plane3Changed ( )
protected

handle plane3 change

◆ plane3ChangedCB()

void SoOrthoView2DBase::plane3ChangedCB ( SoField *  )
protected

callback which forwards to plane3Changed()

◆ positionChanged()

void SoOrthoView2DBase::positionChanged ( )
protected

handle changed worldPosition field

◆ positionChangedCB()

void SoOrthoView2DBase::positionChangedCB ( SoField *  )
protected

callback which forwards to postionChanged()

◆ resetPanning()

void SoOrthoView2DBase::resetPanning ( )
protected

resets panning

◆ seriesInstanceUIDChanged()

void SoOrthoView2DBase::seriesInstanceUIDChanged ( )
protected

stop the cine mode

◆ seriesInstanceUIDChangedCB()

void SoOrthoView2DBase::seriesInstanceUIDChangedCB ( SoField *  )
protected

callback that calls seriesInstanceUIDChanged();

◆ setSliceViewingCenterFor()

void SoOrthoView2DBase::setSliceViewingCenterFor ( int  which,
const SbVec3f &  center 
)
protected

set viewing center for viewer which to center

◆ sliceChanged()

void SoOrthoView2DBase::sliceChanged ( SoField *  field)
protected

handle changed slice in one of the SoView2Ds

◆ sliceChangedCB()

void SoOrthoView2DBase::sliceChangedCB ( SoField *  )
protected

callback which forwards to sliceChanged()

◆ sliceInit()

int SoOrthoView2DBase::sliceInit ( const SoView2D view2D,
SoSFMLImage image 
)
protected

initialize the slices and worldPosition on image change (called from SoView2D)

◆ sliceInitCB()

static int SoOrthoView2DBase::sliceInitCB ( const SoView2D view2D,
SoSFMLImage image,
void *  user 
)
staticprotected

callback which forwards to sliceInit()

◆ sliceOriginChanged1CB()

void SoOrthoView2DBase::sliceOriginChanged1CB ( SoField *  )
protected

callback which updates external field

◆ sliceOriginChanged2CB()

void SoOrthoView2DBase::sliceOriginChanged2CB ( SoField *  )
protected

callback which updates external field

◆ sliceOriginChanged3CB()

void SoOrthoView2DBase::sliceOriginChanged3CB ( SoField *  )
protected

callback which updates external field

◆ sliceZoomChanged()

void SoOrthoView2DBase::sliceZoomChanged ( int  which)
protected

handle a changed slice zoom of one of the SoView2Ds

◆ sliceZoomChanged1CB()

void SoOrthoView2DBase::sliceZoomChanged1CB ( SoField *  )
protected

callback which forwards to sliceZoomChanged()

◆ sliceZoomChanged2CB()

void SoOrthoView2DBase::sliceZoomChanged2CB ( SoField *  )
protected

callback which forwards to sliceZoomChanged()

◆ sliceZoomChanged3CB()

void SoOrthoView2DBase::sliceZoomChanged3CB ( SoField *  )
protected

callback which forwards to sliceZoomChanged()

◆ sliceZoomChangedCB()

void SoOrthoView2DBase::sliceZoomChangedCB ( SoField *  )
protected

callback which forwards to sliceZoomChanged()

◆ startCineMode()

void SoOrthoView2DBase::startCineMode ( )
protected

Find a valid master viewer and enable time cine mode.

◆ startCineModeCB()

void SoOrthoView2DBase::startCineModeCB ( SoField *  )
protected

callback that calls startCineMode();

◆ stopCineMode()

void SoOrthoView2DBase::stopCineMode ( )
protected

stop the cine mode

◆ stopCineModeCB()

void SoOrthoView2DBase::stopCineModeCB ( SoField *  )
protected

callback that calls stopCineMode();

◆ synchronizePanningChangedCB()

void SoOrthoView2DBase::synchronizePanningChangedCB ( SoField *  )
protected

callback which reacts on synchronizePanning state change

◆ timeChanged()

void SoOrthoView2DBase::timeChanged ( )
protected

handle timepoint change of one of the SoView2Ds

◆ timeChangedCB()

void SoOrthoView2DBase::timeChangedCB ( SoField *  )
protected

callback which forwards to timeChanged()

◆ updateLayout()

void SoOrthoView2DBase::updateLayout ( )
protected

update layout depending on the layoutMode

◆ updateLayoutCB()

void SoOrthoView2DBase::updateLayoutCB ( SoField *  )
protected

callback which forwards to updateLayout()

◆ updateTimePoints()

void SoOrthoView2DBase::updateTimePoints ( )
protected

update time points from SoView2Ds to SoOrthoView

◆ viewingCenterChanged()

void SoOrthoView2DBase::viewingCenterChanged ( int  which)
protected

handle a changed slice origin of one of the SoView2Ds, or the common field (which = -1)

◆ viewingCenterChanged1CB()

void SoOrthoView2DBase::viewingCenterChanged1CB ( SoField *  )
protected

callback which forwards to viewingCenterChanged()

◆ viewingCenterChanged2CB()

void SoOrthoView2DBase::viewingCenterChanged2CB ( SoField *  )
protected

callback which forwards to viewingCenterChanged()

◆ viewingCenterChanged3CB()

void SoOrthoView2DBase::viewingCenterChanged3CB ( SoField *  )
protected

callback which forwards to viewingCenterChanged()

◆ viewingCenterChangedCB()

void SoOrthoView2DBase::viewingCenterChangedCB ( SoField *  )
protected

callback which forwards to viewingCenterChanged()

◆ zoomModeChanged()

void SoOrthoView2DBase::zoomModeChanged ( )
protected

handle zoomMode change

◆ zoomModeChangedCB()

void SoOrthoView2DBase::zoomModeChangedCB ( SoField *  )
protected

callback which forwards to zoomModeChanged()

◆ zoomModeParameterChanged()

void SoOrthoView2DBase::zoomModeParameterChanged ( )
protected

handle zoomModeParameter change

◆ zoomModeParameterChangedCB()

void SoOrthoView2DBase::zoomModeParameterChangedCB ( SoField *  )
protected

callback which forwards to zoomModeParameterChanged()

Member Data Documentation

◆ _cineMaster

int SoOrthoView2DBase::_cineMaster
protected

master view2d index for cine mode. -1 if not running.

Definition at line 393 of file SoOrthoView2DBase.h.

◆ _inhibitViewingCenterSync

bool SoOrthoView2DBase::_inhibitViewingCenterSync
protected

to temporarily inhibit syncing of viewing centers:

Definition at line 409 of file SoOrthoView2DBase.h.

◆ _lastConnectedView

SoView2D* SoOrthoView2DBase::_lastConnectedView
protected

remember last view for connectFieldsTo()

Definition at line 387 of file SoOrthoView2DBase.h.

◆ _posSensor

SoFieldSensor* SoOrthoView2DBase::_posSensor
protected

Field sensors.

Definition at line 396 of file SoOrthoView2DBase.h.

◆ _sliceSensor1

SoFieldSensor* SoOrthoView2DBase::_sliceSensor1
protected

Definition at line 397 of file SoOrthoView2DBase.h.

◆ _sliceSensor2

SoFieldSensor* SoOrthoView2DBase::_sliceSensor2
protected

Definition at line 398 of file SoOrthoView2DBase.h.

◆ _sliceSensor3

SoFieldSensor* SoOrthoView2DBase::_sliceSensor3
protected

Definition at line 399 of file SoOrthoView2DBase.h.

◆ _switch1

SoSwitch* SoOrthoView2DBase::_switch1
protected

switch which contain the rendered scene

Definition at line 381 of file SoOrthoView2DBase.h.

◆ _timePoint

int SoOrthoView2DBase::_timePoint[3]
protected

timepoints of SoView2Ds to recognize, which SoView2D timepoint has changed

Definition at line 390 of file SoOrthoView2DBase.h.

◆ _view

SoView2D* SoOrthoView2DBase::_view[3]
protected

list of SoView2D used for the 3 orientations

Definition at line 384 of file SoOrthoView2DBase.h.

◆ _viewingCenterSensor

SoFieldSensor* SoOrthoView2DBase::_viewingCenterSensor
protected

Definition at line 406 of file SoOrthoView2DBase.h.

◆ _zoomSensor

SoFieldSensor* SoOrthoView2DBase::_zoomSensor
protected

Definition at line 401 of file SoOrthoView2DBase.h.

◆ _zoomSensor1

SoFieldSensor* SoOrthoView2DBase::_zoomSensor1
protected

Definition at line 402 of file SoOrthoView2DBase.h.

◆ _zoomSensor2

SoFieldSensor* SoOrthoView2DBase::_zoomSensor2
protected

Definition at line 403 of file SoOrthoView2DBase.h.

◆ _zoomSensor3

SoFieldSensor* SoOrthoView2DBase::_zoomSensor3
protected

Definition at line 404 of file SoOrthoView2DBase.h.

◆ alphaFactor

SoSFFloat SoOrthoView2DBase::alphaFactor

alpha factor for drawing

Definition at line 130 of file SoOrthoView2DBase.h.

◆ alternCubeLayout

SoSFBool SoOrthoView2DBase::alternCubeLayout

flag if the upper left quarter should be used by a viewer in the cube modi

Definition at line 152 of file SoOrthoView2DBase.h.

◆ baseColor

SoSFColor SoOrthoView2DBase::baseColor

base color for drawing

Definition at line 132 of file SoOrthoView2DBase.h.

◆ blendMode

SoSFEnum SoOrthoView2DBase::blendMode

blend mode used for slice rendering

Definition at line 68 of file SoOrthoView2DBase.h.

◆ cacheMode

SoSFEnum SoOrthoView2DBase::cacheMode

caching of slices

Definition at line 72 of file SoOrthoView2DBase.h.

◆ cineAlwaysReset

SoSFBool SoOrthoView2DBase::cineAlwaysReset

Always reset to start time point and forward direction on start press (start with current time point and direction otherwise)

Definition at line 222 of file SoOrthoView2DBase.h.

◆ cineCenterT

SoSFInt32 SoOrthoView2DBase::cineCenterT

center of timepoint cine

Definition at line 209 of file SoOrthoView2DBase.h.

◆ cineDirection

SoSFEnum SoOrthoView2DBase::cineDirection

direction of Cinemode

Definition at line 213 of file SoOrthoView2DBase.h.

◆ cineFullRangeT

SoSFBool SoOrthoView2DBase::cineFullRangeT

flag if the full time range or the time interval is used

Definition at line 219 of file SoOrthoView2DBase.h.

◆ cineIntervalT

SoSFInt32 SoOrthoView2DBase::cineIntervalT

interval of timepoint cine

Definition at line 211 of file SoOrthoView2DBase.h.

◆ cineRepeat

SoSFEnum SoOrthoView2DBase::cineRepeat

flag to indicated if loop or ping-pong is used

Definition at line 215 of file SoOrthoView2DBase.h.

◆ cineSpeed

SoSFFloat SoOrthoView2DBase::cineSpeed

speed of cine mode (in seconds), minimum cine speed is fixed to one repaint per image

Definition at line 217 of file SoOrthoView2DBase.h.

◆ deleteSelected

SoSFTrigger SoOrthoView2DBase::deleteSelected

trigger the deletion of the selected object in a SoView2DExtension

Definition at line 155 of file SoOrthoView2DBase.h.

◆ drawImageData

SoSFBool SoOrthoView2DBase::drawImageData

Fields.

flag if image data should be drawn

Definition at line 58 of file SoOrthoView2DBase.h.

◆ edit

SoSFTrigger SoOrthoView2DBase::edit

trigger the edit mode in a SoView2DExtension

Definition at line 157 of file SoOrthoView2DBase.h.

◆ extraViewLowerLeft

SoSFVec2f SoOrthoView2DBase::extraViewLowerLeft

normalized 2d coordinates of the space, with 0,0 being lower/left

Definition at line 137 of file SoOrthoView2DBase.h.

◆ extraViewSize

SoSFVec2f SoOrthoView2DBase::extraViewSize

normalized 2d size of the requested extra space. (Only used in LAYOUT_CUBE_CUSTOMIZED mode)

Definition at line 141 of file SoOrthoView2DBase.h.

◆ extraViewSpace

SoSFBool SoOrthoView2DBase::extraViewSpace

flag if extra space is available (depends on layout)

Definition at line 135 of file SoOrthoView2DBase.h.

◆ extraViewUpperRight

SoSFVec2f SoOrthoView2DBase::extraViewUpperRight

normalized 2d coordinates of the space, with 0,0 being lower/left

Definition at line 139 of file SoOrthoView2DBase.h.

◆ filterMode

SoSFEnum SoOrthoView2DBase::filterMode

filter mode used for slice rendering

Definition at line 70 of file SoOrthoView2DBase.h.

◆ invertKeyPanningDirections

SoSFBool SoOrthoView2DBase::invertKeyPanningDirections

invert panning by keyboard

Definition at line 121 of file SoOrthoView2DBase.h.

◆ keepSlicesInView

SoSFBool SoOrthoView2DBase::keepSlicesInView

if this is set, the slices are prevented from leaving the visible area.

This option can interfere with option synchronizePanning

Definition at line 102 of file SoOrthoView2DBase.h.

◆ layoutMode

SoSFEnum SoOrthoView2DBase::layoutMode

layout of the 3 views

Definition at line 77 of file SoOrthoView2DBase.h.

◆ margin

SoSFVec2f SoOrthoView2DBase::margin

margin to the border of the internal viewers

Definition at line 149 of file SoOrthoView2DBase.h.

◆ maxTimePoint

SoSFInt32 SoOrthoView2DBase::maxTimePoint

maximum available timepoint

Definition at line 146 of file SoOrthoView2DBase.h.

◆ minSliceZoomKeyboard

SoSFFloat SoOrthoView2DBase::minSliceZoomKeyboard

minimum slice zoom for keyboard modifications

Definition at line 170 of file SoOrthoView2DBase.h.

◆ numSlices1

SoSFInt32 SoOrthoView2DBase::numSlices1

number of slices that are rendered for 1st viewer

Definition at line 179 of file SoOrthoView2DBase.h.

◆ numSlices2

SoSFInt32 SoOrthoView2DBase::numSlices2

number of slices that are rendered for 2nd viewer

Definition at line 181 of file SoOrthoView2DBase.h.

◆ numSlices3

SoSFInt32 SoOrthoView2DBase::numSlices3

number of slices that are rendered for 3rd viewer

Definition at line 183 of file SoOrthoView2DBase.h.

◆ numXSlices1

SoSFInt32 SoOrthoView2DBase::numXSlices1

number of slices that are rendered in X for 1st viewer

Definition at line 185 of file SoOrthoView2DBase.h.

◆ numXSlices2

SoSFInt32 SoOrthoView2DBase::numXSlices2

number of slices that are rendered in X for 2nd viewer

Definition at line 187 of file SoOrthoView2DBase.h.

◆ numXSlices3

SoSFInt32 SoOrthoView2DBase::numXSlices3

number of slices that are rendered in X for 3rd viewer

Definition at line 189 of file SoOrthoView2DBase.h.

◆ plane1

SoSFPlane SoOrthoView2DBase::plane1

plane representing the slice in world coordinates of 1st viewer

Definition at line 193 of file SoOrthoView2DBase.h.

◆ plane2

SoSFPlane SoOrthoView2DBase::plane2

plane representing the slice in world coordinates of 2nd viewer

Definition at line 195 of file SoOrthoView2DBase.h.

◆ plane3

SoSFPlane SoOrthoView2DBase::plane3

plane representing the slice in world coordinates of 3rd viewer

Definition at line 197 of file SoOrthoView2DBase.h.

◆ seriesInstanceUID

SoSFString SoOrthoView2DBase::seriesInstanceUID

the DICOM seriesInstanceUID of the image currently displayed

Definition at line 231 of file SoOrthoView2DBase.h.

◆ slab

SoSFInt32 SoOrthoView2DBase::slab

slab of slices that are rendered

Definition at line 74 of file SoOrthoView2DBase.h.

◆ sliceOrigin1

SoSFVec2f SoOrthoView2DBase::sliceOrigin1

the internal origin of the slice in voxels (for shifting inside of the 1st view)

Definition at line 89 of file SoOrthoView2DBase.h.

◆ sliceOrigin2

SoSFVec2f SoOrthoView2DBase::sliceOrigin2

the internal origin of the slice in voxels (for shifting inside of the 2nd view)

Definition at line 92 of file SoOrthoView2DBase.h.

◆ sliceOrigin3

SoSFVec2f SoOrthoView2DBase::sliceOrigin3

the internal origin of the slice in voxels (for shifting inside of the 3rd view)

Definition at line 95 of file SoOrthoView2DBase.h.

◆ sliceStep1

SoSFInt32 SoOrthoView2DBase::sliceStep1

step to next rendered slice for 1st viewer

Definition at line 173 of file SoOrthoView2DBase.h.

◆ sliceStep2

SoSFInt32 SoOrthoView2DBase::sliceStep2

step to next rendered slice for 2nd viewer

Definition at line 175 of file SoOrthoView2DBase.h.

◆ sliceStep3

SoSFInt32 SoOrthoView2DBase::sliceStep3

step to next rendered slice for 3rd viewer

Definition at line 177 of file SoOrthoView2DBase.h.

◆ sliceZoom

SoSFFloat SoOrthoView2DBase::sliceZoom

the internal slice zoom

Definition at line 86 of file SoOrthoView2DBase.h.

◆ snapToCenter

SoSFBool SoOrthoView2DBase::snapToCenter

snap to center of image when image changes

Definition at line 84 of file SoOrthoView2DBase.h.

◆ startCine

SoSFTrigger SoOrthoView2DBase::startCine

Cinemode fields, relayed from view2d. However, only timePoint-cine makes sense.

start the cine mode

Definition at line 205 of file SoOrthoView2DBase.h.

◆ status

SoSFString SoOrthoView2DBase::status

status of extensions (object editing)

Definition at line 228 of file SoOrthoView2DBase.h.

◆ stopCine

SoSFTrigger SoOrthoView2DBase::stopCine

stop the cine mode

Definition at line 207 of file SoOrthoView2DBase.h.

◆ synchronizeFilterMode

SoSFBool SoOrthoView2DBase::synchronizeFilterMode

Enable/Disable synchronizing of filterMode (used for slice rendering) between all viewers.

Definition at line 200 of file SoOrthoView2DBase.h.

◆ synchronizePanning

SoSFBool SoOrthoView2DBase::synchronizePanning

Synchronizes panning so that all viewers are consistent with viewingCenter.

See also
viewingCenter.

Definition at line 98 of file SoOrthoView2DBase.h.

◆ synchronizeZoom

SoSFBool SoOrthoView2DBase::synchronizeZoom

set if the zooms of the views are synchronized

Definition at line 127 of file SoOrthoView2DBase.h.

◆ timePoint

SoSFInt32 SoOrthoView2DBase::timePoint

timepoint that is rendered

Definition at line 144 of file SoOrthoView2DBase.h.

◆ unzoom

SoSFTrigger SoOrthoView2DBase::unzoom

unzoom

Definition at line 124 of file SoOrthoView2DBase.h.

◆ useManagedInteraction

SoSFBool SoOrthoView2DBase::useManagedInteraction

prefer to use managed interaction instead of classical event handling if a SoView2DExtension provides it

Definition at line 161 of file SoOrthoView2DBase.h.

◆ viewerId1

SoSFString SoOrthoView2DBase::viewerId1

id string for 1st viewer, should be unique in a network

Definition at line 61 of file SoOrthoView2DBase.h.

◆ viewerId2

SoSFString SoOrthoView2DBase::viewerId2

id string for 2nd viewer, should be unique in a network

Definition at line 63 of file SoOrthoView2DBase.h.

◆ viewerId3

SoSFString SoOrthoView2DBase::viewerId3

id string for 3rd viewer, should be unique in a network

Definition at line 65 of file SoOrthoView2DBase.h.

◆ viewingCenter

SoSFVec3f SoOrthoView2DBase::viewingCenter

Common center position (in world CO) of the viewers.

I.e, the orthogonal projection of a 2d scene to the device center of the viewer ALWAYS hits this point. This is used to make panning persistent and synchronizable between viewers of different orientation. Valid and evaluated only if synchronizePanning is enabled.

Definition at line 109 of file SoOrthoView2DBase.h.

◆ viewingCenter1

SoSFVec3f SoOrthoView2DBase::viewingCenter1

world position of the current center of the viewer1

Definition at line 112 of file SoOrthoView2DBase.h.

◆ viewingCenter2

SoSFVec3f SoOrthoView2DBase::viewingCenter2

world position of the current center of the viewer2

Definition at line 115 of file SoOrthoView2DBase.h.

◆ viewingCenter3

SoSFVec3f SoOrthoView2DBase::viewingCenter3

world position of the current center of the viewer3

Definition at line 118 of file SoOrthoView2DBase.h.

◆ worldPosition

SoSFVec3f SoOrthoView2DBase::worldPosition

current world position

Definition at line 79 of file SoOrthoView2DBase.h.

◆ worldPosSticky

SoSFBool SoOrthoView2DBase::worldPosSticky

set if world position should no change when input image changes

Definition at line 81 of file SoOrthoView2DBase.h.

◆ zoomMode

SoSFEnum SoOrthoView2DBase::zoomMode

zoom mode that defines mapping to the viewer area

Definition at line 164 of file SoOrthoView2DBase.h.

◆ zoomModeParameter

SoSFFloat SoOrthoView2DBase::zoomModeParameter

zoom mode parameter, depends on zoomMode what its value means

Definition at line 167 of file SoOrthoView2DBase.h.


The documentation for this class was generated from the following file: