Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MITKPICHELPER_H_HEADER_INCLUDED_C1F4DAB4
00020 #define MITKPICHELPER_H_HEADER_INCLUDED_C1F4DAB4
00021
00022 #include "mitkCommon.h"
00023 #include "mitkVector.h"
00024 #include <mitkIpPic.h>
00025
00026 namespace mitk {
00027
00028 class SlicedGeometry3D;
00029
00030
00031
00032
00033 class MITK_CORE_EXPORT PicHelper
00034 {
00035 public:
00036 static const char *GetNameOfClass() { return "PicHelper"; }
00037
00038 static bool GetSpacing(const mitkIpPicDescriptor* pic, Vector3D & spacing);
00039
00040 static bool SetSpacing(const mitkIpPicDescriptor* pic, SlicedGeometry3D* slicedgeometry);
00041
00042 static bool GetTimeSpacing(const mitkIpPicDescriptor* pic, float& timeSpacing);
00043
00044 static void InitializeEvenlySpaced(const mitkIpPicDescriptor* pic, unsigned int slices, SlicedGeometry3D* slicedgeometry);
00045
00046 static bool SetGeometry2D(const mitkIpPicDescriptor* pic, int s, SlicedGeometry3D* slicedgeometry);
00047 };
00048
00049 }
00050
00051
00052
00053 #endif