cisst-saw
|
#include <svlSampleMatrix.h>
Public Member Functions | |
svlSampleMatrix () | |
svlSampleMatrix (const svlSampleMatrix &other) | |
virtual | ~svlSampleMatrix () |
virtual svlSample * | GetNewInstance () const =0 |
virtual svlStreamType | GetType () const =0 |
virtual int | SetSize (const svlSample *sample)=0 |
virtual int | SetSize (const svlSample &sample)=0 |
virtual int | CopyOf (const svlSample *sample)=0 |
virtual int | CopyOf (const svlSample &sample)=0 |
virtual bool | IsInitialized () const =0 |
virtual unsigned char * | GetUCharPointer ()=0 |
virtual const unsigned char * | GetUCharPointer () const =0 |
virtual unsigned int | GetDataSize () const =0 |
virtual void | SerializeRaw (std::ostream &outputStream) const =0 |
virtual void | DeSerializeRaw (std::istream &inputStream)=0 |
virtual unsigned char * | GetUCharPointer (const unsigned int col, const unsigned int row)=0 |
virtual const unsigned char * | GetUCharPointer (const unsigned int col, const unsigned int row) const =0 |
virtual void | SetSize (const unsigned int cols, const unsigned int rows)=0 |
virtual void | Resize (const unsigned int cols, const unsigned int rows)=0 |
virtual unsigned int | GetCols () const =0 |
virtual unsigned int | GetRows () const =0 |
virtual unsigned int | GetColStride () const =0 |
virtual unsigned int | GetRowStride () const =0 |
virtual const std::string | Str (const unsigned int width, const unsigned int precision, const int errorvalue) const =0 |
virtual const std::string | Str (const unsigned int width, const unsigned int precision, const unsigned int errorvalue) const =0 |
virtual const std::string | Str (const unsigned int width, const unsigned int precision, const double errorvalue) const =0 |
template<class _TypeIn > | |
int | ImportData (_TypeIn *input, const unsigned int size) |
int | ImportMatrix (const svlSampleMatrix *matrix) |
int | ImportImage (const svlSampleImage *image) |
int | ImportSample (const svlSample *sample) |
![]() | |
svlSample () | |
svlSample (const svlSample &other) | |
svlSample & | operator= (const svlSample &other) |
virtual | ~svlSample () |
void | SetTimestamp (double ts) |
double | GetTimestamp () const |
void | SetEncoder (const std::string &codec, const int parameter) |
void | GetEncoder (std::string &codec, int ¶meter) const |
![]() | |
mtsGenericObject (void) | |
mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
mtsGenericObject (const mtsGenericObject &other) | |
virtual | ~mtsGenericObject (void) |
bool | SetTimestampIfAutomatic (double timestamp) |
virtual void | ToStream (std::ostream &outputStream) const |
virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
size_t | ScalarNumber (void) const |
bool | ScalarNumberIsFixed (void) const |
double | Scalar (const size_t index) const throw (std::out_of_range) |
std::string | ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range) |
![]() | |
virtual | ~cmnGenericObject (void) |
virtual const cmnClassServicesBase * | Services (void) const =0 |
bool | ReconstructFrom (const cmnGenericObject &other) |
std::string | ToString (void) const |
virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) |
virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
Protected Member Functions | |
template<class _TypeIn , class _TypeOut > | |
int | ConvertData (_TypeIn *input, const unsigned int size) |
Additional Inherited Members | |
![]() | |
static svlSample * | GetNewFromType (svlStreamType type) |
svlSampleMatrix::svlSampleMatrix | ( | ) |
svlSampleMatrix::svlSampleMatrix | ( | const svlSampleMatrix & | other | ) |
|
virtual |
|
protected |
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Binary deserialization
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
int svlSampleMatrix::ImportData | ( | _TypeIn * | input, |
const unsigned int | size | ||
) |
int svlSampleMatrix::ImportImage | ( | const svlSampleImage * | image | ) |
int svlSampleMatrix::ImportMatrix | ( | const svlSampleMatrix * | matrix | ) |
int svlSampleMatrix::ImportSample | ( | const svlSample * | sample | ) |
|
pure virtual |
Reimplemented from svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Binary serialization
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implements svlSample.
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.
|
pure virtual |
Implemented in svlSampleMatrixCustom< _ValueType >, and svlSampleMatrixCustom< float >.