|
DGtal
0.6.devel
|
#include <Signal.h>
Public Types | |
| typedef TValue | Value |
Public Member Functions | |
| SignalData () | |
| void | init (unsigned int s, int z=0, bool p=false, const Value &def=Value(0)) |
| void | init (const Value *t, unsigned int size, int z=0, bool p=false, const Value &def=Value(0)) |
| SignalData (unsigned int s, int z=0, bool p=false, const Value &def=Value(0)) | |
| SignalData (const Value *t, unsigned int size, int z=0, bool p=false, const Value &def=Value(0)) | |
| ~SignalData () | |
| SignalData (const SignalData &other) | |
| SignalData & | operator= (const SignalData &other) |
| const Value & | defaut () const |
Data Fields | |
| Value * | data |
| unsigned int | size |
| int | zero |
| bool | periodic |
Represents the signal data.
| TValue | the type chosen for each sample (generally float or double). |
| typedef TValue DGtal::SignalData< TValue >::Value |
|
inline |
|
inline |
|
inline |
Constructor.
| t | the array containing initial data. |
| size | the size of the signal. |
| z | the index of the zero-th element. |
| p | 'true' if the signal is periodic. |
| def | the default value. |
Constructor.
| t | the array containing initial data. |
| s | the number of data in the signal. |
| z | the index of the zero-th element. |
| p | 'true' if the signal is periodic. |
| def | the default value. |
|
inline |
|
inline |
Copy constructor.
| other | the data to clone. |
Definition at line 150 of file Signal.ih.
References DGtal::SignalData< TValue >::data.
|
inline |
Default value.
Definition at line 207 of file Signal.ih.
Referenced by DGtal::Signal< TValue >::operator*().
|
inline |
Initializer.
| s | the number of data in the signal. |
| z | the index of the zero-th element. |
| p | 'true' if the signal is periodic. |
| def | the default value. |
Constructor.
| s | the number of data in the signal. |
| z | the index of the zero-th element. |
| p | 'true' if the signal is periodic. |
| def | the default value. |
|
inline |
Initializer.
| t | the array containing initial data. |
| size | the size of the signal. |
| z | the index of the zero-th element. |
| p | 'true' if the signal is periodic. |
| def | the default value. |
Constructor.
| t | the array containing initial data. |
| s | the number of data in the signal. |
| z | the index of the zero-th element. |
| p | 'true' if the signal is periodic. |
| def | the default value. |
|
inline |
Assignment.
| other | the data to clone. |
Definition at line 172 of file Signal.ih.
References DGtal::SignalData< TValue >::data, DGtal::SignalData< TValue >::periodic, DGtal::SignalData< TValue >::size, and DGtal::SignalData< TValue >::zero.
| Value* DGtal::SignalData< TValue >::data |
a dyn. array on Value s.
Definition at line 62 of file Signal.h.
Referenced by DGtal::Signal< TValue >::multiply(), DGtal::Signal< TValue >::operator*(), DGtal::SignalData< TValue >::operator=(), DGtal::Signal< TValue >::operator[](), DGtal::Signal< TValue >::setAll(), and DGtal::SignalData< TValue >::SignalData().
| bool DGtal::SignalData< TValue >::periodic |
when 'true', the signal is periodic, otherwise infinite (with default value outside).
Definition at line 69 of file Signal.h.
Referenced by DGtal::Signal< TValue >::operator*(), DGtal::SignalData< TValue >::operator=(), and DGtal::Signal< TValue >::operator[]().
| unsigned int DGtal::SignalData< TValue >::size |
the size of the array data.
Definition at line 64 of file Signal.h.
Referenced by DGtal::Signal< TValue >::multiply(), DGtal::Signal< TValue >::operator*(), DGtal::SignalData< TValue >::operator=(), DGtal::Signal< TValue >::operator[](), and DGtal::Signal< TValue >::setAll().
| int DGtal::SignalData< TValue >::zero |
the true index of the zero abscissa.
Definition at line 66 of file Signal.h.
Referenced by DGtal::Signal< TValue >::operator*(), DGtal::SignalData< TValue >::operator=(), and DGtal::Signal< TValue >::operator[]().
1.8.1.1