Loading...
Searching...
No Matches
itkBinaryTreeBase.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkBinaryTreeBase_h
#define itkBinaryTreeBase_h
#include "itkDataObject.h"
namespace itk
{
template <class TListSample>
class ITK_TEMPLATE_EXPORT BinaryTreeBase : public DataObject
{
public:
ITK_DISALLOW_COPY_AND_MOVE(BinaryTreeBase);
using Self = BinaryTreeBase;
using Superclass = DataObject;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkTypeMacro(BinaryTreeBase, DataObject);
using SampleType = TListSample;
using MeasurementVectorType = typename SampleType::MeasurementVectorType;
using MeasurementVectorSizeType = typename SampleType::MeasurementVectorSizeType;
using TotalAbsoluteFrequencyType = typename SampleType::TotalAbsoluteFrequencyType;
itkSetObjectMacro(Sample, SampleType);
itkGetConstObjectMacro(Sample, SampleType);
TotalAbsoluteFrequencyType
GetNumberOfDataPoints() const;
TotalAbsoluteFrequencyType
GetActualNumberOfDataPoints() const;
MeasurementVectorSizeType
GetDataDimension() const;
virtual void
GenerateTree() = 0;
protected:
BinaryTreeBase();
~BinaryTreeBase() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
private:
typename SampleType::Pointer m_Sample{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkBinaryTreeBase.hxx"
#endif
#endif // end #ifndef itkBinaryTreeBase_h
itk::BinaryTreeBase< ListSampleType >::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkBinaryTreeBase.h:45
itk::BinaryTreeBase::GetDataDimension
MeasurementVectorSizeType GetDataDimension() const
itk::BinaryTreeBase< ListSampleType >::SampleType
ListSampleType SampleType
Definition itkBinaryTreeBase.h:51
itk::BinaryTreeBase::GetNumberOfDataPoints
TotalAbsoluteFrequencyType GetNumberOfDataPoints() const
itk::BinaryTreeBase< ListSampleType >::Self
BinaryTreeBase Self
Definition itkBinaryTreeBase.h:42
itk::BinaryTreeBase< ListSampleType >::Superclass
DataObject Superclass
Definition itkBinaryTreeBase.h:43
itk::BinaryTreeBase::~BinaryTreeBase
~BinaryTreeBase() override=default
itk::BinaryTreeBase::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::BinaryTreeBase< ListSampleType >::Pointer
SmartPointer< Self > Pointer
Definition itkBinaryTreeBase.h:44
itk::BinaryTreeBase::GenerateTree
virtual void GenerateTree()=0
itk::BinaryTreeBase< ListSampleType >::MeasurementVectorSizeType
typename SampleType::MeasurementVectorSizeType MeasurementVectorSizeType
Definition itkBinaryTreeBase.h:55
itk::BinaryTreeBase< ListSampleType >::TotalAbsoluteFrequencyType
typename SampleType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
Definition itkBinaryTreeBase.h:56
itk::BinaryTreeBase< ListSampleType >::MeasurementVectorType
typename SampleType::MeasurementVectorType MeasurementVectorType
Definition itkBinaryTreeBase.h:54
itk::BinaryTreeBase< ListSampleType >::m_Sample
SampleType::Pointer m_Sample
Definition itkBinaryTreeBase.h:91
itk::BinaryTreeBase::BinaryTreeBase
BinaryTreeBase()
itk::BinaryTreeBase::GetActualNumberOfDataPoints
TotalAbsoluteFrequencyType GetActualNumberOfDataPoints() const
itk::BinaryTreeBase::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(BinaryTreeBase)
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |