MeVisLab Toolbox Reference
|
A visualization class for the structure of a MultiFileVolume; work in progress. More...
#include <mlMultiFileVolumeListDraftView.h>
Classes | |
struct | FrameInfo |
Collects all information about a frame to be displayed . More... | |
Public Member Functions | |
MultiFileVolumeListDraftView () | |
Constructor. | |
virtual | ~MultiFileVolumeListDraftView () override |
Destructor. | |
Protected Member Functions | |
virtual void | activateAttachments () override |
Called after changes of module fields which were done without handleNotification calls. | |
virtual void | handleNotification (Field *field) override |
Called when a parameter field is changed. | |
void | _setGeometricDefaults () |
Sets fields to values such that volumes are displayed at their geometric correct position even if they overlap. | |
void | _setConvenienceDefaults () |
Sets fields to values such that volumes are layouted in a way such that they can be overviewed well. | |
void | _updateVis () |
Removes all currently displayed frames and adds those from the currently loaded or connected volume list. | |
void | _setUpTreeRoot () |
Sets up the parent node under which all subtrees are appended. | |
void | _calculateVolumeShift (const FrameInfo &frameInfo, size_t timePoint, bool &appendDots, bool &allowDrawing, double &dotShiftX, double &dotShiftY, double &dotShiftZ) const |
Calculates whether the current volume or frame given by frameInfo shall (and where to) be drawn or whether it shall be skipped. | |
void | _appendTextStyle () |
Appends the Open Inventor text style setting for the entire scene graph. | |
void | _appendVolumeList (FrameInfo &volumeListInfo) |
Appends all frames of all MultiFileVolumes of the given MultiFileVolumeList volList. | |
void | _appendVolume (FrameInfo &volumeInfo) |
Appends all frames of the MultiFileVolume volume with number volumeIndex from a number of numVolumes in a VolumeList. | |
void | _appendVolumeTreeAsFrames (FrameInfo &volumeInfo) |
Appends a tree to the root which displays one volume as heap of frames. | |
void | _appendFileNameSet (FrameInfo &fileNameSetInfo) |
Appends all frames of the file name set fileNameSet of volume with number volumeIndex from a number of numVolumes in a VolumeList. | |
void | _appendFileHandle (FrameInfo &handleInfo) |
Appends the frames corresponding to the given fileHandle. | |
void | _appendDCMTree (FrameInfo &dcmTreeInfo) |
Appends the frame defined by the given DCMTree if it is valid, otherwise it does nothing. | |
void | _appendPagedImage (FrameInfo &frameInfo, const PagedImage &imgProps) |
Appends the frame or volume defined by the given PagedImage if it is valid, otherwise it does nothing. | |
void | _appendFrameInventorScene (FrameInfo &frameInfo) |
Appends the Open Inventor scene graph for a frame. | |
void | _appendLocalRoot (FrameInfo &frameInfo) |
Appends the Open Inventor root for the local scene or the frame. | |
void | _appendColorSettings (FrameInfo &frameInfo) |
Appends the Open Inventor color settings for the frame. | |
void | _appendTransformation (FrameInfo &frameInfo) |
Appends the Open Inventor transformation of the frame. | |
void | _appendHandMadeTransformation (FrameInfo &frameInfo) |
Appends the Open Inventor frame transformations built manually from DCMTree tags. | |
void | _appendVolumeShift (FrameInfo &frameInfo, size_t overrideTimePoint=0u) |
Appends the Open Inventor transformations for frameInfo.tFrameIndex and possibly drawn abbreviation dots between time points; if overrideTimePoint != 0u then shift is calculated for overrideTimePoint instead of tFrameIndex. | |
void | _appendDotsAtVolumeLocation2 (FrameInfo &frameInfo) |
Append text which draws "..." at center of volume at position 2. | |
void | _appendTextAnnotationsToFrame (FrameInfo &frameInfo) |
Appends the string annotations to the frame. | |
void | _appendShapeGeometry (FrameInfo &frameInfo) |
Appends the Open Inventor line geometry of the frame for a single time point. | |
void | _appendVolumeCoordinateSystem (FrameInfo frameInfo) |
Appends the volume coordinate system if enabled. | |
A visualization class for the structure of a MultiFileVolume; work in progress.
Definition at line 37 of file mlMultiFileVolumeListDraftView.h.
ml::MultiFileVolumeListDraftView::MultiFileVolumeListDraftView | ( | ) |
Constructor.
Initializes the fields, the members and the field connections with the field container.
|
overridevirtual |
Destructor.
Appends the Open Inventor color settings for the frame.
Appends the frame defined by the given DCMTree if it is valid, otherwise it does nothing.
The file handle if provided only for error messaging.
|
protected |
Append text which draws "..." at center of volume at position 2.
Appends the frames corresponding to the given fileHandle.
Appends all frames of the file name set fileNameSet of volume with number volumeIndex from a number of numVolumes in a VolumeList.
Appends the Open Inventor scene graph for a frame.
|
protected |
Appends the Open Inventor frame transformations built manually from DCMTree tags.
Appends the Open Inventor root for the local scene or the frame.
|
protected |
Appends the frame or volume defined by the given PagedImage if it is valid, otherwise it does nothing.
The file handle if provided (only for error messaging).
Appends the Open Inventor line geometry of the frame for a single time point.
|
protected |
Appends the string annotations to the frame.
|
protected |
Appends the Open Inventor text style setting for the entire scene graph.
Appends the Open Inventor transformation of the frame.
Appends all frames of the MultiFileVolume volume with number volumeIndex from a number of numVolumes in a VolumeList.
|
protected |
Appends the volume coordinate system if enabled.
Appends all frames of all MultiFileVolumes of the given MultiFileVolumeList volList.
|
protected |
Appends the Open Inventor transformations for frameInfo.tFrameIndex and possibly drawn abbreviation dots between time points; if overrideTimePoint != 0u then shift is calculated for overrideTimePoint instead of tFrameIndex.
|
protected |
Appends a tree to the root which displays one volume as heap of frames.
|
protected |
Calculates whether the current volume or frame given by frameInfo shall (and where to) be drawn or whether it shall be skipped.
frameInfo | The frame description. |
timePoint | The time point for which the calculation shall be performed. |
appendDots | Will be set to true/false whether frame dots shall be drawn or not at shift[X|Y|Z]. |
allowDrawing | Must input current drawing state flag and will be set to true/false whether the frame shall be drawn or not. |
dotShiftX | Returns x draw position for dots if appendDots is true. |
dotShiftY | Returns y draw position for dots if appendDots is true. |
dotShiftZ | Returns z draw position for dots if appendDots is true. |
|
protected |
Sets fields to values such that volumes are layouted in a way such that they can be overviewed well.
|
protected |
Sets fields to values such that volumes are displayed at their geometric correct position even if they overlap.
|
protected |
Sets up the parent node under which all subtrees are appended.
|
protected |
Removes all currently displayed frames and adds those from the currently loaded or connected volume list.
Called after changes of module fields which were done without handleNotification calls.
Reimplemented from ml::MultiFileVolumeListBaseOutput.
|
overrideprotectedvirtual |
Called when a parameter field is changed.
Reimplemented from ml::MultiFileVolumeListBaseOutput.