21#include <tulip/Glyph.h>
34class TLP_GL_SCOPE AroundTexturedSphere :
public NoShaderGlyph {
35 const std::string textureFile;
36 const unsigned char alpha;
39 AroundTexturedSphere(
const tlp::PluginContext *context =
nullptr,
40 const std::string &aroundTextureFile =
"",
unsigned char alphaVal = 255)
41 : NoShaderGlyph(context), textureFile(aroundTextureFile), alpha(alphaVal) {}
42 void getIncludeBoundingBox(BoundingBox &boundingBox, node)
override;
43 void draw(node n,
float)
override;
44 static void drawGlyph(
const Color &glyphColor,
const Size &glyphSize,
const std::string &texture,
45 const std::string &texturePath,
const std::string &aroundTextureFile,
46 unsigned char alpha = 255);
This class represents the 3D bounding box of an object. It is mostly used to determine whether or not...