FlightGear next
NasalModelData.cxx File Reference
#include "NasalModelData.hxx"
#include "NasalSys.hxx"
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <osg/Transform>
#include <osg/observer_ptr>
#include <simgear/math/SGMath.hxx>
#include <simgear/nasal/cppbind/Ghost.hxx>
#include <simgear/scene/util/OsgDebug.hxx>
#include <simgear/scene/util/OsgMath.hxx>
#include <simgear/debug/logstream.hxx>
#include <algorithm>
#include <cstring>

Go to the source code of this file.

Typedefs

typedef osg::ref_ptr< osg::Node > NodeRef
 
typedef nasal::Ghost< NodeRefNasalNode
 

Functions

static naRef f_node_getPose (const osg::Node &node, const nasal::CallContext &ctx)
 Get position (lat, lon, elevation) and orientation (heading, pitch, roll) of model.
 

Typedef Documentation

◆ NasalNode

typedef nasal::Ghost<NodeRef> NasalNode

Definition at line 25 of file NasalModelData.cxx.

◆ NodeRef

typedef osg::ref_ptr<osg::Node> NodeRef

Definition at line 24 of file NasalModelData.cxx.

Function Documentation

◆ f_node_getPose()

static naRef f_node_getPose ( const osg::Node & node,
const nasal::CallContext & ctx )
static

Get position (lat, lon, elevation) and orientation (heading, pitch, roll) of model.

Definition at line 31 of file NasalModelData.cxx.