Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://coin3d.github.io
https://www.kongsberg.com/en/kogt/
SoUpgrader Class Reference

The SoUpgrader class is used to support Inventor files with version < 2.1. More...

#include <SoUpgrader.h>

Static Public Member Functions

static SoBasetryCreateNode (const SbName &name, const float ivversion)
 
static SoBasecreateUpgrade (const SoBase *base)
 

Detailed Description

The SoUpgrader class is used to support Inventor files with version < 2.1.

This class is needed since some nodes in earlier versions of OpenInventor had different fields than nodes in Inventor V2.1.

Member Function Documentation

◆ tryCreateNode()

SoBase * SoUpgrader::tryCreateNode ( const SbName & name,
const float ivversion )
static

Try creating a node of name name with Inventor version ivversion.

Returns NULL if no such node exists.

◆ createUpgrade()

SoBase * SoUpgrader::createUpgrade ( const SoBase * base)
static

Upgrade base, usually created using SoUpgrader::tryCreateNode(), to the latest version of the same node.


The documentation for this class was generated from the following files: