1 /*****************************************************************************
2  * $LastChangedDate: 2009-11-22 22:39:11 -0500 (Sun, 22 Nov 2009) $
3  * @file
4  * @author  Jim E. Brooks  http://www.palomino3d.org
5  * @brief   Abstraction of node types.
6  *//*
7  * LEGAL:   COPYRIGHT (C) 2007 JIM E. BROOKS
8  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
9  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
10  *****************************************************************************/
11 
12 #ifndef GRAPH_TYPEDEFS_HH
13 #define GRAPH_TYPEDEFS_HH 1
14 
15 // graph/osg.hh includes headers.
16 
17 #if ! DOXYGEN
18 namespace osg {
19 
20 class Node;
21 class Group;
22 class Switch;
23 class MatrixTransform;
24 
25 } // namespace osg
26 #endif // ! DOXYGEN
27 
28 namespace graph {
29 
30 // Write these in a class interface, to provide some independence from OSG,
31 // but write their real names in .cc for clarity.
32 typedef osg::Node               Node;
33 typedef osg::Group              GroupNode;
34 typedef osg::Switch             SwitchNode;
35 typedef osg::MatrixTransform    TransformNode;
36 
37 } // namespace graph
38 
39 #endif // GRAPH_TYPEDEFS_HH
40