18#ifndef itkRegionConstrainedSubsampler_h
19#define itkRegionConstrainedSubsampler_h
51template <
typename TSample,
typename TRegion>
82 using SizeType =
typename RegionType::SizeType;
93 itkGetConstReferenceMacro(SampleRegionInitialized,
bool);
104 itkGetConstReferenceMacro(RegionConstraintInitialized,
bool);
137#ifndef ITK_MANUAL_INSTANTIATION
138# include "itkRegionConstrainedSubsampler.hxx"
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
Implements transparent reference counting.
typename IndexType::IndexValueType IndexValueType
void SetSampleRegion(const RegionType ®ion)
SmartPointer< Self > Pointer
Subsample< TSample > SubsampleType
typename Superclass::Baseclass Baseclass
SubsamplerBase< TSample > Superclass
LightObject::Pointer InternalClone() const override
void SetRegionConstraint(const RegionType ®ion)
bool m_RegionConstraintInitialized
bool m_SampleRegionInitialized
typename RegionType::SizeType SizeType
typename TSample::MeasurementVectorType MeasurementVectorType
typename SampleType::ConstPointer SampleConstPointer
typename TSample::InstanceIdentifier InstanceIdentifier
RegionConstrainedSubsampler()
SmartPointer< const Self > ConstPointer
RegionConstrainedSubsampler< TSample, TRegion > Self
void Search(const InstanceIdentifier &query, SubsamplePointer &results) override=0
RegionType m_RegionConstraint
typename SubsampleType::ConstIterator SubsampleConstIterator
RegionType m_SampleRegion
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...
SmartPointer< Self > Pointer
std::vector< InstanceIdentifier > InstanceIdentifierHolder