cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
svlSampleMatrixCustom< _ValueType > Class Template Reference

#include <svlSampleMatrixCustom.h>

Inheritance diagram for svlSampleMatrixCustom< _ValueType >:
svlSampleMatrix svlSample mtsGenericObject cmnGenericObject

Public Member Functions

 svlSampleMatrixCustom ()
 
 svlSampleMatrixCustom (bool owndata)
 
 svlSampleMatrixCustom (const svlSampleMatrixCustom< _ValueType > &other)
 
 ~svlSampleMatrixCustom ()
 
svlSampleMatrixCustomoperator= (const svlSampleMatrixCustom< _ValueType > &other)
 
svlSampleGetNewInstance () const
 
svlStreamType GetType () const
 
int SetSize (const svlSample *sample)
 
int SetSize (const svlSample &sample)
 
int CopyOf (const svlSample *sample)
 
int CopyOf (const svlSample &sample)
 
bool IsInitialized () const
 
unsigned char * GetUCharPointer ()
 
const unsigned char * GetUCharPointer () const
 
unsigned int GetDataSize () const
 
virtual void SerializeRaw (std::ostream &outputStream) const
 
virtual void DeSerializeRaw (std::istream &inputStream)
 
unsigned char * GetUCharPointer (const unsigned int col, const unsigned int row)
 
const unsigned char * GetUCharPointer (const unsigned int col, const unsigned int row) const
 
void SetSize (const unsigned int cols, const unsigned int rows)
 
void Resize (const unsigned int cols, const unsigned int rows)
 
unsigned int GetCols () const
 
unsigned int GetRows () const
 
unsigned int GetColStride () const
 
unsigned int GetRowStride () const
 
int SetMatrix (vctDynamicMatrix< _ValueType > *matrix)
 
vctDynamicMatrix< _ValueType > & GetDynamicMatrixRef ()
 
const vctDynamicMatrix
< _ValueType > & 
GetDynamicMatrixRef () const
 
_ValueType * GetPointer ()
 
const _ValueType * GetPointer () const
 
_ValueType * GetPointer (const unsigned int col, const unsigned int row)
 
const _ValueType * GetPointer (const unsigned int col, const unsigned int row) const
 
_ValueType & Element (const unsigned int col, const unsigned int row)
 
const _ValueType & Element (const unsigned int col, const unsigned int row) const
 
const std::string Str (const unsigned int width, const unsigned int precision, const int errorvalue) const
 
const std::string Str (const unsigned int width, const unsigned int precision, const unsigned int errorvalue) const
 
const std::string Str (const unsigned int width, const unsigned int precision, const double errorvalue) const
 
template<class _TypeIn >
void Str (std::stringstream &strstr, const unsigned int width, const unsigned int precision, _TypeIn errorvalue) const
 
- Public Member Functions inherited from svlSampleMatrix
 svlSampleMatrix ()
 
 svlSampleMatrix (const svlSampleMatrix &other)
 
virtual ~svlSampleMatrix ()
 
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)
 
- Public Member Functions inherited from svlSample
 svlSample ()
 
 svlSample (const svlSample &other)
 
svlSampleoperator= (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 &parameter) const
 
- Public Member Functions inherited from mtsGenericObject
 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)
 
- Public Member Functions inherited from cmnGenericObject
virtual ~cmnGenericObject (void)
 
virtual const
cmnClassServicesBase
Services (void) const =0
 
bool ReconstructFrom (const cmnGenericObject &other)
 
std::string ToString (void) const
 
