open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Classes | Functions
iASlicerImpl.cpp File Reference
#include "iASlicerImpl.h"
#include "defines.h"
#include "iAAbortListener.h"
#include "iAChannelData.h"
#include "iAChannelSlicerData.h"
#include "iAConnector.h"
#include "iAJobListView.h"
#include "iALog.h"
#include "iAMagicLens.h"
#include "iAMathUtility.h"
#include "iAModality.h"
#include "iAMovieHelper.h"
#include "iAParameterDlg.h"
#include "iAProgress.h"
#include "iARulerWidget.h"
#include "iARulerRepresentation.h"
#include "iASlicerProfile.h"
#include "iASlicerProfileHandles.h"
#include "iASlicerSettings.h"
#include "iASnakeSpline.h"
#include "iAStringHelper.h"
#include "iAToolsITK.h"
#include "iAToolsVTK.h"
#include "iAVtkVersion.h"
#include "iAVtkText.h"
#include "io/iAIOProvider.h"
#include "iAMainWindow.h"
#include "iAMdiChild.h"
#include <vtkActor.h>
#include <vtkAxisActor2D.h>
#include <vtkCamera.h>
#include <vtkCommand.h>
#include <vtkCubeSource.h>
#include <vtkDataSetMapper.h>
#include <vtkDiskSource.h>
#include <vtkGenericMovieWriter.h>
#include <vtkGenericOpenGLRenderWindow.h>
#include <vtkImageActor.h>
#include <vtkImageBlend.h>
#include <vtkImageCast.h>
#include <vtkImageChangeInformation.h>
#include <vtkImageData.h>
#include <vtkImageMapper3D.h>
#include <vtkImageProperty.h>
#include <vtkImageResample.h>
#include <vtkImageReslice.h>
#include <vtkInteractorStyleImage.h>
#include <vtkLineSource.h>
#include <vtkLogoRepresentation.h>
#include <vtkLogoWidget.h>
#include <vtkLookupTable.h>
#include <vtkMarchingContourFilter.h>
#include <vtkMath.h>
#include <vtkMatrix4x4.h>
#include <vtkPoints.h>
#include <vtkPolyDataMapper.h>
#include <vtkProperty.h>
#include <vtkQImageToImageSource.h>
#include <vtkRegularPolygonSource.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkRenderer.h>
#include <vtkRendererCollection.h>
#include <vtkScalarBarActor.h>
#include <vtkScalarBarRepresentation.h>
#include <vtkScalarBarWidget.h>
#include <vtkTextActor3D.h>
#include <vtkTextMapper.h>
#include <vtkTextProperty.h>
#include <vtkThinPlateSplineTransform.h>
#include <vtkTransform.h>
#include <vtkWindowToImageFilter.h>
#include <vtkWorldPointPicker.h>
#include <QActionGroup>
#include <QBitmap>
#include <QCoreApplication>
#include <QFileDialog>
#include <QIcon>
#include <QKeyEvent>
#include <QtMath>
#include <QMenu>
#include <QMessageBox>
#include <QMouseEvent>
#include <QPainter>
#include <QString>
#include <QtGlobal>
#include <cassert>

Classes

class  iAObserverRedirect
 observer needs to be a separate class; otherwise there is an error when destructing, as vtk deletes all its observers... More...
 
class  iASlicerInteractorStyle
 Custom interactor style for slicers, for disabling certain vtk interactions we do differently. More...
 

Functions

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

Function Documentation

◆ axisName()

QString axisName ( int  axis)

Get the name of the given axis.

Parameters
axisthe index of the axis (see iAAxisIndex)

◆ mapSliceToGlobalAxis()

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()

QString slicerModeString ( int  mode)

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

◆ vtkStandardNewMacro()

vtkStandardNewMacro ( iASlicerInteractorStyle  )