14#ifndef OSG_SHAPEDRAWABLE
15#define OSG_SHAPEDRAWABLE 1
38 _tessellationHints(hints) { setShape(shape.
get()); }
47 virtual const char*
className()
const {
return "ShapeDrawable"; }
Definition ShapeDrawable:30
TessellationHints * getTessellationHints()
Definition ShapeDrawable:59
virtual bool isSameKindAs(const Object *obj) const
Definition ShapeDrawable:45
void setTessellationHints(TessellationHints *hints)
ref_ptr< TessellationHints > _tessellationHints
Definition ShapeDrawable:73
virtual Object * cloneType() const
Definition ShapeDrawable:43
const Vec4 & getColor() const
Definition ShapeDrawable:55
virtual Object * clone(const CopyOp ©op) const
Definition ShapeDrawable:44
ShapeDrawable(Shape *shape, TessellationHints *hints=0)
void setColor(const Vec4 &color)
ShapeDrawable(const ShapeDrawable &pg, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Vec4 _color
Definition ShapeDrawable:71
const TessellationHints * getTessellationHints() const
Definition ShapeDrawable:60
virtual const char * className() const
Definition ShapeDrawable:47
ShapeDrawable(const ref_ptr< T > &shape, TessellationHints *hints=0)
Definition ShapeDrawable:37
virtual const char * libraryName() const
Definition ShapeDrawable:46
virtual void setShape(Shape *shape)
T * get() const
Definition ref_ptr:117
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define NULL
Definition osg/Export:55
#define OSG_EXPORT
Definition osg/Export:39