Public Slots | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

DGVMainVTK Class Reference

This class represents the DGV Main Window object when using VTK classes. More...

#include <DGVMainVTK.h>

Collaboration diagram for DGVMainVTK:
Collaboration graph
[legend]

List of all members.

Public Slots

void displayImage (DGVImageVTK *img)
 Handles the displaying of result as they are produced.
void displayImage (DGVImage *img)
 Handles the displaying of result as they are produced.
void displayTable (DGVTable *newTable)
 Handles the displaying of tables as they are produced.
void displayTable (DGVTableVTK *newTable)
 Handles the displaying of tables as they are produced.
void displayPlot (DGVPlot *newPlot)
 Handles the displaying of plots as they are produced.
void displayPlot (DGVPlotVTK *newPlot)
 Handles the displaying of plots as they are produced.
void displayScan (DGVAnimatedScan *newScan)
 Handles the displaying of scans as they are produced.
void displaySurfacePlot (DGVSurfacePlotVTK *newPlot)
 Handles the displaying of surface plots as they are produced.
void displayVolumePlot (DGVVolumePlotVTK *newPlot)
 Handles the displaying of volume plots as they are produced.
void displayLattice (DGVLatticeVTK *newLattice)
 Handles the displaying of lattice as they are produced.
void createImage (Array< imageType, 2 > newData, QString imgName)
 Creates an image for display when data is generated (say from transforms).
void createImage (Array< complex< imageType >, 2 > newData, QString imgName)
 Creates an image for display when data is generated (say from transforms). Overloaded for complex valued arrays.
void createTable (Array< imageType, 2 > newData, QString tblName)
 Creates a table for display when data is generated (say from transforms).
void createTable (Array< complex< imageType >, 2 > newData, QString tblName)
 Creates a table for display when data is generated (say from transforms). Overloaded for complex valued arrays.
void open ()
 Opens image or other files for analysis and display.
void openStack ()
 Opens image stack for analysis and display.
void openRecentFile ()
 Opens recent file (from recent file menu) for analysis and display.
void save ()
 Saves active window as an image.
void saveNative ()
 Saves active window as Native data (in Blitz++ Array File Format) or other files.
void saveStack ()
 Saves active window as a stack of images (JPEG, TIFF, BMP or PNM formats).
void newTab ()
 Creates a new tab for the workspace.
void newTable ()
 Creates table for analysis and display.
void newImage ()
 Creates image for analysis and display.
void table ()
 Displays table of the data of the active window.
void embed ()
 Embeds or crops the data of the active window.
void operate ()
 Performs arithmetic with the data of the active window.
void centerDC (bool center)
 Sets whether the DC term of the Fast Fourier Transforms are centered.
void FFT ()
 Performs the Fast Fourier Transform (FFTW Version) of the active window.
void iFFT ()
 Performs the Inverse Fast Fourier Transform (FFTW Version) of the active window.
void FFT_Real ()
 Performs the Real Fast Fourier Transform (FFTW Version) of the active window.
void iFFT_Real ()
 Performs the Real Inverse Fast Fourier Transform (FFTW Version) of the active window.
void FFT_1D (Array< Array< complex< tableType >, 1 >, 1 > data)
 Performs the 1D Fast Fourier Transform (FFTW Version) of the active window.
void iFFT_1D (Array< Array< complex< tableType >, 1 >, 1 > data)
 Performs the 1D Inverse Fast Fourier Transform (FFTW Version) of the active window.
void FFT_Real_1D (Array< Array< tableType, 1 >, 1 > data)
 Performs the Real 1D Fast Fourier Transform (FFTW Version) of the active window.
void iFFT_Real_1D (Array< Array< complex< tableType >, 1 >, 1 > data)
 Performs the Real 1D Inverse Fast Fourier Transform (FFTW Version) of the active window.
void radonSlices ()
 Produces n-1 dimensional Radon slices of Fourier space of the active window.
void FRT ()
 Performs the Finite Radon Transform (FRT) of the active window.
void iFRT ()
 Performs the Inverse Finite Radon Transform (iFRT) of the active window.
void iFRT_Unscaled ()
 Performs the Unscaled Inverse Finite Radon Transform (iFRT) of the active window.
void updateWindowMenu ()
 Updates the Windows menu.
void setActiveWindow (QWidget *window)
 Set the window active.
void setTabName (QWidget *window)
 Set the tab name.
void closeTab (int index)
 Close the tab.
void closeTabActiveWindow ()
 Close active window in the tab.
void closeTabAllWindows ()
 Close all the windows in the current tab.
void cascadeTab ()
 Cascade all the windows in the current tab.
