open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Loading...
Searching...
No Matches
Classes | Functions
iASlicerImpl.h File Reference
#include "iAslicer_export.h"
#include "iASlicer.h"
#include "iASlicerMode.h"
#include "iASlicerSettings.h"
#include "iAQVTKWidget.h"
#include <vtkSmartPointer.h>
#include <QCursor>
#include <QMap>
#include <QSharedPointer>

Classes

class  iASlicerImpl
 vtk-based slicer widget. "Channels" (i.e. image layers) are inserted via the addChannel method More...
 

Functions

iAslicer_API QString axisName (int axis)
 Get the name of the given axis.
 
iAslicer_API int mapSliceToGlobalAxis (int mode, int index)
 Map the index of an axis of the slicer to the index of the corresponding global axis.
 
iAslicer_API QString slicerModeString (int mode)
 Get the "name" of the given slicer mode (i.e. the slicer plane, "XY" for iASlicerMode XY).
 

Function Documentation

◆ axisName()

iAslicer_API QString axisName ( int  axis)

Get the name of the given axis.

Parameters
axisthe index of the axis (see iAAxisIndex)

◆ mapSliceToGlobalAxis()

iAslicer_API int mapSliceToGlobalAxis ( int  mode,
int  index 
)

Map the index of an axis of the slicer to the index of the corresponding global axis.

Parameters
modethe slicer mode,
See also
iASlicerMode
Parameters
indexthe slicer axis index (x=0, y=1, z=2),
See also
iAAxisIndex
Returns
the global axis index; for values of index = 0,1,2 it returns:
  • 1, 2, 0 for mode=YZ
  • 0, 2, 1 for mode=XZ
  • 0, 1, 2 for mode=XY

◆ slicerModeString()

iAslicer_API QString slicerModeString ( int  mode)

Get the "name" of the given slicer mode (i.e. the slicer plane, "XY" for iASlicerMode XY).