CEDRIC  Revision_backup-2009-02
OsgDebugHelpers.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright (C) 2008 Boris Iven, Max Hermann
4  *
5  * This file is part of the "CEDRIC Event Display" application.
6  *
7  *****************************************************************************/
8 
9 #ifndef OSGDEBUGHELPERS_H
10 #define OSGDEBUGHELPERS_H
11 
12 #include <iostream>
13 #include <string>
14 
15 #include <osg/ref_ptr>
16 #include <osg/Vec3f>
17 #include <osg/Node>
18 #include <osgGA/GUIEventAdapter>
19 
22 std::ostream& operator << ( std::ostream& os, const osg::Vec3& v );
23 
24 void printEventInfo( std::string prefix, const osgGA::GUIEventAdapter& ea, std::ostream& os=std::cout );
25 
26 osg::ref_ptr<osg::Node> createTestQuad();
27 
30 #endif
ref_ptr< Node > createTestQuad()
Definition: OsgDebugHelpers.cpp:81
void printEventInfo(std::string prefix, const GUIEventAdapter &ea, ostream &os)
Definition: OsgDebugHelpers.cpp:29
std::ostream & operator<<(std::ostream &os, const ClipRect &rect)
Definition: ClipRect.cpp:11