void tileTab ()
 Tile all the windows in the current tab.
void working ()
 Show working status box.
void done ()
 Close working status box.
void tile ()
 Tile windows within workspace.
void cascade ()
 Cascade windows within workspace.
void about ()
 About Dialog.
void cut ()
void copy ()
void paste ()
bool isActiveImage ()
 Returns true if active window is an Image (DGVImageVTK object).
DGVImageVTKactiveImage ()
 Returns the DGVImageVTK object, returns 0 if active window is not a DGVImageVTK object.
bool isActiveTable ()
 Returns true if active window is a Table (DGVTableVTK object).
DGVTableVTKactiveTable ()
bool isActiveSPlot ()
 Returns true if active window is a Surface Plot (DGVSurfacePlotVTK object).
DGVSurfacePlotVTKactiveSPlot ()
bool isActivePlot ()
 Returns true if active window is a Plot (DGVPlot object).
DGVPlotactivePlot ()
bool isActiveVPlot ()
 Returns true if active window is a Volume Plot (DGVVolumePlotVTK object).
DGVVolumePlotVTKactiveVPlot ()
bool isActiveLattice ()
 Returns true if active window is a Lattice (DGVLatticeVTK object).
DGVLatticeVTKactiveLattice ()
DGVConsolegetConsole ()
 Returns the console attached to the window. Messages can be directly passed using this member and DGVConsole members.
void setCurrentFile (const QString &fileName)
 Saves the recent opened/saved file into the recent files list.

Public Member Functions

 DGVMainVTK (QWidget *parent=0)
 The standard constructor.
 ~DGVMainVTK ()
 The standard destructor.
void addWindowToWorkspace (QWidget *win)
 Adds widget into workspace.
void addImage (DGVImageVTK *img)
 Adds an image widget and links its results and tables.
void addImage (DGVImage *img)
 Adds an image widget and links its results and tables.
void addTable (DGVTable *tbl)
 Adds a table widget and links its results and tables.
void addTable (DGVTableVTK *tbl)
 Adds a table widget and links its results and tables.
void addPlot (DGVPlot *plot)
 Adds a plot widget and links its results and tables.
void addPlot (DGVPlotVTK *plot)
 Adds a plot widget and links its results and tables.
void addScan (DGVAnimatedScan *scan)
 Adds a scan widget and links its results and tables.
void addSurfacePlot (DGVSurfacePlotVTK *plot)
 Adds a surface plot widget and links its results and tables.
void addVolumePlot (DGVVolumePlotVTK *plot)
 Adds a volume plot widget and links its results and tables.
void addLattice (DGVLatticeVTK *lattice)
 Adds a lattice widget.
bool loadFile (const QString &filename)
 Loads the file with filename directly for analysis and display.
void loadFiles (const QStringList &filenames)
 Loads files with filenames directly for analysis and display.
bool loadStack (const QString &filenames)
 Loads an image stack with filename directly for analysis and display.
Array< imageType, 2 > * activeData ()
 Returns the data of the active window regardless of being an image, table or surface plot.
Array< imageType, 2 > * activeViewedData ()
 Returns the data being viewed from the active window regardless of being an image, table or surface plot.
Array< complex< imageType >, 2 > * activeDataComplex ()
 Returns the complex data of the active window regardless of being an image or table.
bool isActiveDataComplex ()
 Returns true if the data of the active window is complex regardless of window type.
QString activeName ()
 Returns the name of the active window regardless of being an image, table or surface plot.
QString activeNamePrefix ()
 Returns the name with prefix of the active window regardless of being an image, table or surface plot.

Protected Types

enum  { MaxRecentFiles = 10 }
 

Actions.

More...

Protected Member Functions

void createMenu ()
 Creates the menu actions.
void createConnections ()
 Creates the signals and slots connections within the main window.
void contextMenuEvent (QContextMenuEvent *event)
 The context menu setup member.
void dragEnterEvent (QDragEnterEvent *event)
 Part of the Drag and Drop feature members. Tells what drags to accept.
void dropEvent (QDropEvent *event)
 Part of the Drag and Drop feature members. Opens the dropped files.
void closeEvent (QCloseEvent *event)
 Tasks to complete when closing.
void setupTooltips ()
 Sets up the tooltips for the main window actions.
void updateRecentFileActions ()
 Updates the recent files list in the file menu.
void commonChildProperties (QWidget *widget)
 Sets all the common child properties of the data windows such as images, plots etc.
QString strippedName (const QString &fullFileName)
 Returns the filename with the path stripped.
void writeSettings ()
 Saves the state of the application.
void readSettings ()
 Loads the state of the application.

