18 #ifndef itkRegionConstrainedSubsampler_h
19 #define itkRegionConstrainedSubsampler_h
25 namespace Statistics {
50 template <
typename TSample,
typename TRegion >
79 typedef typename RegionType::SizeType
SizeType;
86 itkGetConstReferenceMacro( SampleRegion,
RegionType );
89 itkGetConstReferenceMacro(SampleRegionInitialized,
bool);
96 itkGetConstReferenceMacro( RegionConstraint,
RegionType );
99 itkGetConstReferenceMacro(RegionConstraintInitialized,
bool);
120 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
129 void operator=(const
Self&) ITK_DELETE_FUNCTION;
136 #ifndef ITK_MANUAL_INSTANTIATION
137 #include "itkRegionConstrainedSubsampler.hxx"
SubsamplerBase< TSample > Superclass
SubsampleType::Pointer SubsamplePointer
Light weight base class for most itk classes.
SubsampleType::InstanceIdentifierHolder InstanceIdentifierHolder
RegionType::SizeType SizeType
RegionConstrainedSubsampler< TSample, TRegion > Self
RegionType m_SampleRegion
signed long IndexValueType
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
RegionConstrainedSubsampler()
TSample::MeasurementVectorType MeasurementVectorType
RegionType::IndexType IndexType
SubsampleType::ConstIterator SubsampleConstIterator
void SetRegionConstraint(const RegionType ®ion)
TSample::InstanceIdentifier InstanceIdentifier
IndexType::IndexValueType IndexValueType
RegionType m_RegionConstraint
This an abstract subsampler that constrains subsamples to be contained within a given image region...
void SetSampleRegion(const RegionType ®ion)
bool m_RegionConstraintInitialized
SmartPointer< const Self > ConstPointer
Superclass::Baseclass Baseclass
Subsample< TSample > SubsampleType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual void Search(const InstanceIdentifier &query, SubsamplePointer &results) override=0
virtual LightObject::Pointer InternalClone() const override
Control indentation during Print() invocation.
bool m_SampleRegionInitialized
SampleType::ConstPointer SampleConstPointer
This is the base subsampler class which defines the subsampler API.
std::vector< InstanceIdentifier > InstanceIdentifierHolder
SmartPointer< Self > Pointer