NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Namespaces | Enumerations | Functions | Variables
niftkDnDDisplayEnums.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 niftk
 

Enumerations

enum  niftk::WindowOrientation { niftk::WINDOW_ORIENTATION_AXIAL = 0, niftk::WINDOW_ORIENTATION_SAGITTAL = 1, niftk::WINDOW_ORIENTATION_CORONAL = 2, niftk::WINDOW_ORIENTATION_UNKNOWN = 3 }
 Describes the different types of orientation, axial, sagittal, coronal, that can be achieved in the Drag&Drop Display windows. This is different from the WindowLayout. The orientation might be used to refer to the axis of an image, so an image can ONLY be sampled in AXIAL, SAGITTAL and CORONAL direction. More...
 
enum  niftk::WindowLayout {
  niftk::WINDOW_LAYOUT_AXIAL = 0, niftk::WINDOW_LAYOUT_SAGITTAL = 1, niftk::WINDOW_LAYOUT_CORONAL = 2, niftk::WINDOW_LAYOUT_ORTHO = 3,
  niftk::WINDOW_LAYOUT_3D = 4, niftk::WINDOW_LAYOUT_3H = 5, niftk::WINDOW_LAYOUT_3V = 6, niftk::WINDOW_LAYOUT_AS_ACQUIRED = 7,
  niftk::WINDOW_LAYOUT_UNKNOWN = 8, niftk::WINDOW_LAYOUT_COR_SAG_H = 9, niftk::WINDOW_LAYOUT_COR_SAG_V = 10, niftk::WINDOW_LAYOUT_COR_AX_H = 11,
  niftk::WINDOW_LAYOUT_COR_AX_V = 12, niftk::WINDOW_LAYOUT_SAG_AX_H = 13, niftk::WINDOW_LAYOUT_SAG_AX_V = 14
}
 Describes the different render window layouts. So one WindowLayout could have multiple windows of different orientations, but most often will contain either axial, coronal or sagittal. This is different to the WindowLayout as a layout can contain multiple orientations. More...
 
enum  niftk::DnDDisplayDropType { niftk::DNDDISPLAY_DROP_SINGLE = 0, niftk::DNDDISPLAY_DROP_MULTIPLE = 1, niftk::DNDDISPLAY_DROP_ALL = 2 }
 Describes the different modes that can be used when drag and dropping into the DnD Display window. More...
 
enum  niftk::DnDDisplayInterpolationType { niftk::DNDDISPLAY_NO_INTERPOLATION, niftk::DNDDISPLAY_LINEAR_INTERPOLATION, niftk::DNDDISPLAY_CUBIC_INTERPOLATION }
 Describes what the interpolation type should be set to when an image is dropped. More...
 

Functions

bool niftk::IsSingleWindowLayout (WindowLayout layout)
 Returns true if the layout contains only one window, otherwise false. More...
 
bool niftk::IsMultiWindowLayout (WindowLayout layout)
 Returns true if the layout contains multiple windows, otherwise false. More...
 
WindowLayout niftk::GetWindowLayout (const std::string &windowLayoutName)
 

Variables

const int niftk::WINDOW_ORIENTATION_NUMBER = 4
 The number of the possible orientations. More...
 
const int niftk::WINDOW_LAYOUT_NUMBER = 15
 The number of the possible window layouts. More...