18#ifndef itkRegionConstrainedSubsampler_h
19#define itkRegionConstrainedSubsampler_h
53template <
typename TSample,
typename TRegion>
95 itkGetConstReferenceMacro(SampleRegionInitialized,
bool);
106 itkGetConstReferenceMacro(RegionConstraintInitialized,
bool);
132 bool m_RegionConstraintInitialized{};
134 bool m_SampleRegionInitialized{};
140#ifndef ITK_MANUAL_INSTANTIATION
141# include "itkRegionConstrainedSubsampler.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
This an abstract subsampler that constrains subsamples to be contained within a given image region.
typename IndexType::IndexValueType IndexValueType
void SetSampleRegion(const RegionType ®ion)
typename Superclass::Baseclass Baseclass
LightObject::Pointer InternalClone() const override
void SetRegionConstraint(const RegionType ®ion)
typename RegionType::SizeType SizeType
typename TSample::MeasurementVectorType MeasurementVectorType
typename SampleType::ConstPointer SampleConstPointer
typename TSample::InstanceIdentifier InstanceIdentifier
RegionConstrainedSubsampler()
void Search(const InstanceIdentifier &query, SubsamplePointer &results) override=0
typename SubsampleType::ConstIterator SubsampleConstIterator
void PrintSelf(std::ostream &os, Indent indent) const override
typename RegionType::IndexType IndexType
typename SubsampleType::InstanceIdentifierHolder InstanceIdentifierHolder
typename SubsampleType::Pointer SubsamplePointer
~RegionConstrainedSubsampler() override=default
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
std::vector< InstanceIdentifier > InstanceIdentifierHolder
This is the base subsampler class which defines the subsampler API.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....