ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkPointSetToListSampleAdaptor.h>
This class provides ListSample interface to ITK PointSet.
After calling SetPointSet(PointSet*) method to plug-in the PointSet object, users can use Sample interfaces to access PointSet data. This adaptor assumes that the PointsContainer is actual storage for measurment vectors. In other words, PointSet's dimension equals to the measurement vectors size. This class totally ignores PointsDataContainer.
Definition at line 46 of file itkPointSetToListSampleAdaptor.h.
Classes | |
class | ConstIterator |
class | Iterator |
Public Types | |
typedef Superclass::AbsoluteFrequencyType | AbsoluteFrequencyType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef Superclass::MeasurementType | MeasurementType |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef TPointSet::PointsContainer | PointsContainer |
typedef TPointSet::PointsContainerConstIterator | PointsContainerConstIteratorType |
typedef TPointSet::PointsContainerConstPointer | PointsContainerConstPointer |
typedef TPointSet::PointsContainerIterator | PointsContainerIteratorType |
typedef TPointSet::PointsContainerPointer | PointsContainerPointer |
typedef TPointSet::ConstPointer | PointSetConstPointer |
typedef TPointSet::Pointer | PointSetPointer |
typedef TPointSet | PointSetType |
typedef TPointSet::PointType | PointType |
typedef PointSetToListSampleAdaptor | Self |
typedef ListSample< typename TPointSet::PointType > | Superclass |
typedef Superclass::TotalAbsoluteFrequencyType | TotalAbsoluteFrequencyType |
typedef MeasurementVectorType | ValueType |
Public Types inherited from itk::Statistics::ListSample< TPointSet::PointType > | |
typedef Superclass::AbsoluteFrequencyType | AbsoluteFrequencyType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef std::vector < MeasurementVectorType > | InternalDataContainerType |
typedef Superclass::MeasurementType | MeasurementType |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef ListSample | Self |
typedef Sample < TPointSet::PointType > | Superclass |
typedef Superclass::TotalAbsoluteFrequencyType | TotalAbsoluteFrequencyType |
typedef MeasurementVectorType | ValueType |
Public Types inherited from itk::Statistics::Sample< TPointSet::PointType > | |
typedef MeasurementVectorTraits::AbsoluteFrequencyType | AbsoluteFrequencyType |
typedef SmartPointer< const Self > | ConstPointer |
typedef MeasurementVectorTraits::InstanceIdentifier | InstanceIdentifier |
typedef MeasurementVectorTraitsTypes < MeasurementVectorType > ::ValueType | MeasurementType |
typedef unsigned int | MeasurementVectorSizeType |
typedef TPointSet::PointType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef Sample | Self |
typedef DataObject | Superclass |
typedef NumericTraits < AbsoluteFrequencyType > ::AccumulateType | TotalAbsoluteFrequencyType |
Public Types inherited from itk::DataObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
typedef SmartPointer< Self > | Pointer |
typedef DataObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Member Functions inherited from itk::Statistics::ListSample< TPointSet::PointType > | |
ListSample () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< TPointSet::PointType > | |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Superclass::AbsoluteFrequencyType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::AbsoluteFrequencyType |
Definition at line 77 of file itkPointSetToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ConstPointer |
Definition at line 54 of file itkPointSetToListSampleAdaptor.h.
typedef Superclass::InstanceIdentifier itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::InstanceIdentifier |
Definition at line 80 of file itkPointSetToListSampleAdaptor.h.
typedef Superclass::MeasurementType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::MeasurementType |
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 75 of file itkPointSetToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::MeasurementVectorSizeType |
Definition at line 79 of file itkPointSetToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::MeasurementVectorType |
Definition at line 76 of file itkPointSetToListSampleAdaptor.h.
typedef SmartPointer< Self > itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Pointer |
Definition at line 53 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::PointsContainer itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainer |
Definition at line 66 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::PointsContainerConstIterator itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerConstIteratorType |
Definition at line 70 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::PointsContainerConstPointer itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerConstPointer |
Definition at line 68 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::PointsContainerIterator itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerIteratorType |
Definition at line 69 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::PointsContainerPointer itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerPointer |
Definition at line 67 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::ConstPointer itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointSetConstPointer |
Definition at line 65 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::Pointer itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointSetPointer |
Definition at line 64 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointSetType |
PointSet typedefs
Definition at line 60 of file itkPointSetToListSampleAdaptor.h.
typedef TPointSet::PointType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointType |
Definition at line 71 of file itkPointSetToListSampleAdaptor.h.
typedef PointSetToListSampleAdaptor itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Self |
Standard class typedefs
Definition at line 51 of file itkPointSetToListSampleAdaptor.h.
typedef ListSample< typename TPointSet::PointType > itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Superclass |
Definition at line 52 of file itkPointSetToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::TotalAbsoluteFrequencyType |
Definition at line 78 of file itkPointSetToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ValueType |
Definition at line 82 of file itkPointSetToListSampleAdaptor.h.
|
protected |
the PointSet data source pointer
|
inlineprotectedvirtual |
the PointSet data source pointer
Definition at line 259 of file itkPointSetToListSampleAdaptor.h.
|
private |
the PointSet data source pointer
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 219 of file itkPointSetToListSampleAdaptor.h.
References itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::m_PointsContainer.
Referenced by itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 241 of file itkPointSetToListSampleAdaptor.h.
References itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::m_PointsContainer.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
inline |
returns an iterator that points to the end of the container
Definition at line 230 of file itkPointSetToListSampleAdaptor.h.
References itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::m_PointsContainer.
|
inline |
returns an iterator that points to the end of the container
Definition at line 249 of file itkPointSetToListSampleAdaptor.h.
References itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::m_PointsContainer.
AbsoluteFrequencyType itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::GetFrequency | ( | InstanceIdentifier | id | ) | const |
returns 1 as other subclasses of ListSampleBase does
const MeasurementVectorType& itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::GetMeasurementVector | ( | InstanceIdentifier | id | ) | const |
returns the measurement vector that is specified by the instance identifier argument.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< TPointSet::PointType >.
const TPointSet* itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::GetPointSet | ( | ) |
Method to get the point set
|
virtual |
returns the size of this container
Implements itk::Statistics::Sample< TPointSet::PointType >.
|
static |
Method for creation through the object factory.
|
private |
the PointSet data source pointer
|
protectedvirtual |
the PointSet data source pointer
Reimplemented from itk::Statistics::Sample< TPointSet::PointType >.
void itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::SetPointSet | ( | const TPointSet * | pointSet | ) |
Method to set the point set
|
virtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< TPointSet::PointType >.
|
private |
the points container which will be actually used for storing measurement vectors
Definition at line 271 of file itkPointSetToListSampleAdaptor.h.
Referenced by itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Begin(), and itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::End().
|
private |
the PointSet data source pointer
Definition at line 267 of file itkPointSetToListSampleAdaptor.h.
|
mutableprivate |
temporary points for conversions
Definition at line 274 of file itkPointSetToListSampleAdaptor.h.