25#include <osg/Material>
27#include <osg/ShapeDrawable>
35class TessellationHints;
40#include <util/coTypes.h>
45class PLUGIN_UTILEXPORT
coArrow :
public osg::Geode
48 coArrow(
float radius = 1.0,
float length = 1.0,
bool originAtTip =
false,
bool draw =
true);
53 void drawArrow(osg::Vec3 base,
float radius,
float length);
59 osg::Cylinder *cylinder;
60 osg::ShapeDrawable *cylinderDraw;
62 osg::ShapeDrawable *coneDraw;
64 osg::TessellationHints *hints;
65 osg::StateSet *stateSet;
66 osg::Material *material;
Definition: ARToolKit.h:33
Definition: coClusterStat.h:29
virtual void setColor(osg::Vec4 color)
virtual void setAmbient(osg::Vec4 ambient)
virtual void setVisible(bool visible)
coArrow(float radius=1.0, float length=1.0, bool originAtTip=false, bool draw=true)
void drawArrow(osg::Vec3 base, float radius, float length)