21 #ifndef otbPointSetToDensityImageFilter_h
22 #define otbPointSetToDensityImageFilter_h
24 #include "itkProcessObject.h"
25 #include "itkPointSet.h"
26 #include "itkPointSetToImageFilter.h"
39 template <
class TInputPo
intSet,
class TOutputImage,
class TDensityFunction = Po
intSetDensityFunction<TInputPo
intSet,
typename TOutputImage::PixelType>>
46 typedef itk::PointSetToImageFilter<TInputPointSet, TOutputImage>
Superclass;
60 typedef typename OutputImageType::PixelType
PixelType;
61 typedef typename OutputImageType::IndexType
IndexType;
66 typedef typename PointSetDensityFunctionType::InputType
InputType;
70 itkGetMacro(Radius,
unsigned int);
71 itkSetMacro(Radius,
unsigned int);
90 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
95 void GenerateData()
override;
100 void DynamicThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread)
override;
105 void GenerateOutputInformation()
override;
114 #ifndef OTB_MANUAL_INSTANTIATION
Draw the density of a point set on an image.
void operator=(const Self &)=delete
PointSetToDensityImageFilter Self
PointSetDensityFunctionType::InputType InputType
~PointSetToDensityImageFilter() override
PointSetDensityFunctionType::Pointer PointSetDensityFunctionPointerType
TDensityFunction PointSetDensityFunctionType
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
itk::PointSetToImageFilter< TInputPointSet, TOutputImage > Superclass
PointSetToDensityImageFilter(const Self &)=delete
OutputImageType::RegionType OutputImageRegionType
OutputImageType::PixelType PixelType
TOutputImage OutputImageType
TInputPointSet PointSetType
OutputImageType::IndexType IndexType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.