graph Namespace Reference

graph module. More...


Classes

class  BaseSceneGraph
 Base scene-graph class. More...
class  Conf
 Module configuration. More...
class  Graph
 Graph class (per-object graph). More...
class  GraphEnablement
 Private implementation for Graph and Subgraph. More...
class  VisitorFindNamedNode
 Visitor to find a Node by its name. More...
class  ModelCache
 Cache of 3D models (avoids re-loading the same 3D model files). More...
class  NodeSort
 NodeSort defines major graphical states for top-level state-sorting. More...
class  SceneGraph
 SceneGraph class contains nodes. More...
class  ShadowSceneGraph
 Graph containing nodes that cast/receive shadows. More...
class  Subgraph
 Defines a partition of a graph (subtree). More...

Namespaces

namespace  defs
namespace  global

Typedefs

typedef osg::Node Node
typedef osg::Group GroupNode
typedef osg::Switch SwitchNode
typedef osg::MatrixTransform TransformNode

Enumerations

enum  { TYPESIG_GRAPH = (uint('g')<<24) | (uint('r')<<16) | (uint('a')<<8) | uint('p'), TYPESIG_SUBGRAPH = (uint('s')<<24) | (uint('u')<<16) | (uint('b')<<8) | uint('g'), TYPESIG_NODE_SORT = (uint('n')<<24) | (uint('s')<<16) | (uint('r')<<8) | uint('t'), TYPESIG_SCENE_GRAPH = (uint('s')<<24) | (uint('c')<<16) | (uint('e')<<8) | uint('n') }

Functions

ostream & operator<< (ostream &strm, const Conf &conf)
INLINE ConfGetConf (void)
void Init (const base::InitArgs &initArgs)
void Start (void)
INLINE bool IF_SHADOWS_ENABLED (void)
 False if shadows are entirely disabled.
INLINE bool IF_SHADOW_NODE_SORT (const NodeSort &nodeSort)

Variables

INTERN RefPtr< osg::BlendFunc > sOsgBlendFunc = new osg::BlendFunc
INTERN RefPtr< osg::Depth > sOsgDepth = new osg::Depth
INTERN RefPtr< osg::FrontFace > sOsgFrontFaceClockWise = new osg::FrontFace( osg::FrontFace::CLOCKWISE )
INTERN RefPtr< osg::FrontFace > sOsgFrontFaceCounterClockWise = new osg::FrontFace( osg::FrontFace::COUNTER_CLOCKWISE )


Detailed Description

graph module.

Typedef Documentation

typedef osg::Group graph::GroupNode

typedef osg::Node graph::Node

typedef osg::Switch graph::SwitchNode

typedef osg::MatrixTransform graph::TransformNode


Enumeration Type Documentation

anonymous enum

Enumerator:
TYPESIG_GRAPH 
TYPESIG_SUBGRAPH 
TYPESIG_NODE_SORT 
TYPESIG_SCENE_GRAPH 


Function Documentation

INLINE Conf& graph::GetConf ( void   ) 

INLINE bool graph::IF_SHADOW_NODE_SORT ( const NodeSort &  nodeSort  ) 

True if node casts/receives shadows. This effectively disables shadows by causing them to not be attached to the ShadowSceneGraph.

INLINE bool graph::IF_SHADOWS_ENABLED ( void   ) 

False if shadows are entirely disabled.

void world::Init ( const base::InitArgs initArgs  ) 

Initialize module.

ostream & graph::operator<< ( ostream &  strm,
const Conf conf 
)

Print Conf configuration.

void world::Start ( void   ) 

Start module.


Variable Documentation

INTERN RefPtr<osg::BlendFunc> graph::sOsgBlendFunc = new osg::BlendFunc

INTERN RefPtr<osg::Depth> graph::sOsgDepth = new osg::Depth

INTERN RefPtr<osg::FrontFace> graph::sOsgFrontFaceClockWise = new osg::FrontFace( osg::FrontFace::CLOCKWISE )

INTERN RefPtr<osg::FrontFace> graph::sOsgFrontFaceCounterClockWise = new osg::FrontFace( osg::FrontFace::COUNTER_CLOCKWISE )

Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010