18 #ifndef itkSubsamplerBase_h 19 #define itkSubsamplerBase_h 26 namespace Statistics {
45 template <
typename TSample >
75 itkSetConstObjectMacro(
Sample, SampleType);
76 itkGetConstObjectMacro(
Sample, SampleType);
82 itkSetMacro(CanSelectQuery,
bool);
83 itkGetConstReferenceMacro(CanSelectQuery,
bool);
84 itkBooleanMacro(CanSelectQuery);
90 itkSetMacro(Seed, SeedType);
91 itkGetConstReferenceMacro(Seed, SeedType);
112 virtual void Search(
const InstanceIdentifier& query,
113 SubsamplePointer& results) = 0;
126 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
135 void operator=(const Self&) ITK_DELETE_FUNCTION;
142 #ifndef ITK_MANUAL_INSTANTIATION 143 #include "itkSubsamplerBase.hxx"
SmartPointer< Self > Pointer
SubsampleType::ConstIterator SubsampleConstIterator
virtual void PrintSelf(std::ostream &os, Indent indent) const override
This class stores a subset of instance identifiers from another sample object. You can create a subsa...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SampleType::ConstPointer SampleConstPointer
SubsampleType::InstanceIdentifierHolder InstanceIdentifierHolder
SampleConstPointer m_Sample
TSample::MeasurementVectorType MeasurementVectorType
Subsample< TSample > SubsampleType
virtual void Modified() const
SubsampleType::Pointer SubsamplePointer
virtual LightObject::Pointer InternalClone() const override
A collection of measurements for statistical analysis.
Control indentation during Print() invocation.
TSample::InstanceIdentifier InstanceIdentifier
bool m_RequestMaximumNumberOfResults
virtual ~SubsamplerBase()
virtual void Search(const InstanceIdentifier &query, SubsamplePointer &results)=0
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