Protected Attributes

bool conductingFFT
 FFT Flag.
bool conductingFFT_1D
 1D FFT Flag
bool conductingInverseFFT
 iFFT Flag
bool conductingInverseFFT_1D
 1D iFFT Flag
QString currentFile
 Tracks current file opened.
QTabWidget * workspaces
 Pointer to the Workspace environment for the user.
QSignalMapper * windowMapper
 Used to keep events in workspace in order.
Array< complex< double >, 2 > field
QAction * actionOpen
QAction * actionOpenStack
QAction * actionSave
QAction * actionSaveRaw
QAction * actionSaveStack
QAction * actionCloseActive
QAction * actionCloseAll
QAction * actionsRecentFile [MaxRecentFiles]
QAction * actionRecentFileSeparator
QAction * actionExit
QAction * actionNewTab
QAction * actionNewTable
QAction * actionNewImage
QAction * actionTable
QAction * actionEmbed
QAction * actionOperate
QAction * actionFFT
QAction * actioniFFT
QAction * actionFFT_Real
QAction * actioniFFT_Real
QAction * actionSlice
QAction * actionNormalise
QAction * actionCenterDC
QAction * actionFRT
QAction * actioniFRT
QAction * actioniFRT_Unscaled
QAction * actionCascade
QAction * actionTile
QAction * actionSeparator
QAction * actionConsole
QAction * actionAbout
QMenuBar * menuBar
 Menus.
QMenu * menuFile
QMenu * submenuNew
QMenu * menuData
QMenu * menuTransform
QMenu * submenuFourier
QMenu * submenuRadon
QMenu * menuWindows
QMenu * menuHelp
QMenu * contextMenu
 Context Menu.