virtual cmnLogger::StreamBufTypeGetLogMultiplexer (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
 

Additional Inherited Members

- Static Public Member Functions inherited from svlSample
static svlSampleGetNewFromType (svlStreamType type)
 
- Protected Member Functions inherited from svlSampleMatrix
template<class _TypeIn , class _TypeOut >
int ConvertData (_TypeIn *input, const unsigned int size)
 

Constructor & Destructor Documentation

template<class _ValueType>
svlSampleMatrixCustom< _ValueType >::svlSampleMatrixCustom ( )
inline
template<class _ValueType>
svlSampleMatrixCustom< _ValueType >::svlSampleMatrixCustom ( bool  owndata)
inline
template<class _ValueType>
svlSampleMatrixCustom< _ValueType >::svlSampleMatrixCustom ( const svlSampleMatrixCustom< _ValueType > &  other)
inline
template<class _ValueType>
svlSampleMatrixCustom< _ValueType >::~svlSampleMatrixCustom ( )
inline

Member Function Documentation

template<class _ValueType>
int svlSampleMatrixCustom< _ValueType >::CopyOf ( const svlSample sample)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
int svlSampleMatrixCustom< _ValueType >::CopyOf ( const svlSample sample)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
virtual void svlSampleMatrixCustom< _ValueType >::DeSerializeRaw ( std::istream &  inputStream)
inlinevirtual

Binary deserialization

Implements svlSampleMatrix.

template<class _ValueType>
_ValueType& svlSampleMatrixCustom< _ValueType >::Element ( const unsigned int  col,
const unsigned int  row 
)
inline
template<class _ValueType>
const _ValueType& svlSampleMatrixCustom< _ValueType >::Element ( const unsigned int  col,
const unsigned int  row 
) const
inline
template<class _ValueType>
unsigned int svlSampleMatrixCustom< _ValueType >::GetCols ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
unsigned int svlSampleMatrixCustom< _ValueType >::GetColStride ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
unsigned int svlSampleMatrixCustom< _ValueType >::GetDataSize ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
vctDynamicMatrix<_ValueType>& svlSampleMatrixCustom< _ValueType >::GetDynamicMatrixRef ( )
inline
template<class _ValueType>
const vctDynamicMatrix<_ValueType>& svlSampleMatrixCustom< _ValueType >::GetDynamicMatrixRef ( ) const
inline
template<class _ValueType>
svlSample* svlSampleMatrixCustom< _ValueType >::GetNewInstance ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
_ValueType* svlSampleMatrixCustom< _ValueType >::GetPointer ( )
inline
template<class _ValueType>
const _ValueType* svlSampleMatrixCustom< _ValueType >::GetPointer ( ) const
inline
template<class _ValueType>
_ValueType* svlSampleMatrixCustom< _ValueType >::GetPointer ( const unsigned int  col,
const unsigned int  row 
)
inline
template<class _ValueType>
const _ValueType* svlSampleMatrixCustom< _ValueType >::GetPointer ( const unsigned int  col,
const unsigned int  row 
) const
inline
template<class _ValueType>
unsigned int svlSampleMatrixCustom< _ValueType >::GetRows ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
unsigned int svlSampleMatrixCustom< _ValueType >::GetRowStride ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
svlStreamType svlSampleMatrixCustom< _ValueType >::GetType ( void  ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
unsigned char* svlSampleMatrixCustom< _ValueType >::GetUCharPointer ( )
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
const unsigned char* svlSampleMatrixCustom< _ValueType >::GetUCharPointer ( ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
unsigned char* svlSampleMatrixCustom< _ValueType >::GetUCharPointer ( const unsigned int  col,
const unsigned int  row 
)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
const unsigned char* svlSampleMatrixCustom< _ValueType >::GetUCharPointer ( const unsigned int  col,
const unsigned int  row 
) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
bool svlSampleMatrixCustom< _ValueType >::IsInitialized ( void  ) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
svlSampleMatrixCustom& svlSampleMatrixCustom< _ValueType >::operator= ( const svlSampleMatrixCustom< _ValueType > &  other)
inline
template<class _ValueType>
void svlSampleMatrixCustom< _ValueType >::Resize ( const unsigned int  cols,
const unsigned int  rows 
)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
virtual void svlSampleMatrixCustom< _ValueType >::SerializeRaw ( std::ostream &  outputStream) const
inlinevirtual

Binary serialization

Implements svlSampleMatrix.

template<class _ValueType>
int svlSampleMatrixCustom< _ValueType >::SetMatrix ( vctDynamicMatrix< _ValueType > *  matrix)
inline
template<class _ValueType>
int svlSampleMatrixCustom< _ValueType >::SetSize ( const svlSample sample)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
int svlSampleMatrixCustom< _ValueType >::SetSize ( const svlSample sample)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
void svlSampleMatrixCustom< _ValueType >::SetSize ( const unsigned int  cols,
const unsigned int  rows 
)
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
const std::string svlSampleMatrixCustom< _ValueType >::Str ( const unsigned int  width,
const unsigned int  precision,
const int  errorvalue 
) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
const std::string svlSampleMatrixCustom< _ValueType >::Str ( const unsigned int  width,
const unsigned int  precision,
const unsigned int  errorvalue 
) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
const std::string svlSampleMatrixCustom< _ValueType >::Str ( const unsigned int  width,
const unsigned int  precision,
const double  errorvalue 
) const
inlinevirtual

Implements svlSampleMatrix.

template<class _ValueType>
template<class _TypeIn >
void svlSampleMatrixCustom< _ValueType >::Str ( std::stringstream &  strstr,
const unsigned int  width,
const unsigned int  precision,
_TypeIn  errorvalue 
) const
inline

The documentation for this class was generated from the following file: