|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkListSampleCArray.h>
A ListSampleBase that internally uses a CArray, which can be accessed.
This class is useful if some function expects a c-array, but you would like to keep things as much as possible in the itk::Statistics-framework.
Definition at line 45 of file itkListSampleCArray.h.
Inheritance diagram for itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >:Public Types | |
| using | ConstPointer = SmartPointer< const Self > |
| using | InternalDataContainerType = InternalDataType * |
| using | InternalDataType = InternalValueType * |
| using | InternalValueType = TInternalValue |
| using | Pointer = SmartPointer< Self > |
| using | Self = ListSampleCArray |
| using | Superclass = Sample< TMeasurementVector > |
Public Member Functions | |
| void | Clear () |
| unsigned long | GetActualSize () |
| virtual const char * | GetClassName () const |
| AbsoluteFrequencyType | GetFrequency (InstanceIdentifier id) const override |
| virtual InternalDataContainerType | GetInternalContainer () const |
| const MeasurementVectorType & | GetMeasurementVector (InstanceIdentifier id) const override |
| void | GetMeasurementVector (InstanceIdentifier id, MeasurementVectorType &mv) const |
| TotalAbsoluteFrequencyType | GetTotalFrequency () const override |
| ITK_DISALLOW_COPY_AND_MOVE (ListSampleCArray) | |
| void | Resize (unsigned long n) |
| void | SetActualSize (unsigned long n) |
| void | SetMeasurement (InstanceIdentifier id, unsigned int dim, const MeasurementType &value) |
| void | SetMeasurementVector (InstanceIdentifier id, const MeasurementVectorType &mv) |
| InstanceIdentifier | Size () const override |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| ListSampleCArray () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~ListSampleCArray () override | |
Private Member Functions | |
| void | AllocateInternalContainer (unsigned long size, unsigned int dim) |
| void | DeallocateInternalContainer () |
Private Attributes | |
| InstanceIdentifier | m_ActualSize {} |
| InternalDataContainerType | m_InternalContainer {} |
| InstanceIdentifier | m_InternalContainerSize {} |
| MeasurementVectorType | m_TemporaryMeasurementVector {} |
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkListSampleCArray.h.
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InternalDataContainerType = InternalDataType * |
Definition at line 73 of file itkListSampleCArray.h.
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InternalDataType = InternalValueType * |
Definition at line 72 of file itkListSampleCArray.h.
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InternalValueType = TInternalValue |
Typedef's for the internal data container.
Definition at line 71 of file itkListSampleCArray.h.
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkListSampleCArray.h.
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Self = ListSampleCArray |
Standard itk.
Definition at line 51 of file itkListSampleCArray.h.
| using itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Superclass = Sample<TMeasurementVector> |
Definition at line 52 of file itkListSampleCArray.h.
|
protected |
|
overrideprotected |
|
private |
Function to allocate the memory of the data container.
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Clear | ( | ) |
Function to clear the data container.
|
private |
Function to deallocate the memory of the data container.
| unsigned long itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::GetActualSize | ( | ) |
Function to get the actual (not the allocated) size of the data container.
|
virtual |
ITK type info
|
override |
Function to get the frequency of point i. 1.0 if it exist, 0.0 otherwise.
|
virtual |
Macro to get the internal data container.
|
override |
Function to get a point from the data container. NB: the reference to the returned value remains only valid until the next call to this function. The method GetMeasurementVector( const InstanceIdentifier &id, MeasurementVectorType & mv) is actually a preferred way to get a measurement vector.
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::GetMeasurementVector | ( | InstanceIdentifier | id, |
| MeasurementVectorType & | mv | ||
| ) | const |
Function to get a point from the data container.
|
inlineoverride |
Function to get the total frequency.
Definition at line 129 of file itkListSampleCArray.h.
| itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::ITK_DISALLOW_COPY_AND_MOVE | ( | ListSampleCArray< TMeasurementVector, TInternalValue > | ) |
|
static |
New method for creating an object using a factory.
|
overrideprotected |
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Resize | ( | unsigned long | n | ) |
Function to resize the data container.
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::SetActualSize | ( | unsigned long | n | ) |
Function to set the actual (not the allocated) size of the data container.
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::SetMeasurement | ( | InstanceIdentifier | id, |
| unsigned int | dim, | ||
| const MeasurementType & | value | ||
| ) |
Function to set part of a point (measurement) in the data container.
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::SetMeasurementVector | ( | InstanceIdentifier | id, |
| const MeasurementVectorType & | mv | ||
| ) |
Function to set a point (measurement vector) in the data container.
|
inlineoverride |
Function to get the size of the data container.
Definition at line 96 of file itkListSampleCArray.h.
|
private |
Definition at line 145 of file itkListSampleCArray.h.
|
private |
The internal storage of the data in a C array.
Definition at line 143 of file itkListSampleCArray.h.
|
private |
Definition at line 144 of file itkListSampleCArray.h.
|
mutableprivate |
Dummy needed for GetMeasurementVector().
Definition at line 148 of file itkListSampleCArray.h.
Generated on 1739326392 for elastix by 1.9.8 |