⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 font3d.cpp

📁 最新osg包
💻 CPP
📖 第 1 页 / 共 2 页
字号:
// ***************************************************************************////   Generated automatically by genwrapper.//   Please DO NOT EDIT this file!//// ***************************************************************************#include <osgIntrospection/ReflectionMacros>#include <osgIntrospection/TypedMethodInfo>#include <osgIntrospection/StaticMethodInfo>#include <osgIntrospection/Attributes>#include <osg/Array>#include <osg/BoundingBox>#include <osg/CopyOp>#include <osg/Geometry>#include <osg/Object>#include <osg/Vec2>#include <osgText/Font3D>#include <osgText/KerningType>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifTYPE_NAME_ALIAS(OpenThreads::Mutex, osgText::Font3D::Font3DMutex)BEGIN_OBJECT_REFLECTOR(osgText::Font3D)	I_DeclaringFile("osgText/Font3D");	I_BaseType(osg::Object);	I_ConstructorWithDefaults1(IN, osgText::Font3D::Font3DImplementation *, implementation, 0,	                           Properties::NON_EXPLICIT,	                           ____Font3D__Font3DImplementation_P1,	                           "",	                           "");	I_Method0(osg::Object *, cloneType,	          Properties::VIRTUAL,	          __osg_Object_P1__cloneType,	          "Clone the type of an object, with Object* return type. ",	          "Must be defined by derived classes. ");	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,	          Properties::VIRTUAL,	          __osg_Object_P1__clone__C5_osg_CopyOp_R1,	          "Clone an object, with Object* return type. ",	          "Must be defined by derived classes. ");	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,	          Properties::VIRTUAL,	          __bool__isSameKindAs__C5_osg_Object_P1,	          "",	          "");	I_Method0(const char *, className,	          Properties::VIRTUAL,	          __C5_char_P1__className,	          "return the name of the object's class type. ",	          "Must be defined by derived classes. ");	I_Method0(const char *, libraryName,	          Properties::VIRTUAL,	          __C5_char_P1__libraryName,	          "return the name of the object's library. ",	          "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");	I_Method0(std::string, getFileName,	          Properties::VIRTUAL,	          __std_string__getFileName,	          "",	          "");	I_Method0(unsigned int, getFontWidth,	          Properties::NON_VIRTUAL,	          __unsigned_int__getFontWidth,	          "",	          "");	I_Method0(unsigned int, getFontHeight,	          Properties::NON_VIRTUAL,	          __unsigned_int__getFontHeight,	          "",	          "");	I_Method0(unsigned int, getFontDepth,	          Properties::NON_VIRTUAL,	          __unsigned_int__getFontDepth,	          "",	          "");	I_Method3(osg::Vec2, getKerning, IN, unsigned int, leftcharcode, IN, unsigned int, rightcharcode, IN, osgText::KerningType, kerningType,	          Properties::VIRTUAL,	          __osg_Vec2__getKerning__unsigned_int__unsigned_int__KerningType,	          "Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. ",	          "");	I_Method1(osgText::Font3D::Glyph3D *, getGlyph, IN, unsigned int, charcode,	          Properties::VIRTUAL,	          __Glyph3D_P1__getGlyph__unsigned_int,	          "Get a Glyph for specified charcode, and the font size nearest to the current font size hint. ",	          "");	I_Method0(bool, hasVertical,	          Properties::VIRTUAL,	          __bool__hasVertical,	          "Return true if this font provides vertical alignments and spacing or glyphs. ",	          "");	I_Method0(float, getScale,	          Properties::VIRTUAL,	          __float__getScale,	          "Return the scale to apply on the glyph to have a charactere size equal to 1. ",	          "");	I_Method1(void, setImplementation, IN, osgText::Font3D::Font3DImplementation *, implementation,	          Properties::NON_VIRTUAL,	          __void__setImplementation__Font3DImplementation_P1,	          "",	          "");	I_Method0(osgText::Font3D::Font3DImplementation *, getImplementation,	          Properties::NON_VIRTUAL,	          __Font3DImplementation_P1__getImplementation,	          "",	          "");	I_Method0(const osgText::Font3D::Font3DImplementation *, getImplementation,	          Properties::NON_VIRTUAL,	          __C5_Font3DImplementation_P1__getImplementation,	          "",	          "");	I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,	          Properties::VIRTUAL,	          __void__setThreadSafeRefUnref__bool,	          "Set whether to use a mutex to ensure ref() and unref(). ",	          "");	I_ProtectedMethod2(void, addGlyph, IN, unsigned int, charcode, IN, osgText::Font3D::Glyph3D *, glyph,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__addGlyph__unsigned_int__Glyph3D_P1,	                   "",	                   "");	I_SimpleProperty(std::string, FileName, 	                 __std_string__getFileName, 	                 0);	I_SimpleProperty(unsigned int, FontDepth, 	                 __unsigned_int__getFontDepth, 	                 0);	I_SimpleProperty(unsigned int, FontHeight, 	                 __unsigned_int__getFontHeight, 	                 0);	I_SimpleProperty(unsigned int, FontWidth, 	                 __unsigned_int__getFontWidth, 	                 0);	I_SimpleProperty(osgText::Font3D::Font3DImplementation *, Implementation, 	                 __Font3DImplementation_P1__getImplementation, 	                 __void__setImplementation__Font3DImplementation_P1);	I_SimpleProperty(float, Scale, 	                 __float__getScale, 	                 0);	I_SimpleProperty(bool, ThreadSafeRefUnref, 	                 0, 	                 __void__setThreadSafeRefUnref__bool);END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osgText::Font3D::Font3DImplementation)	I_DeclaringFile("osgText/Font3D");	I_BaseType(osg::Referenced);	I_Constructor0(____Font3DImplementation,	               "",	               "");	I_Method0(std::string, getFileName,	          Properties::PURE_VIRTUAL,	          __std_string__getFileName,	          "",	          "");	I_Method1(osgText::Font3D::Glyph3D *, getGlyph, IN, unsigned int, charcode,	          Properties::PURE_VIRTUAL,	          __Glyph3D_P1__getGlyph__unsigned_int,	          "Get a Glyph for specified charcode, and the font size nearest to the current font size hint. ",	          "");	I_Method3(osg::Vec2, getKerning, IN, unsigned int, leftcharcode, IN, unsigned int, rightcharcode, IN, osgText::KerningType, kerningType,	          Properties::PURE_VIRTUAL,	          __osg_Vec2__getKerning__unsigned_int__unsigned_int__KerningType,	          "Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint. ",	          "");	I_Method0(bool, hasVertical,	          Properties::PURE_VIRTUAL,	          __bool__hasVertical,	          "Return true if this font provides vertical alignments and spacing or glyphs. ",	          "");	I_Method0(float, getScale,	          Properties::PURE_VIRTUAL,	          __float__getScale,	          "",	          "");	I_Method1(void, setFontWidth, IN, unsigned int, width,	          Properties::NON_VIRTUAL,	          __void__setFontWidth__unsigned_int,	          "",	          "");	I_Method1(void, setFontHeight, IN, unsigned int, height,	          Properties::NON_VIRTUAL,	          __void__setFontHeight__unsigned_int,	          "",	          "");	I_Method1(void, setFontDepth, IN, unsigned int, depth,	          Properties::NON_VIRTUAL,	          __void__setFontDepth__unsigned_int,	          "",	          "");	I_SimpleProperty(std::string, FileName, 	                 __std_string__getFileName, 	                 0);	I_SimpleProperty(unsigned int, FontDepth, 	                 0, 	                 __void__setFontDepth__unsigned_int);	I_SimpleProperty(unsigned int, FontHeight, 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -