Computer Assited Medical Intervention Tool Kit  version 4.0
RawImageComponent.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2016 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef RAW_IMAGE_COMPONENT_H
27 #define RAW_IMAGE_COMPONENT_H
28 
29 
30 // -- raw data image component stuff
31 #include "RawDataDialog.h"
32 
33 // -- Core image component stuff
34 #include <ImageComponent.h>
35 #include <ImageOrientationHelper.h>
36 
37 // -- VTK stuff
38 #include <vtkSmartPointer.h>
39 #include <vtkImageData.h>
49  Q_OBJECT
50 public:
52  RawImageComponent(const QString&) throw (camitk::AbortException);
53 
56 
58  virtual void createComponent();
59 
60 protected:
63 
64 private:
67 
68 };
69 
70 
71 
72 #endif // RAW_IMAGE_COMPONENT_H
RawDataDialog * myDialog
The UI asking for the user to select information on the Raw image.
Definition: RawImageComponent.h:62
Exception class to handle abortion in component instanciation.
Definition: AbortException.h:43
RawImageComponent(const QString &)
default constructor: give it the name of the file containing the data
Definition: RawImageComponent.cpp:41
virtual void createComponent()
Create the component using the different option given by the user in the dialog box.
Definition: RawImageComponent.cpp:65
Input of the parameter to read a raw data file.
Definition: RawDataDialog.h:47
~RawImageComponent()
Destructor.
Definition: RawImageComponent.cpp:59
The manager of the Image Volume data.
Definition: ImageComponent.h:69
PossibleImageOrientations
For each axis (x, y or z), 6 possibilities:
Definition: ImageOrientationHelper.h:52
camitk::ImageOrientationHelper::PossibleImageOrientations orientation
The orientation of the image.
Definition: RawImageComponent.h:66
This class manage raw images, i.e., images that are directly loaded from a file containing only the b...
Definition: RawImageComponent.h:48