7 #include <unordered_map>
16 void setColor(
int label,
Color);
18 void setFillArea(
bool fillArea);
19 void setBorderRadius(
int radius);
20 void setOpacity(
float opacity);
21 void setInterpolation(
bool useInterpolation);
22 void loadAttributes()
override;
25 void draw(Matrix4f perspectiveMatrix, Matrix4f viewingMatrix,
float zNear,
float zFar,
bool mode2D)
override;
28 bool mFillAreaModified;
30 std::unordered_map<int, Color> mLabelColors;
31 std::unordered_map<int, bool> mLabelFillArea;
33 bool mUseInterpolation =
true;
34 int mBorderRadius = 1;
36 cl::Buffer mColorBuffer, mFillAreaBuffer;