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. More... | |
virtual | ~MultiFileVolumeListDraftView () override |
Destructor. More... | |
Protected Member Functions | |
virtual void | activateAttachments () override |
Called after changes of module fields which were done without handleNotification calls. More... | |
virtual void | handleNotification (Field *field) override |
Called when a parameter field is changed. More... | |
void | _setGeometricDefaults () |
Sets fields to values such that volumes are displayed at their geometric correct position even if they overlap. More... | |
void | _setConvenienceDefaults () |
Sets fields to values such that volumes are layouted in a way such that they can be overviewed well. More... | |
void | _updateVis () |
Removes all currently displayed frames and adds those from the currently loaded or connected volume list. More... | |
void | _setUpTreeRoot () |
Sets up the parent node under which all subtrees are appended. More... | |
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. More... | |
void | _appendTextStyle () |
Appends the Open Inventor text style setting for the entire scene graph. More... | |
void | _appendVolumeList (FrameInfo &volumeListInfo) |
Appends all frames of all MultiFileVolumes of the given MultiFileVolumeList volList. More... | |
void | _appendVolume (FrameInfo &volumeInfo) |
Appends all frames of the MultiFileVolume volume with number volumeIndex from a number of numVolumes in a VolumeList. More... | |
void | _appendVolumeTreeAsFrames (FrameInfo &volumeInfo) |
Appends a tree to the root which displays one volume as heap of frames. More... | |
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. More... | |
void | _appendFileHandle (FrameInfo &handleInfo) |
Appends the frames corresponding to the given fileHandle. More... | |
void | _appendDCMTree (FrameInfo &dcmTreeInfo) |
Appends the frame defined by the given DCMTree if it is valid, otherwise it does nothing. More... | |
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. More... | |
void | _appendFrameInventorScene (FrameInfo &frameInfo) |
Appends the Open Inventor scene graph for a frame. More... | |
void | _appendLocalRoot (FrameInfo &frameInfo) |
Appends the Open Inventor root for the local scene or the frame. More... | |
void | _appendColorSettings (FrameInfo &frameInfo) |
Appends the Open Inventor color settings for the frame. More... | |
void | _appendTransformation (FrameInfo &frameInfo) |
Appends the Open Inventor transformation of the frame. More... | |
void | _appendHandMadeTransformation (FrameInfo &frameInfo) |
Appends the Open Inventor frame transformations built manually from DCMTree tags. More... | |
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. More... | |
void | _appendDotsAtVolumeLocation2 (FrameInfo &frameInfo) |
Append text which draws "..." at center of volume at position 2. More... | |
void | _appendTextAnnotationsToFrame (FrameInfo &frameInfo) |
Appends the string annotations to the frame. More... | |
void | _appendShapeGeometry (FrameInfo &frameInfo) |
Appends the Open Inventor line geometry of the frame for a single time point. More... | |
void | _appendVolumeCoordinateSystem (FrameInfo frameInfo) |
Appends the volume coordinate system if enabled. More... | |
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.
|
protected |
Appends the Open Inventor color settings for the frame.
|
protected |
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.
|
protected |
Appends the frames corresponding to the given fileHandle.
|
protected |
Appends all frames of the file name set fileNameSet of volume with number volumeIndex from a number of numVolumes in a VolumeList.
|
protected |
Appends the Open Inventor scene graph for a frame.
|
protected |
Appends the Open Inventor frame transformations built manually from DCMTree tags.
|
protected |
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).
|
protected |
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.
|
protected |
Appends the Open Inventor transformation of the frame.
|
protected |
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.
|
protected |
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.
|
overrideprotectedvirtual |
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.