SystemContainer.cc 1.78 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
#include "SystemContainer.h"

#include <osg/PositionAttitudeTransform>

SystemContainer::SystemContainer()
{

}

QVector4D&
SystemContainer::target(void)
{
    return mTarget;
}

QVector< osg::ref_ptr<osg::Node> >&
SystemContainer::models(void)
{
    return mModels;
}

QMap<int, QVector<osg::Vec3d> >&
SystemContainer::trailMap(void)
{
    return mTrailMap;
}

QMap<int, int>&
SystemContainer::trailIndexMap(void)
{
    return mTrailIndexMap;
}

osg::ref_ptr<ImageWindowGeode>&
SystemContainer::depthImageNode(void)
{
    return mDepthImageNode;
}

osg::ref_ptr<osg::Geode>&
SystemContainer::localGridNode(void)
{
    return mLocalGridNode;
}

osg::ref_ptr<osg::Node>&
SystemContainer::modelNode(void)
{
    return mModelNode;
}

52 53 54 55 56 57
osg::ref_ptr<osg::Group>&
SystemContainer::orientationNode(void)
{
    return mOrientationNode;
}

58 59 60 61 62 63 64 65 66 67 68 69
osg::ref_ptr<osg::Geode>&
SystemContainer::pointCloudNode(void)
{
    return mPointCloudNode;
}

osg::ref_ptr<ImageWindowGeode>&
SystemContainer::rgbImageNode(void)
{
    return mRGBImageNode;
}

70 71 72 73 74 75
osg::ref_ptr<osg::Group>&
SystemContainer::setpointGroupNode(void)
{
    return mSetpointGroupNode;
}

76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
osg::ref_ptr<osg::Node>&
SystemContainer::targetNode(void)
{
    return mTargetNode;
}

osg::ref_ptr<osg::Geode>&
SystemContainer::trailNode(void)
{
    return mTrailNode;
}

osg::ref_ptr<WaypointGroupNode>&
SystemContainer::waypointGroupNode(void)
{
    return mWaypointGroupNode;
}

#if defined(QGC_PROTOBUF_ENABLED) && defined(QGC_USE_PIXHAWK_MESSAGES)

osg::ref_ptr<ObstacleGroupNode>&
SystemContainer::obstacleGroupNode(void)
{
    return mObstacleGroupNode;
}

102 103 104 105 106 107
QMap<QString,osg::ref_ptr<GLOverlayGeode> >&
SystemContainer::overlayNodeMap(void)
{
    return mOverlayNodeMap;
}

108 109 110 111 112 113 114
osg::ref_ptr<osg::Geode>&
SystemContainer::plannedPathNode(void)
{
    return mPlannedPathNode;
}

#endif