21 #ifndef otbVectorImage_h
22 #define otbVectorImage_h
24 #if defined(__GNUC__) || defined(__clang__)
25 #pragma GCC diagnostic push
26 #pragma GCC diagnostic ignored "-Wunused-parameter"
27 #include "itkVectorImage.h"
28 #pragma GCC diagnostic pop
30 #include "itkVectorImage.h"
34 #include "OTBImageBaseExport.h"
44 template <
class TPixel,
unsigned int VImageDimension = 2>
46 :
public itk::VectorImage<TPixel, VImageDimension>
52 using Superclass = itk::VectorImage<TPixel, VImageDimension>;
67 typedef typename Superclass::PixelType
PixelType;
95 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
124 virtual VectorType GetGeoTransform(
void)
const;
144 virtual void SetNumberOfComponentsPerPixel(
unsigned int n)
override;
147 void CopyInformation(
const itk::DataObject*)
override;
149 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
183 void operator=(
const Self&) =
delete;
188 #ifndef OTB_MANUAL_INSTANTIATION
207 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<int>, 2>;
208 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<short>, 2>;
209 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<float>, 2>;
210 extern template class OTBImageBase_EXPORT_TEMPLATE VectorImage<std::complex<double>, 2>;