18#ifndef itkImageGridSampler_h
19#define itkImageGridSampler_h
43template <
class TInputImage>
62 using typename Superclass::DataObjectPointer;
146 PrintSelf(std::ostream & os, Indent indent)
const override;
156 unsigned long m_RequestedNumberOfSamples{ 0 };
161#ifndef ITK_MANUAL_INSTANTIATION
162# include "itkImageGridSampler.hxx"
Samples image voxels on a regular grid.
SmartPointer< const Self > ConstPointer
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
~ImageGridSampler() override=default
typename InputImageType::OffsetType SampleGridSpacingType
bool SelectNewSamplesOnUpdate() override
typename InputImageType::SizeType SampleGridSizeType
bool SelectingNewSamplesOnUpdateSupported() const override
void GenerateData() override
void SetSampleGridSpacing(const SampleGridSpacingType &arg)
ImageGridSampler()=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputImageType::IndexType InputImageIndexType
ITK_DISALLOW_COPY_AND_MOVE(ImageGridSampler)
InputImageIndexType SampleGridIndexType
typename InputImageType::SizeType InputImageSizeType
typename SampleGridSpacingType::OffsetValueType SampleGridSpacingValueType
void SetNumberOfSamples(unsigned long nrofsamples) override
A class that defines an image sample, which is the coordinates of a point and its value.
This class is a base class for any image sampler.
typename InputImageType::PointType InputImagePointType
SpatialObject< Self::InputImageDimension > MaskType
typename InputImageType::IndexType InputImageIndexType
typename ImageSampleContainerType::Pointer ImageSampleContainerPointer
TInputImage InputImageType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
TOutputVectorContainer OutputVectorContainerType
typename OutputVectorContainerType::Pointer OutputVectorContainerPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.