13 #ifndef DtAttachableProjectedTextModelInstance_H_
14 #define DtAttachableProjectedTextModelInstance_H_
21 #include <osg/Geometry>
23 #include <osgText/Text>
51 virtual void setColor(
const osg::Vec4& color );
52 virtual void setFontName(
const std::string& fontName );
53 virtual void setFontSize(
double size );
54 virtual void setText(
const std::string& text );
56 virtual void setPosition(
int vtx,
const DtVector& position );
63 DtChannel* findChannelWithLocation(
const osg::Vec3d& location )
const;
64 bool locationInChannel(
DtChannel* channel,
const osg::Vec3d& location )
const;
65 void getChannelDimensions(
DtChannel* channel,
double& startX,
double& startY,
66 double& endX,
double& endY )
const;