Computer Assited Medical Intervention Tool Kit  version 5.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-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
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:
54  RawImageComponent(const QString&);
55 
58 
59 protected:
62 
63 private:
65  void createComponent();
66 
69 
70 };
71 
72 
73 
74 #endif // RAW_IMAGE_COMPONENT_H
RawImageComponent
This class manage raw images, i.e., images that are directly loaded from a file containing only the b...
Definition: RawImageComponent.h:48
RawDataDialog::isBigEndian
bool isBigEndian()
Definition: RawDataDialog.cpp:172
RawDataDialog::isLowerLeftOrigin
bool isLowerLeftOrigin()
Definition: RawDataDialog.cpp:281
RawDataDialog
Input of the parameter to read a raw data file.
Definition: RawDataDialog.h:47
RawDataDialog::getOriginY
double getOriginY()
Definition: RawDataDialog.cpp:239
camitk::ImageComponent
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
RawDataDialog::getHeaderSize
int getHeaderSize()
Definition: RawDataDialog.cpp:265
RawImageComponent::~RawImageComponent
~RawImageComponent()
Destructor.
Definition: RawImageComponent.cpp:58
RawImageComponent.h
RawDataDialog::getVoxelSizeY
double getVoxelSizeY()
Definition: RawDataDialog.cpp:202
RawDataDialog::getNbScalarComponents
int getNbScalarComponents()
Definition: RawDataDialog.cpp:177
RawDataDialog::getOriginX
double getOriginX()
Definition: RawDataDialog.cpp:227
camitk::AbortException
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:66
RawDataDialog::getVoxelSizeX
double getVoxelSizeX()
Definition: RawDataDialog.cpp:190
RawImageComponent::orientation
camitk::ImageOrientationHelper::PossibleImageOrientations orientation
The orientation of the image.
Definition: RawImageComponent.h:91
RawDataDialog.h
RawDataDialog::getDimX
int getDimX()
Definition: RawDataDialog.cpp:135
RawDataDialog::getVoxelType
int getVoxelType()
Definition: RawDataDialog.cpp:99
RawDataDialog::getDimZ
int getDimZ()
Definition: RawDataDialog.cpp:159
ImageOrientationHelper.h
RawDataDialog::getVoxelSizeZ
double getVoxelSizeZ()
Definition: RawDataDialog.cpp:214
RawDataDialog::getDimY
int getDimY()
Definition: RawDataDialog.cpp:147
RawImageComponent::createComponent
void createComponent()
Create the component using the different option given by the user in the dialog box.
Definition: RawImageComponent.cpp:65
RawImageComponent::RawImageComponent
RawImageComponent(const QString &)
default constructor: give it the name of the file containing the data This method may throw an AbortE...
Definition: RawImageComponent.cpp:38
camitk::ImageComponent::setImageData
void setImageData(vtkSmartPointer< vtkImageData > anImageData, bool copy, ImageOrientationHelper::PossibleImageOrientations initialOrientation=ImageOrientationHelper::RAI, vtkSmartPointer< vtkMatrix4x4 > initialTransformMatrix=nullptr)
Set the image data of the volumic images with the given orientation options.
Definition: ImageComponent.cpp:251
RawImageComponent::myDialog
RawDataDialog * myDialog
The UI asking for the user to select information on the Raw image.
Definition: RawImageComponent.h:84
RawDataDialog::getOriginZ
double getOriginZ()
Definition: RawDataDialog.cpp:251
RawDataDialog::getOrientation
camitk::ImageOrientationHelper::PossibleImageOrientations getOrientation()
Definition: RawDataDialog.cpp:285
camitk::ImageOrientationHelper::PossibleImageOrientations
PossibleImageOrientations
For each axis (x, y or z), 6 possibilities:
Definition: ImageOrientationHelper.h:52
RawDataDialog::getFilename
QString getFilename()
Definition: RawDataDialog.cpp:277
ImageComponent.h
camitk
Definition: Action.cpp:35