当前位置:网站首页>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'边栏推荐
- C#课程设计之学生教务管理系统
- Three characteristics
- Storage of data
- Maxcompute string splitting function -split_ PART
- Conversion between golang JSON format and structure
- the installer has encountered an unexpected error installing this package
- Golang 字符串分割,替换和截取
- Xlua task list youyou
- Product creation and commercial realization of chat robot (according to La Ma Bang - Dr. Wang Jingjing - speech)
- Conversion between string and int types in golang
猜你喜欢
![P1596 [USACO10OCT]Lake Counting S](/img/a7/07a84c93ee476788d9443c0add808b.png)
P1596 [USACO10OCT]Lake Counting S

Easy touch plug-in

Base64和Base64URL
![[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)](/img/df/a034032e203e7935dafaf8a71cb6c8.jpg)
[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)

About Wireshark's unsuccessful installation of npcap

Haproxy+kept build 01

超限黑客认知

Viz artist advanced script video tutorial -- stringmap use and vertex operation

Shader foundation 01

Simply start with the essence and principle of SOM neural network
随机推荐
Ventuz Foundation Series "one step at the door"
Pycharm remote ssh pyenv error: pydev debugger: warning: trying to add breakpoint to file that does
Golang string segmentation, substitution and interception
[cloud native] introduction and use of feign of microservices
璞华PLM为全场景产品生命周期管理赋能,助力产品主线的企业数字化转型
Dotween plug-in
超限黑客认知
MAE
【音视频】ijkplayer错误码
Clion toolchains are not configured configure disable profile problem solving
Golang中删除字符串的最后一个字符
jupyter远程服务器配置以及服务器开机自启
C language - Introduction - essence Edition - take you into programming (I)
[cocos creator] get the resource UUID
L'installateur a été installé avec une erreur inattendue
Lua hot update basic grammar
Conversion between string and int types in golang
Abstract classes and interfaces
Golang 时间格式整理
Encoding and decoding of golang URL