roviz  0.7
Code Documentation of roviz
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Sparse< T > Class Template Reference
Inheritance diagram for Sparse< T >:
Inheritance graph
Collaboration diagram for Sparse< T >:
Collaboration graph

Public Member Functions

 Sparse (Image base_image=Image(), std::initializer_list< SourceID > sources={})
 
 Sparse (const StreamObject &base)
 
void add (const T &obj)
 
void add (const std::list< T > &objs)
 
void add (const std::vector< T > &objs)
 
std::size_t size (void)
 
const T & at (unsigned int index)
 
const T & operator[] (unsigned int index)
 
Image baseImage (void)
 
std::vector< T >::const_iterator begin (void) const
 
std::vector< T >::const_iterator end (void) const
 
- Public Member Functions inherited from StreamObject
SourceID id (void) const
 Get the SourceID of the object. More...
 

Static Public Member Functions

static StreamWidgetinitWidget (OutputPrivate *out)
 initWidget Returns a ImageWidget to display the image More...
 

Protected Attributes

SparsePrivate< T > * _this
 
- Protected Attributes inherited from StreamObject
std::shared_ptr< StreamObjectPrivate_this_base
 

Additional Inherited Members

- Protected Member Functions inherited from StreamObject
void initSources (std::initializer_list< SourceID > sources={})
 

Member Function Documentation

◆ initWidget()

template<class T >
StreamWidget * Sparse< T >::initWidget ( OutputPrivate out)
static

initWidget Returns a ImageWidget to display the image

Parameters
streamThe asocciated stream
Returns
The QWidget to show

See 'How to create your own streams'


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