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);
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
virtual void PrintSelf(std::ostream &os, Indent indent) const
RegionType m_SampleRegion
signed long IndexValueType
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
RegionConstrainedSubsampler()
virtual void Search(const InstanceIdentifier &query, SubsamplePointer &results)=0
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
void operator=(const Self &)
Control indentation during Print() invocation.
virtual ~RegionConstrainedSubsampler()
virtual LightObject::Pointer InternalClone() const
bool m_SampleRegionInitialized
SampleType::ConstPointer SampleConstPointer
This is the base subsampler class which defines the subsampler API.
std::vector< InstanceIdentifier > InstanceIdentifierHolder
SmartPointer< Self > Pointer