#include <ImFusion/GUI/LoadRawDialog.h>
Dialog for loading raw files, conveniently figuring out dimensions and settings.
More...
Dialog for loading raw files, conveniently figuring out dimensions and settings.
|
|
void | onSetType (int) |
| |
|
void | onSetDimX (int val) |
| |
|
void | onSetDimY (int val) |
| |
|
void | onSetDimZ (int val) |
| |
|
void | onSet3D (bool flag) |
| |
|
void | onSetOffset (int val) |
| |
|
void | onSetChannels (int val) |
| |
|
void | onSetImages (int val) |
| |
|
void | onSetFile () |
| |
|
void | onSaveMHD () |
| |
|
void | onMetric () |
| |
|
void | onStrict (bool flag) |
| |
|
void | onNonStrict () |
| |
|
| | LoadRawDialog (const QString &filename, QWidget *parent=nullptr) |
| | Construct dialog for loading raw files.
|
| |
|
| ~LoadRawDialog () override |
| | Destructor.
|
| |
|
ImageDescriptor | descriptor (int &framesOut) const |
| | Returns the computed image descriptor and number of frames.
|
| |
|
int64_t | offset () const |
| | Return the desired offset.
|
| |
|
int | channels () const |
| | Return the desired number of channels.
|
| |
|
bool | msb () const |
| | Return the MSB flag.
|
| |
|
vec3 | spacing () const |
| | Return the spacing.
|
| |
|
bool | metric () const |
| | Return whether spacing is metric.
|
| |
|
QString | filename () const |
| | Return the filename which might have been changed in the dialog.
|
| |
|
void | setPreviewView (ImageView2D *view) |
| | Assign an optional view that can show a preview of resulting image.
|
| |
|
void | setUsePreviewView (bool value) |
| | Set the flag whether the preview view shall be shown and used.
|
| |
|
|
void | setSilent (QComboBox *element, int val) |
| |
|
void | setAllFactors () |
| |
|
QComboBox * | getComboBox (int dim) |
| |
|
void | computeFactors (int64_t number, std::vector< int > &factors) |
| |
|
void | updateSize () |
| |
|
void | updateDims (int source) |
| |
|
int | findIndex (int val, bool second=false) |
| |
|
int64_t | imageSize () const |
| |
| void | updatePreview () |
| | Load the file with the current descriptor and show the result in the preview view.
|
| |
◆ LoadRawDialog()
| LoadRawDialog |
( |
const QString & | filename, |
|
|
QWidget * | parent = nullptr ) |
Construct dialog for loading raw files.
- Parameters
-
| filename | Raw file to be loaded and configured. |
| parent | Parent widget |
◆ updatePreview()
Load the file with the current descriptor and show the result in the preview view.
Does nothing if the preview is disabled or no view is available.
The documentation for this class was generated from the following file:
- ImFusion/GUI/LoadRawDialog.h