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

📄 input.cpp

📁 最新osg包
💻 CPP
字号:
// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008// $Id: Input.cpp 50 2008-05-06 05:06:36Z cubicool $#include <osgDB/Registry>#include <osgDB/Input>#include <osgDB/Output>#include <osgDB/FileUtils>#include <osgWidget/Input>bool osgWidget_Input_readData(osg::Object& obj, osgDB::Input& fr) {	osgWidget::warn() << "Input read" << std::endl;		return false;}bool osgWidget_Input_writeData(const osg::Object& obj, osgDB::Output& fw) {	const osgWidget::Input& model = static_cast<const osgWidget::Input&>(obj);		fw.indent() << fw.wrapString("Input stuff...") << std::endl;	return true;}osgDB::RegisterDotOsgWrapperProxy g_osgWidget_InputProxy(	new osgWidget::Input("unset"),	"osgWidget::Input",	"Object Drawable Geometry osgWidget::Widget osgWidget::Input",	&osgWidget_Input_readData,	&osgWidget_Input_writeData);

⌨️ 快捷键说明

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