9 #ifndef GEPETTO_VIEWER_NODEDRAWABLE_HH 10 #define GEPETTO_VIEWER_NODEDRAWABLE_HH 40 this->setColor (color);
45 return getColor () [3];
48 virtual void setColor(
const osgVector4 &color);
52 virtual void setTexture(
const std::string& image_path);
Definition: node-drawable.h:19
float getAlpha() const
Definition: node-drawable.h:43
::osg::Vec4f osgVector4
Definition: config-osg.h:110
virtual ~NodeDrawable()
Definition: node-drawable.h:55
NodeDrawable(const std::string &name)
Definition: node-drawable.h:30
Definition: action-search-bar.hh:27
::osg::ShapeDrawableRefPtr shape_drawable_ptr_
Definition: node-drawable.h:25
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
virtual void setAlpha(const float &alpha)
Definition: node-drawable.h:36
Abstract base class of 3D objects in a scene.
Definition: node.h:27
NodeDrawable(const Node &other)
Definition: node-drawable.h:33