#include <GeomUtil.h>
Public Member Functions | |
vtDimension (const FPoint3 &p1, const FPoint3 &p2, float height, const RGBf &line_color, const RGBf &text_color, osgText::Font *font, const char *message) | |
void | SetText (const char *text) |
Public Attributes | |
vtGeode * | m_pGeode |
vtMaterialArrayPtr | m_pMats |
vtMesh * | m_pLines |
vtTextMesh * | m_pLabel |
vtTextMesh * | m_pLabel2 |
The vtDimension class creates a 'dimension' object, which draws an arrow connecting two points in space along with a text label, which is useful for describing the length of the line (or any other string).