QVector< QMenu * > contextMenusToPass
 Child Conext Menu Vectors (to be passed to children to use.
QProgressDialog * workingDlg
 Working Message.
bool workingOn
 Track if the Working Status Box is active.
DGVTransformTransforms
 DGV Objects.
DGVConsoleconsole
 Console dock widget for errors and info messages.

Detailed Description

This class represents the DGV Main Window object when using VTK classes.

Author:
Shekhar S. Chandra, 2008-2010

The class represents the DGV Main Window object using the Qt Library. It contains a Workspace environment for the user and subsequent operations critical for the User Interface (UI) of the Discrete Geometry Viewer (DGV) program.

Definition at line 43 of file DGVMainVTK.h.


Member Enumeration Documentation

anonymous enum [protected]

Actions.

Enumerator:
MaxRecentFiles 

Definition at line 523 of file DGVMainVTK.h.


Constructor & Destructor Documentation

DGVMainVTK::DGVMainVTK ( QWidget *  parent = 0  ) 

The standard constructor.

Establish a workspace for user

Setup Console

Transform setup

Todo:
Make into threads

Setup the UI Menus

Setup Connections

Definition at line 39 of file DGVMainVTK.cpp.

DGVMainVTK::~DGVMainVTK (  ) 

The standard destructor.

Definition at line 83 of file DGVMainVTK.cpp.


Member Function Documentation

void DGVMainVTK::about (  )  [slot]

About Dialog.

Definition at line 1939 of file DGVMainVTK.cpp.

Array< imageType, 2 > * DGVMainVTK::activeData (  ) 

Returns the data of the active window regardless of being an image, table or surface plot.

Todo:
Possible Bug: Handling when no window active.

<

Todo:
Check else statement here

Definition at line 316 of file DGVMainVTK.cpp.

Array< complex< imageType >, 2 > * DGVMainVTK::activeDataComplex (  ) 

Returns the complex data of the active window regardless of being an image or table.

Todo:
Possible Bug: Handling when no window active.

Definition at line 374 of file DGVMainVTK.cpp.

DGVImageVTK * DGVMainVTK::activeImage (  )  [slot]

Returns the DGVImageVTK object, returns 0 if active window is not a DGVImageVTK object.

Returns the DGVLatticeVTK object, returns 0 if active window is not a DGVLatticeVTK object.

Returns the DGVVolumePlotVTK object, returns 0 if active window is not a DGVVolumePlotVTK object.

Returns the DGVPlot object, returns 0 if active window is not a DGVPlot object.

Returns the DGVSurfacePlotVTK object, returns 0 if active window is not a DGVSurfacePlotVTK object.

Returns the DGVTableVTK object, returns 0 if active window is not a DGVTableVTK object.

Definition at line 2333 of file DGVMainVTK.cpp.

DGVLatticeVTK * DGVMainVTK::activeLattice (  )  [slot]

Definition at line 2408 of file DGVMainVTK.cpp.

QString DGVMainVTK::activeName (  ) 

Returns the name of the active window regardless of being an image, table or surface plot.

Todo:
Possible Bug: Handling when no window active.

Definition at line 414 of file DGVMainVTK.cpp.

QString DGVMainVTK::activeNamePrefix (  ) 

Returns the name with prefix of the active window regardless of being an image, table or surface plot.

Todo:
Possible Bug: Handling when no window active.

Definition at line 448 of file DGVMainVTK.cpp.

DGVPlot * DGVMainVTK::activePlot (  )  [slot]

Definition at line 2378 of file DGVMainVTK.cpp.

DGVSurfacePlotVTK * DGVMainVTK::activeSPlot (  )  [slot]

Definition at line 2363 of file DGVMainVTK.cpp.

DGVTableVTK * DGVMainVTK::activeTable (  )  [slot]

Definition at line 2348 of file DGVMainVTK.cpp.

Array< imageType, 2 > * DGVMainVTK::activeViewedData (  ) 

Returns the data being viewed from the active window regardless of being an image, table or surface plot.

Todo:
Possible Bug: Handling when no window active.

<

Todo:
Check else statement here

Definition at line 345 of file DGVMainVTK.cpp.

DGVVolumePlotVTK * DGVMainVTK::activeVPlot (  )  [slot]

Definition at line 2393 of file DGVMainVTK.cpp.

void DGVMainVTK::addImage ( DGVImageVTK img  ) 

Adds an image widget and links its results and tables.

Definition at line 90 of file DGVMainVTK.cpp.

void DGVMainVTK::addImage ( DGVImage img  ) 

Adds an image widget and links its results and tables.

Definition at line 104 of file DGVMainVTK.cpp.

void DGVMainVTK::addLattice ( DGVLatticeVTK lattice  ) 

Adds a lattice widget.

Definition at line 170 of file DGVMainVTK.cpp.

void DGVMainVTK::addPlot ( DGVPlot plot  ) 

Adds a plot widget and links its results and tables.

Definition at line 136 of file DGVMainVTK.cpp.

void DGVMainVTK::addPlot ( DGVPlotVTK plot  ) 

Adds a plot widget and links its results and tables.

Definition at line 143 of file DGVMainVTK.cpp.

void DGVMainVTK::addScan ( DGVAnimatedScan scan  ) 

Adds a scan widget and links its results and tables.

Definition at line 150 of file DGVMainVTK.cpp.

void DGVMainVTK::addSurfacePlot ( DGVSurfacePlotVTK plot  ) 

Adds a surface plot widget and links its results and tables.

Definition at line 156 of file DGVMainVTK.cpp.

void DGVMainVTK::addTable ( DGVTable tbl  ) 

Adds a table widget and links its results and tables.

Definition at line 111 of file DGVMainVTK.cpp.

void DGVMainVTK::addTable ( DGVTableVTK tbl  ) 

Adds a table widget and links its results and tables.

Definition at line 118 of file DGVMainVTK.cpp.

void DGVMainVTK::addVolumePlot ( DGVVolumePlotVTK plot  ) 

Adds a volume plot widget and links its results and tables.

Definition at line 163 of file DGVMainVTK.cpp.

DGVMainVTK::addWindowToWorkspace ( QWidget *  win  )  [inline]

Adds widget into workspace.

Definition at line 63 of file DGVMainVTK.h.

DGVMainVTK::cascade (  )  [inline, slot]

Cascade windows within workspace.

Definition at line 426 of file DGVMainVTK.h.

DGVMainVTK::cascadeTab (  )  [inline, slot]

Cascade all the windows in the current tab.

Definition at line 397 of file DGVMainVTK.h.

DGVMainVTK::centerDC ( bool  center  )  [inline, slot]

Sets whether the DC term of the Fast Fourier Transforms are centered.

Definition at line 298 of file DGVMainVTK.h.

void DGVMainVTK::closeEvent ( QCloseEvent *  event  )  [protected]

Tasks to complete when closing.

Definition at line 2236 of file DGVMainVTK.cpp.

void DGVMainVTK::closeTab ( int  index  )  [slot]

Close the tab.

Definition at line 1889 of file DGVMainVTK.cpp.

DGVMainVTK::closeTabActiveWindow (  )  [inline, slot]

Close active window in the tab.

Definition at line 385 of file DGVMainVTK.h.

DGVMainVTK::closeTabAllWindows (  )  [inline, slot]

Close all the windows in the current tab.

Definition at line 391 of file DGVMainVTK.h.

void DGVMainVTK::commonChildProperties ( QWidget *  widget  )  [protected]

Sets all the common child properties of the data windows such as images, plots etc.

Definition at line 2319 of file DGVMainVTK.cpp.

void DGVMainVTK::contextMenuEvent ( QContextMenuEvent *  event  )  [protected]

The context menu setup member.

< Only exists for the duration of the context selection

Definition at line 2187 of file DGVMainVTK.cpp.

void DGVMainVTK::copy (  )  [slot]

Definition at line 1950 of file DGVMainVTK.cpp.

void DGVMainVTK::createConnections (  )  [protected]

Creates the signals and slots connections within the main window.

Need for ensuring cross thread signalling

Need for ensuring cross thread signalling

Definition at line 2145 of file DGVMainVTK.cpp.

void DGVMainVTK::createImage ( Array< complex< imageType >, 2 >  newData,
QString  imgName 
) [slot]

Creates an image for display when data is generated (say from transforms). Overloaded for complex valued arrays.

Definition at line 621 of file DGVMainVTK.cpp.

void DGVMainVTK::createImage ( Array< imageType, 2 >  newData,
QString  imgName 
) [slot]

Creates an image for display when data is generated (say from transforms).

Definition at line 594 of file DGVMainVTK.cpp.

void DGVMainVTK::createMenu (  )  [protected]

Creates the menu actions.

Setup Exit Action and File Menus File

New

Data

Transform

Windows

Help

Setup Vector to Pass as Context Menus to children

Set tooltips

Definition at line 1958 of file DGVMainVTK.cpp.

void DGVMainVTK::createTable ( Array< imageType, 2 >  newData,
QString  tblName 
) [slot]

Creates a table for display when data is generated (say from transforms).

DC Shift not necessary for Real FFT inversion

Definition at line 648 of file DGVMainVTK.cpp.

void DGVMainVTK::createTable ( Array< complex< imageType >, 2 >  newData,
QString  tblName 
) [slot]

Creates a table for display when data is generated (say from transforms). Overloaded for complex valued arrays.

Definition at line 672 of file DGVMainVTK.cpp.

void DGVMainVTK::cut (  )  [slot]

Definition at line 1946 of file DGVMainVTK.cpp.

void DGVMainVTK::displayImage ( DGVImage img  )  [slot]

Handles the displaying of result as they are produced.

Set the image into the viewer

Definition at line 495 of file DGVMainVTK.cpp.

void DGVMainVTK::displayImage ( DGVImageVTK img  )  [slot]

Handles the displaying of result as they are produced.

Set the image into the viewer

Definition at line 483 of file DGVMainVTK.cpp.

void DGVMainVTK::displayLattice ( DGVLatticeVTK newLattice  )  [slot]

Handles the displaying of lattice as they are produced.

Set the volume plot into the viewer

Definition at line 583 of file DGVMainVTK.cpp.

void DGVMainVTK::displayPlot ( DGVPlot newPlot  )  [slot]

Handles the displaying of plots as they are produced.

Set the plot into the viewer

Definition at line 530 of file DGVMainVTK.cpp.

void DGVMainVTK::displayPlot ( DGVPlotVTK newPlot  )  [slot]

Handles the displaying of plots as they are produced.

Set the plot into the viewer

Definition at line 541 of file DGVMainVTK.cpp.

void DGVMainVTK::displayScan ( DGVAnimatedScan newScan  )  [slot]

Handles the displaying of scans as they are produced.

Set the plot into the viewer

Definition at line 551 of file DGVMainVTK.cpp.

void DGVMainVTK::displaySurfacePlot ( DGVSurfacePlotVTK newPlot  )  [slot]

Handles the displaying of surface plots as they are produced.

Set the surface plot into the viewer

Definition at line 561 of file DGVMainVTK.cpp.

void DGVMainVTK::displayTable ( DGVTable newTable  )  [slot]

Handles the displaying of tables as they are produced.

Set the table into the viewer

Definition at line 505 of file DGVMainVTK.cpp.

void DGVMainVTK::displayTable ( DGVTableVTK newTable  )  [slot]

Handles the displaying of tables as they are produced.

Set the table into the viewer

Definition at line 517 of file DGVMainVTK.cpp.

void DGVMainVTK::displayVolumePlot ( DGVVolumePlotVTK newPlot  )  [slot]

Handles the displaying of volume plots as they are produced.

Set the volume plot into the viewer

Definition at line 572 of file DGVMainVTK.cpp.

void DGVMainVTK::done (  )  [slot]

Close working status box.

Definition at line 1930 of file DGVMainVTK.cpp.

void DGVMainVTK::dragEnterEvent ( QDragEnterEvent *  event  )  [protected]

Part of the Drag and Drop feature members. Tells what drags to accept.

Definition at line 2207 of file DGVMainVTK.cpp.

void DGVMainVTK::dropEvent ( QDropEvent *  event  )  [protected]

Part of the Drag and Drop feature members. Opens the dropped files.

Definition at line 2213 of file DGVMainVTK.cpp.

void DGVMainVTK::embed (  )  [slot]

Embeds or crops the data of the active window.

Definition at line 1016 of file DGVMainVTK.cpp.

void DGVMainVTK::FFT (  )  [slot]

Performs the Fast Fourier Transform (FFTW Version) of the active window.

<

Todo:
Add complex data handler here for transforms

Definition at line 1301 of file DGVMainVTK.cpp.

void DGVMainVTK::FFT_1D ( Array< Array< complex< tableType >, 1 >, 1 >  data  )  [slot]

Performs the 1D Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1504 of file DGVMainVTK.cpp.

void DGVMainVTK::FFT_Real (  )  [slot]

Performs the Real Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1411 of file DGVMainVTK.cpp.

void DGVMainVTK::FFT_Real_1D ( Array< Array< tableType, 1 >, 1 >  data  )  [slot]

Performs the Real 1D Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1562 of file DGVMainVTK.cpp.

void DGVMainVTK::FRT (  )  [slot]

Performs the Finite Radon Transform (FRT) of the active window.

Definition at line 1654 of file DGVMainVTK.cpp.

DGVMainVTK::getConsole (  )  [inline, slot]

Returns the console attached to the window. Messages can be directly passed using this member and DGVConsole members.

Definition at line 502 of file DGVMainVTK.h.

void DGVMainVTK::iFFT (  )  [slot]

Performs the Inverse Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1356 of file DGVMainVTK.cpp.

void DGVMainVTK::iFFT_1D ( Array< Array< complex< tableType >, 1 >, 1 >  data  )  [slot]

Performs the 1D Inverse Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1533 of file DGVMainVTK.cpp.

void DGVMainVTK::iFFT_Real (  )  [slot]

Performs the Real Inverse Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1449 of file DGVMainVTK.cpp.

void DGVMainVTK::iFFT_Real_1D ( Array< Array< complex< tableType >, 1 >, 1 >  data  )  [slot]

Performs the Real 1D Inverse Fast Fourier Transform (FFTW Version) of the active window.

Definition at line 1590 of file DGVMainVTK.cpp.

void DGVMainVTK::iFRT (  )  [slot]

Performs the Inverse Finite Radon Transform (iFRT) of the active window.

Definition at line 1688 of file DGVMainVTK.cpp.

void DGVMainVTK::iFRT_Unscaled (  )  [slot]

Performs the Unscaled Inverse Finite Radon Transform (iFRT) of the active window.

Definition at line 1722 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActiveDataComplex (  ) 

Returns true if the data of the active window is complex regardless of window type.

Definition at line 398 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActiveImage (  )  [slot]

Returns true if active window is an Image (DGVImageVTK object).

Definition at line 2325 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActiveLattice (  )  [slot]

Returns true if active window is a Lattice (DGVLatticeVTK object).

Definition at line 2400 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActivePlot (  )  [slot]

Returns true if active window is a Plot (DGVPlot object).

Definition at line 2370 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActiveSPlot (  )  [slot]

Returns true if active window is a Surface Plot (DGVSurfacePlotVTK object).

Definition at line 2355 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActiveTable (  )  [slot]

Returns true if active window is a Table (DGVTableVTK object).

Definition at line 2340 of file DGVMainVTK.cpp.

bool DGVMainVTK::isActiveVPlot (  )  [slot]

Returns true if active window is a Volume Plot (DGVVolumePlotVTK object).

Definition at line 2385 of file DGVMainVTK.cpp.

bool DGVMainVTK::loadFile ( const QString &  filename  ) 

Loads the file with filename directly for analysis and display.

< DO NOT MOVE!

<

Todo:
Bug: File existence not checked.

Definition at line 176 of file DGVMainVTK.cpp.

void DGVMainVTK::loadFiles ( const QStringList &  filenames  ) 

Loads files with filenames directly for analysis and display.

Definition at line 276 of file DGVMainVTK.cpp.

bool DGVMainVTK::loadStack ( const QString &  filenames  ) 

Loads an image stack with filename directly for analysis and display.

< DO NOT MOVE!

Definition at line 282 of file DGVMainVTK.cpp.

void DGVMainVTK::newImage (  )  [slot]

Creates image for analysis and display.

Definition at line 982 of file DGVMainVTK.cpp.

void DGVMainVTK::newTab (  )  [slot]

Creates a new tab for the workspace.

Todo:
Workspace class is deprecated. Update to MdiArea.

Definition at line 950 of file DGVMainVTK.cpp.

void DGVMainVTK::newTable (  )  [slot]

Creates table for analysis and display.

Definition at line 959 of file DGVMainVTK.cpp.

void DGVMainVTK::open (  )  [slot]

Opens image or other files for analysis and display.

Definition at line 703 of file DGVMainVTK.cpp.

void DGVMainVTK::openRecentFile (  )  [slot]

Opens recent file (from recent file menu) for analysis and display.

Definition at line 731 of file DGVMainVTK.cpp.

void DGVMainVTK::openStack (  )  [slot]

Opens image stack for analysis and display.

Definition at line 717 of file DGVMainVTK.cpp.

void DGVMainVTK::operate (  )  [slot]

Performs arithmetic with the data of the active window.

Populate Combo Boxes

Ignore 2nd combo box if a function is selected

Fmod function not allowed by blitz++ on Complex arrays

Handle only one data being complex

Todo:
Incorrect results when array sizes are unequal

Definition at line 1021 of file DGVMainVTK.cpp.

void DGVMainVTK::paste (  )  [slot]

Definition at line 1954 of file DGVMainVTK.cpp.

void DGVMainVTK::radonSlices (  )  [slot]

Produces n-1 dimensional Radon slices of Fourier space of the active window.

Definition at line 1618 of file DGVMainVTK.cpp.

void DGVMainVTK::readSettings (  )  [protected]

Loads the state of the application.

Definition at line 2425 of file DGVMainVTK.cpp.

void DGVMainVTK::save (  )  [slot]

Saves active window as an image.

Todo:
Doesnt rememember recent path.
Todo:
isActivePlot() saving is done in DGVPlot class.

Definition at line 738 of file DGVMainVTK.cpp.

void DGVMainVTK::saveNative (  )  [slot]

Saves active window as Native data (in Blitz++ Array File Format) or other files.

Definition at line 887 of file DGVMainVTK.cpp.

void DGVMainVTK::saveStack (  )  [slot]

Saves active window as a stack of images (JPEG, TIFF, BMP or PNM formats).

Definition at line 922 of file DGVMainVTK.cpp.

void DGVMainVTK::setActiveWindow ( QWidget *  window  )  [slot]

Set the window active.

Definition at line 1870 of file DGVMainVTK.cpp.

void DGVMainVTK::setCurrentFile ( const QString &  fileName  )  [slot]

Saves the recent opened/saved file into the recent files list.

Definition at line 2269 of file DGVMainVTK.cpp.

void DGVMainVTK::setTabName ( QWidget *  window  )  [slot]

Set the tab name.

Definition at line 1878 of file DGVMainVTK.cpp.

void DGVMainVTK::setupTooltips (  )  [protected]

Sets up the tooltips for the main window actions.

Definition at line 2242 of file DGVMainVTK.cpp.

DGVMainVTK::strippedName ( const QString &  fullFileName  )  [inline, protected]

Returns the filename with the path stripped.

Definition at line 634 of file DGVMainVTK.h.

void DGVMainVTK::table (  )  [slot]

Displays table of the data of the active window.

Definition at line 1005 of file DGVMainVTK.cpp.

DGVMainVTK::tile (  )  [inline, slot]

Tile windows within workspace.

Definition at line 420 of file DGVMainVTK.h.

DGVMainVTK::tileTab (  )  [inline, slot]

Tile all the windows in the current tab.

Definition at line 403 of file DGVMainVTK.h.

void DGVMainVTK::updateRecentFileActions (  )  [protected]

Updates the recent files list in the file menu.

Definition at line 2297 of file DGVMainVTK.cpp.

void DGVMainVTK::updateWindowMenu (  )  [slot]

Updates the Windows menu.

Todo:
Bug: Fix the selecting of the window in menu to be made active.

Definition at line 1756 of file DGVMainVTK.cpp.

void DGVMainVTK::working (  )  [slot]

Show working status box.

Definition at line 1911 of file DGVMainVTK.cpp.

void DGVMainVTK::writeSettings (  )  [protected]

Saves the state of the application.

Definition at line 2415 of file DGVMainVTK.cpp.


Member Data Documentation

QAction* DGVMainVTK::actionAbout [protected]

Definition at line 560 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionCascade [protected]

Definition at line 555 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionCenterDC [protected]

Definition at line 550 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionCloseActive [protected]

Definition at line 530 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionCloseAll [protected]

Definition at line 531 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionConsole [protected]

Definition at line 558 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionEmbed [protected]

Definition at line 541 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionExit [protected]

Definition at line 534 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionFFT [protected]

Definition at line 544 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionFFT_Real [protected]

Definition at line 546 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionFRT [protected]

Definition at line 551 of file DGVMainVTK.h.

QAction* DGVMainVTK::actioniFFT [protected]

Definition at line 545 of file DGVMainVTK.h.

QAction* DGVMainVTK::actioniFFT_Real [protected]

Definition at line 547 of file DGVMainVTK.h.

QAction* DGVMainVTK::actioniFRT [protected]

Definition at line 552 of file DGVMainVTK.h.

QAction* DGVMainVTK::actioniFRT_Unscaled [protected]

Definition at line 553 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionNewImage [protected]

Definition at line 538 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionNewTab [protected]

Definition at line 536 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionNewTable [protected]

Definition at line 537 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionNormalise [protected]

Definition at line 549 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionOpen [protected]

Definition at line 525 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionOpenStack [protected]

Definition at line 526 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionOperate [protected]

Definition at line 542 of file DGVMainVTK.h.

Definition at line 533 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionSave [protected]

Definition at line 527 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionSaveRaw [protected]

Definition at line 528 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionSaveStack [protected]

Definition at line 529 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionSeparator [protected]

Definition at line 557 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionSlice [protected]

Definition at line 548 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionsRecentFile[MaxRecentFiles] [protected]

Definition at line 532 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionTable [protected]

Definition at line 540 of file DGVMainVTK.h.

QAction* DGVMainVTK::actionTile [protected]

Definition at line 556 of file DGVMainVTK.h.

bool DGVMainVTK::conductingFFT [protected]

FFT Flag.

Definition at line 511 of file DGVMainVTK.h.

bool DGVMainVTK::conductingFFT_1D [protected]

1D FFT Flag

Definition at line 512 of file DGVMainVTK.h.

iFFT Flag

Definition at line 513 of file DGVMainVTK.h.

1D iFFT Flag

Definition at line 514 of file DGVMainVTK.h.

Console dock widget for errors and info messages.

Definition at line 583 of file DGVMainVTK.h.

QMenu* DGVMainVTK::contextMenu [protected]

Context Menu.

Definition at line 572 of file DGVMainVTK.h.

QVector<QMenu *> DGVMainVTK::contextMenusToPass [protected]

Child Conext Menu Vectors (to be passed to children to use.

Definition at line 575 of file DGVMainVTK.h.

QString DGVMainVTK::currentFile [protected]

Tracks current file opened.

Definition at line 515 of file DGVMainVTK.h.

Array<complex<double>,2> DGVMainVTK::field [protected]

Definition at line 520 of file DGVMainVTK.h.

QMenuBar* DGVMainVTK::menuBar [protected]

Menus.

Definition at line 563 of file DGVMainVTK.h.

QMenu* DGVMainVTK::menuData [protected]

Definition at line 566 of file DGVMainVTK.h.

QMenu* DGVMainVTK::menuFile [protected]

Definition at line 564 of file DGVMainVTK.h.

QMenu* DGVMainVTK::menuHelp [protected]

Definition at line 571 of file DGVMainVTK.h.

QMenu* DGVMainVTK::menuTransform [protected]

Definition at line 567 of file DGVMainVTK.h.

QMenu* DGVMainVTK::menuWindows [protected]

Definition at line 570 of file DGVMainVTK.h.

QMenu* DGVMainVTK::submenuFourier [protected]

Definition at line 568 of file DGVMainVTK.h.

QMenu* DGVMainVTK::submenuNew [protected]

Definition at line 565 of file DGVMainVTK.h.

QMenu* DGVMainVTK::submenuRadon [protected]

Definition at line 569 of file DGVMainVTK.h.

DGV Objects.

Wraps all supported Transforms for widgets

Definition at line 582 of file DGVMainVTK.h.

QSignalMapper* DGVMainVTK::windowMapper [protected]

Used to keep events in workspace in order.

Definition at line 518 of file DGVMainVTK.h.

QProgressDialog* DGVMainVTK::workingDlg [protected]

Working Message.

Definition at line 578 of file DGVMainVTK.h.

bool DGVMainVTK::workingOn [protected]

Track if the Working Status Box is active.

Definition at line 579 of file DGVMainVTK.h.

QTabWidget* DGVMainVTK::workspaces [protected]

Pointer to the Workspace environment for the user.

Definition at line 517 of file DGVMainVTK.h.


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