19#ifndef _SCATTER_TREE_H
20#define _SCATTER_TREE_H
53 return min.x <= x && x < max.x && min.y <= y && y < max.y;
59 static constexpr bool value =
true;
71 std::vector<ScatterVec> unplaced;
79 virtual void setId(uint32_t);
80 virtual void render(
int x,
int y,
unsigned int count) = 0;
87 unsigned int m_stride = 2;
89 std::list<ScatterTreeNode> m_alloc;
90 std::vector<double> m_points;
91 double m_finestScale = 1;
92 unsigned int m_splitThreshold = 100;
107 void push(
double x,
double y);
108 void setStride(
unsigned int stride);
109 void transfer(std::vector<double> &data);
116 void setSplitThreshold(
unsigned int);
117 void setFinestScale(
double);
Definition: ScatterTree.h:86
Definition: ScatterTree.h:74
Definition: ScatterTree.h:64
Definition: ScatterTree.h:27