|
|
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 | |
| typedef Superclass::AbsoluteFrequencyType | AbsoluteFrequencyType |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef Superclass::InstanceIdentifier | InstanceIdentifier |
| typedef InternalDataType * | InternalDataContainerType |
| typedef InternalValueType * | InternalDataType |
| typedef TInternalValue | InternalValueType |
| typedef Superclass::MeasurementType | MeasurementType |
| typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
| typedef Superclass::MeasurementVectorType | MeasurementVectorType |
| typedef SmartPointer< Self > | Pointer |
| typedef ListSampleCArray | Self |
| typedef Sample< TMeasurementVector > | Superclass |
| typedef Superclass::TotalAbsoluteFrequencyType | TotalAbsoluteFrequencyType |
Public Member Functions | |
| void | Clear (void) |
| unsigned long | GetActualSize (void) |
| virtual const char * | GetClassName () const |
| virtual AbsoluteFrequencyType | GetFrequency (InstanceIdentifier id) const |
| virtual InternalDataContainerType | GetInternalContainer () const |
| virtual const MeasurementVectorType & | GetMeasurementVector (InstanceIdentifier id) const |
| void | GetMeasurementVector (InstanceIdentifier id, MeasurementVectorType &mv) const |
| virtual TotalAbsoluteFrequencyType | GetTotalFrequency (void) const |
| 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) |
| virtual InstanceIdentifier | Size (void) const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| ListSampleCArray () | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual | ~ListSampleCArray () |
Private Member Functions | |
| void | AllocateInternalContainer (unsigned long size, unsigned int dim) |
| void | DeallocateInternalContainer (void) |
| ListSampleCArray (const Self &) | |
| void | operator= (const Self &) |
Private Attributes | |
| InstanceIdentifier | m_ActualSize |
| InternalDataContainerType | m_InternalContainer |
| InstanceIdentifier | m_InternalContainerSize |
| MeasurementVectorType | m_TemporaryMeasurementVector |
| typedef Superclass::AbsoluteFrequencyType itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::AbsoluteFrequencyType |
Definition at line 66 of file itkListSampleCArray.h.
| typedef SmartPointer< const Self > itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::ConstPointer |
Definition at line 54 of file itkListSampleCArray.h.
| typedef Superclass::InstanceIdentifier itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InstanceIdentifier |
Definition at line 68 of file itkListSampleCArray.h.
| typedef InternalDataType* itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InternalDataContainerType |
Definition at line 73 of file itkListSampleCArray.h.
| typedef InternalValueType* itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InternalDataType |
Definition at line 72 of file itkListSampleCArray.h.
| typedef TInternalValue itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::InternalValueType |
Typedef's for the internal data container.
Definition at line 71 of file itkListSampleCArray.h.
| typedef Superclass::MeasurementType itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::MeasurementType |
Definition at line 65 of file itkListSampleCArray.h.
| typedef Superclass::MeasurementVectorSizeType itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::MeasurementVectorSizeType |
Definition at line 64 of file itkListSampleCArray.h.
| typedef Superclass::MeasurementVectorType itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::MeasurementVectorType |
Typedef's from Superclass.
Definition at line 60 of file itkListSampleCArray.h.
| typedef SmartPointer< Self > itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Pointer |
Definition at line 53 of file itkListSampleCArray.h.
| typedef ListSampleCArray itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Self |
Standard itk.
Definition at line 51 of file itkListSampleCArray.h.
| typedef Sample< TMeasurementVector > itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Superclass |
Definition at line 52 of file itkListSampleCArray.h.
| typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::TotalAbsoluteFrequencyType |
Definition at line 67 of file itkListSampleCArray.h.
|
protected |
|
protectedvirtual |
|
private |
|
private |
Function to allocate the memory of the data container.
| void itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::Clear | ( | void | ) |
Function to clear the data container.
|
private |
Function to deallocate the memory of the data container.
| unsigned long itk::Statistics::ListSampleCArray< TMeasurementVector, TInternalValue >::GetActualSize | ( | void | ) |
Function to get the actual (not the allocated) size of the data container.
|
virtual |
ITK type info
|
virtual |
Function to get the frequency of point i. 1.0 if it exist, 0.0 otherwise.
|
virtual |
Macro to get the internal data container.
|
virtual |
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.
|
inlinevirtual |
Function to get the total frequency.
Definition at line 122 of file itkListSampleCArray.h.
|
static |
New method for creating an object using a factory.
|
private |
|
protected |
| 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.
|
inlinevirtual |
Function to get the size of the data container.
Definition at line 91 of file itkListSampleCArray.h.
|
private |
Definition at line 142 of file itkListSampleCArray.h.
|
private |
The internal storage of the data in a C array.
Definition at line 140 of file itkListSampleCArray.h.
|
private |
Definition at line 141 of file itkListSampleCArray.h.
|
mutableprivate |
Dummy needed for GetMeasurementVector().
Definition at line 145 of file itkListSampleCArray.h.
Generated on OURCE_DATE_EPOCH for elastix by 1.8.13 |