1 | /* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer |
---|
2 | * |
---|
3 | * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under |
---|
4 | * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or |
---|
5 | * (at your option) any later version. The full license is in LICENSE file |
---|
6 | * included with this distribution, and on the openscenegraph.org website. |
---|
7 | * |
---|
8 | * osgVisual requires for some proprietary modules a license from the correspondig manufacturer. |
---|
9 | * You have to aquire licenses for all used proprietary modules. |
---|
10 | * |
---|
11 | * This library is distributed in the hope that it will be useful, |
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | * OpenSceneGraph Public License for more details. |
---|
15 | */ |
---|
16 | |
---|
17 | #include "dataIO_transportContainer.h" |
---|
18 | #include <osgDB/ObjectWrapper> |
---|
19 | #include <osgDB/InputStream> |
---|
20 | #include <osgDB/OutputStream> |
---|
21 | |
---|
22 | REGISTER_OBJECT_WRAPPER( dataIO_transportContainer, // The unique wrapper name |
---|
23 | new osgVisual::dataIO_transportContainer, // The proto |
---|
24 | osgVisual::dataIO_transportContainer, // The class typename |
---|
25 | "osg::Object osgVisual::dataIO_transportContainer" ) // The inheritance relations |
---|
26 | { |
---|
27 | ADD_INT_SERIALIZER( FrameID, 0 ); |
---|
28 | ADD_MATRIXD_SERIALIZER( ViewMatrix, osg::Matrixd() ); |
---|
29 | ADD_VEC3D_SERIALIZER( Eye, osg::Vec3d(-1.0, -1.0, -1.0) ); |
---|
30 | ADD_VEC3D_SERIALIZER( Center, osg::Vec3d(-1.0,-1.0,-1.0) ); |
---|
31 | ADD_VEC3D_SERIALIZER( Up, osg::Vec3d(-1.0,-1.0,-1.0) ); |
---|
32 | ADD_LIST_SERIALIZER( Executer, osgVisual::dataIO_transportContainer::executerList ); |
---|
33 | ADD_LIST_SERIALIZER( IOSlots, osgVisual::dataIO_transportContainer::slotList ); |
---|
34 | } |
---|