14 #ifndef OSG_SHAPEDRAWABLE
15 #define OSG_SHAPEDRAWABLE 1
17 #include <osg/Drawable>
22 #include <osg/PrimitiveSet>
142 virtual const char*
className()
const {
return "ShapeDrawable"; }
145 void setColor(
const Vec4& color);
162 virtual void drawImplementation(
RenderInfo& renderInfo)
const;
bool getCreateBody() const
void setDetailRatio(float ratio)
const TessellationHints * getTessellationHints() const
TessellationHints(const TessellationHints &tess, const CopyOp ©op=CopyOp::SHALLOW_COPY)
void setCreateNormals(bool on)
bool getCreateFrontFace() const
bool getCreateTextureCoords() const
void setCreateTop(bool on)
virtual Object * clone(const CopyOp ©op) const
virtual Object * cloneType() const
void setTessellationMode(TessellationMode mode)
void setCreateFrontFace(bool on)
float getDetailRatio() const
void setCreateBody(bool on)
TessellationMode _TessellationMode
const Vec4 & getColor() const
void setCreateBackFace(bool on)
bool _createTextureCoords
void setTargetNumFaces(unsigned int target)
virtual bool isSameKindAs(const Object *obj) const
virtual bool supports(const PrimitiveFunctor &) const
TessellationMode getTessellationMode() const
bool getCreateNormals() const
unsigned int _targetNumFaces
bool getCreateBackFace() const
virtual void accept(AttributeFunctor &)
void setCreateBottom(bool on)
META_Object(osg, TessellationHints)
ref_ptr< TessellationHints > _tessellationHints
unsigned int getTargetNumFaces() const
void setCreateTextureCoords(bool on)
virtual const char * className() const
virtual bool supports(const Drawable::ConstAttributeFunctor &) const
bool getCreateTop() const
virtual bool supports(const AttributeFunctor &) const
bool getCreateBottom() const
TessellationHints * getTessellationHints()
virtual bool supports(const AttributeFunctor &) const
virtual const char * libraryName() const