cisst-saw
|
#include <svlSample.h>
Public Member Functions | |
svlSample () | |
svlSample (const svlSample &other) | |
svlSample & | operator= (const svlSample &other) |
virtual | ~svlSample () |
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 |
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 |
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 |
Static Public Member Functions | |
static svlSample * | GetNewFromType (svlStreamType type) |
svlSample::svlSample | ( | ) |
svlSample::svlSample | ( | const svlSample & | other | ) |
|
virtual |
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Binary deserialization
Reimplemented from mtsGenericObject.
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
void svlSample::GetEncoder | ( | std::string & | codec, |
int & | parameter | ||
) | const |
|
static |
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
double svlSample::GetTimestamp | ( | ) | const |
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
virtual |
Reimplemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Binary serialization
Reimplemented from mtsGenericObject.
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
void svlSample::SetEncoder | ( | const std::string & | codec, |
const int | parameter | ||
) |
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
|
pure virtual |
Implemented in svlSampleImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleImageCustom< float, 3, 1 >, svlSampleImageCustom< unsigned char, 3, 1 >, svlSampleCUDAImageCustom< _ValueType, _DataChannels, _VideoChannels >, svlSampleMatrixCustom< _ValueType >, svlSampleMatrixCustom< float >, svlSampleCameraGeometry, svlSampleImage, svlSampleMatrix, svlSampleBlobs, svlSampleTargets, svlSampleText, svlSampleTransform3D, and svlSampleCUDAImage.
void svlSample::SetTimestamp | ( | double | ts | ) |