7 #include "streams/stream_object.h" 8 #include "streams/sparse_p.h" 9 #include "streams/image.h" 10 #include "streams/sparse_types.h" 11 #include "core/template_decl.h" 16 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev 19 #define POINT_RECT_SIZE 4 20 #define SPARSE_LINE_WIDTH 1 23 extern const QColor SparseColor[10];
32 Sparse(
Image base_image =
Image(), std::initializer_list<SourceID> sources = {});
34 void add(
const T &obj);
35 void add(
const std::list<T> &objs);
36 void add(
const std::vector<T> &objs);
37 std::size_t size(
void);
38 const T &at(
unsigned int index);
39 const T &operator[](
unsigned int index);
40 Image baseImage(
void);
41 typename std::vector<T>::const_iterator begin(
void)
const;
42 typename std::vector<T>::const_iterator end(
void)
const;
48 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev 61 DO_FOR_ALL_SPARSE(DECLARE_STREAM_OBJECT)
62 DO_FOR_ALL_SPARSE_TEMPLATES(DECLARE_STREAM_OBJECT)
Base class of all objects that can be transported with a stream.
Definition: stream_object.h:39
Definition: template_decl.h:10
Private part of the Ouput class.
Definition: output_p.h:16
A portable image class with smart memory management.
Definition: image.h:35