#include <osg/Object>
#include <osg/State>
#include <osgText/Export>
#include <string>
Include dependency graph for Font:
This graph shows which files directly or indirectly include this file:
Namespaces | |
namespace | osgText |
Defines | |
#define | OSGTEXT_FONT 1 |
#define | META_Font(library, name) |
META_Font macro define the standard clone, isSameKindAs, className and getType methods. |
|
Value: virtual osg::Object* cloneType() const { return new name(); } \ virtual osg::Object* clone(const osg::CopyOp& copyop) const { return new name (*this,copyop); } \ virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const name *>(obj)!=NULL; } \ virtual const char* libraryName() const { return #library; } \ virtual const char* className() const { return #name; } \ Use when subclassing from Object to make it more convinient to define the standard pure virtual methods which are required for all Object subclasses. |
|
|