9 #include "imstkVisualModel.h" 10 #include "imstkColor.h" 25 setDelegateHint(
"VertexLabel");
32 const std::string&
getFormat()
const {
return m_format; }
33 void setFormat(
const std::string& format) { m_format = format; }
40 void setTextColor(
const Color& color) { m_textColor = color; }
47 void setFontSize(
const double fontSize) { m_fontSize = fontSize; }
51 std::string m_format =
"%d";
53 double m_fontSize = 10.0;
double getFontSize() const
Get/Set the font size.
const Color & getTextColor() const
Get/Set the text color.
Given a PointSet geometry it will render labels for each vertex with numberings.
static Color White
Various commonly used colors.
const std::string & getFormat() const
Get/Set printf style format string for every vertex d for integer.
Contains geometric, material, and render information.