18 #ifndef itkSubsamplerBase_h
19 #define itkSubsamplerBase_h
26 namespace Statistics {
45 template <
typename TSample >
82 itkSetMacro(CanSelectQuery,
bool);
83 itkGetConstReferenceMacro(CanSelectQuery,
bool);
84 itkBooleanMacro(CanSelectQuery);
91 itkGetConstReferenceMacro(Seed,
SeedType);
99 if (!this->m_RequestMaximumNumberOfResults)
101 this->m_RequestMaximumNumberOfResults =
true;
112 virtual void Search(
const InstanceIdentifier& query,
113 SubsamplePointer& results) = 0;
126 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "itkSubsamplerBase.hxx"
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
SubsampleType::ConstIterator SubsampleConstIterator
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
SampleType::ConstPointer SampleConstPointer
SubsampleType::InstanceIdentifierHolder InstanceIdentifierHolder
SampleConstPointer m_Sample
TSample::MeasurementVectorType MeasurementVectorType
Subsample< TSample > SubsampleType
SubsampleType::Pointer SubsamplePointer
A collection of measurements for statistical analysis.
Control indentation during Print() invocation.
TSample::InstanceIdentifier InstanceIdentifier
bool m_RequestMaximumNumberOfResults
Base class for most ITK classes.
SmartPointer< const Self > ConstPointer
virtual void RequestMaximumNumberOfResults()
This is the base subsampler class which defines the subsampler API.
std::vector< InstanceIdentifier > InstanceIdentifierHolder