VivoQuant
Public Member Functions | List of all members
QSliceViewControl Class Reference

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

Public Member Functions

int getMax (int i)
 Get the maximum index of a slice in a given plane of view. More...
 
int getPos (int id, int a)
 Get the index of the slice currently open in the view (usually shown by a crosshair.) More...
 
int getPos (int a)
 Get the index of the slice currently open in the view (usually shown by a crosshair.) More...
 
float getIntense (int id, int a)
 Get the intensity of the view. More...
 
float getIntense (int a)
 Get the intensity of the view. More...
 

Detailed Description

Manipulate and control the display within the slice view.

See also ScriptMaster::controler() to obtain this object.

Member Function Documentation

◆ getIntense() [1/2]

float getIntense ( int  a)
inline

Get the intensity of the view.

Parameters
aThe index of the plane (Sagittal=0, Coronal=1, Transverse=2) in which you are interested.
Returns
The intensity of the view for the default data.

◆ getIntense() [2/2]

float getIntense ( int  id,
int  a 
)

Get the intensity of the view.

Parameters
idThe index of the data in which you are interested.
aThe index of the plane (Sagittal=0, Coronal=1, Transverse=2) in which you are interested.
Returns
The intensity of the view for the data specified.

◆ getMax()

int getMax ( int  i)
inline

Get the maximum index of a slice in a given plane of view.

Parameters
iThe index of the plane (Sagittal=0, Coronal=1, Transverse=2) in which you are interested.
Returns
The maximum slice number available for view

◆ getPos() [1/2]

int getPos ( int  a)
inline

Get the index of the slice currently open in the view (usually shown by a crosshair.)

Parameters
aThe index of the plane (Sagittal=0, Coronal=1, Transverse=2) in which you are interested.
Returns
The slice index of the slice currently open in the plane specified.

◆ getPos() [2/2]

int getPos ( int  id,
int  a 
)

Get the index of the slice currently open in the view (usually shown by a crosshair.)

Parameters
idThe index of the data in which you are interested.
aThe index of the plane (Sagittal=0, Coronal=1, Transverse=2) in which you are interested.
Returns
The slice index of the slice currently open for the data in the plane specified.