VivoQuant 6.0.1
Loading...
Searching...
No Matches
QSliceViewer Class Reference

Manipulate the display within the slice view. More...

#include <QSliceViewer.h>

Public Slots

void updateDisplay ()
 Update all views and set palette.
 
void updateDisplay (int i)
 Update single view and don't update palette.
 
void toggleShowReference ()
 Toggle the visibility of the reference dataset.
 
void toggleShowInput1 ()
 Toggle the visibility of the first input dataset.
 
void toggleShowInput2 ()
 Toggle the visibility of the second input dataset.
 

Public Member Functions

virtual QSharedPointer< QImage > getImageByType (int type, int colBarType=0, QSize &size=QSize(128, 512), float magnification=1.f, QSize *preColorBar=nullptr) override
 Creates a copy of the image specified by 'type'. The image will match the current state in VQ, so the caller may want to consider whether corner labels and crosshairs showing is desirable.
 

Detailed Description

Manipulate the display within the slice view.

Member Function Documentation

◆ getImageByType()

virtual QSharedPointer< QImage > getImageByType ( int  type,
int  colBarType = 0,
QSize &  size = QSize(128, 512),
float  magnification = 1.f,
QSize *  preColorBar = nullptr 
)
overridevirtual

Creates a copy of the image specified by 'type'. The image will match the current state in VQ, so the caller may want to consider whether corner labels and crosshairs showing is desirable.

The caller should clean up the data later.

Parameters
type
colBarType
size
magnification
Returns
a pointer to a copy of the image.

◆ toggleShowInput1

void toggleShowInput1 ( )
slot

Toggle the visibility of the first input dataset.

Switches the visibility state of Input1 between shown and hidden.

◆ toggleShowInput2

void toggleShowInput2 ( )
slot

Toggle the visibility of the second input dataset.

Switches the visibility state of Input2 between shown and hidden.

◆ toggleShowReference

void toggleShowReference ( )
slot

Toggle the visibility of the reference dataset.

Switches the visibility state of the reference dataset between shown and hidden.

◆ updateDisplay

void updateDisplay ( int  i)
slot

Update single view and don't update palette.

Parameters
ithe view index to update