diff --git a/Core/Code/Algorithms/mitkImageCaster.h b/Core/Code/Algorithms/mitkImageCaster.h index 58ba4841e3..dd0c5ed8c8 100644 --- a/Core/Code/Algorithms/mitkImageCaster.h +++ b/Core/Code/Algorithms/mitkImageCaster.h @@ -1,60 +1,67 @@ /*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-05-12 19:56:03 +0200 (Di, 12 Mai 2009) $ Version: $Revision: 17179 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or http://www.mitk.org/copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#ifndef MITKIMAGECASTER_H +#define MITKIMAGECASTER_H + #include #include #include #include #include +#include + #define DeclareMitkImageCasterMethods(r, data, type) \ static void CastToItkImage(const mitk::Image*, itk::SmartPointer >&); \ static void CastToMitkImage(const itk::Image*, itk::SmartPointer&); namespace mitk { /// /// \brief This class is just a proxy for global functions which are needed by the /// python wrapping process since global functions cannnot be wrapped. Static method /// can be wrapped though. /// class MITK_CORE_EXPORT ImageCaster { public: MITK_PP_SEQ_FOR_EACH(DeclareMitkImageCasterMethods, _, MITK_ACCESSBYITK_TYPES_DIMN_SEQ(2)) MITK_PP_SEQ_FOR_EACH(DeclareMitkImageCasterMethods, _, MITK_ACCESSBYITK_TYPES_DIMN_SEQ(3)) static void CastBaseData(mitk::BaseData* const, itk::SmartPointer&); }; class MITK_CORE_EXPORT Caster { public: static void Cast(BaseData* dat, Surface* surface); }; class MITK_CORE_EXPORT RendererAccess { public: static void Set3DRenderer(vtkRenderer* renderer); static vtkRenderer* Get3DRenderer(); protected: static vtkRenderer* m_3DRenderer; }; } + +#endif // MITKIMAGECASTER_H