当前位置:网站首页>Creation and content of mapnode -- osgearth rendering engine series (2)
Creation and content of mapnode -- osgearth rendering engine series (2)
2022-07-03 08:19:00 【CHPCWWHSU】
At the time of this article osgEarth earth File to earth creation ---(1) On the basis of , Further explanation MapNode The creation process of .
This article introduces the code , Explain in osgEarth in ,MapNode And MapNode Child nodes and traverse The contents of the function .
Content
osg::Node*
EarthFileSerializer2::deserialize(
const Config& const_conf,
const std::string& referrer,
const osgDB::Options* readOptions) const
{
......
......
......
MapNode::Options mapNodeOptions( conf.child("options") );
// Create a map node.
osg::ref_ptr<MapNode> mapNode = new MapNode( map.get(), mapNodeOptions );
// Apply the external conf if there is one.
if (!externalConfig.empty())
{
mapNode->externalConfig() = externalConfig;
}
// Install the extensions
for (unsigned i = 0; i < extensions.size(); ++i)
{
mapNode->addExtension(extensions[i].get());
}
// return the topmost parent of the mapnode. It'边栏推荐
- Some understandings of 3dfiles
- Conversion between golang JSON format and structure
- The general trend of data news releases the power of visual reporting ----- essays after reading
- JS regular case-
- unity2019_ Input management
- 【云原生】微服务之Feign的介绍与使用
- Why can void * be a general pointer
- oracle中的 (+)是什么意思
- C language - Introduction - essence Edition - take you into programming (I)
- Kunlunbase meetup is waiting for you!
猜你喜欢

Multi traveling salesman problem -- overview of formula and solution process

My touch screen production "brief history" 2

animation

Redis data structure

KunlunBase MeetUP 等您来!

Unity change default editor

Flex flexible box layout

WPF:解决MaterialDesign:DialogHost 无法关闭问题

A tunnel to all ports of the server

Unity2019_ Lighting system
随机推荐
Swagger document configuration
Golang中删除字符串的最后一个字符
數據庫應用技術課程設計之商城管理系統
MXone Pro自适应2.0影视模板西瓜视频主题苹果cmsV10模板
Why can void * be a general pointer
Cesium service deployment, and import and display local 3dfiles data
LinkList
Storage of data
MaxCompute字符串分割函数-SPLIT_PART
十六进制编码简介
go 解析身份证
Go resolve ID card
Free use until 2015 -- viz artist multi touch plug-in package
My touch screen production "brief history" 1
数据分析练习题
Transplantation of freetype Library
Golang的range
P2704 [noi2001] artillery position (shape pressure DP)
oracle 插入单引号
Unity2019_ Lighting system