19#ifndef _DATA_PRODUCTS_SCATTER_H
20#define _DATA_PRODUCTS_SCATTER_H
22#include <DataProduct.h>
31 class ScatterTreeRenderer;
32 struct OpticalSurface;
35 std::string m_label =
"No name";
43 ScatterSet(uint32_t
id, std::vector<Real>
const &, std::string
const &label =
"",
unsigned stride = 2);
44 ScatterSet(uint32_t
id, std::vector<Real> &, std::string
const &label =
"",
unsigned stride = 2,
bool transfer =
false);
50 std::string
const &label()
const;
57 std::list<ScatterSet *> m_setList;
58 unsigned int m_idCount = 0;
60 mutable pthread_mutex_t m_lock;
61 bool m_haveLock =
false;
67 virtual void clear()
override;
68 virtual void build()
override;
69 virtual std::string productType()
const override;
70 virtual bool saveToFile(std::string
const &path)
const override;
72 size_t points()
const;
75 void addSurface(
OpticalSurface const *, std::string
const &label =
"");
76 void addSurface(uint32_t
id,
OpticalSurface const *, std::string
const &label =
"");
79 std::list<ScatterSet *>
const &dataSets()
const;
Definition: DataProduct.h:25
Definition: ScatterTree.h:86
Definition: ScatterTree.h:74
Definition: OpticalElement.h:33