Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
This commit is contained in:
64
src/osgWrappers/osgViewer/Viewer.cpp
Normal file
64
src/osgWrappers/osgViewer/Viewer.cpp
Normal file
@@ -0,0 +1,64 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgViewer/Viewer>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgViewer::Viewer)
|
||||
I_Constructor0(____Viewer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frame,
|
||||
__void__frame,
|
||||
"Render a complete new frame. ",
|
||||
"Calls frameAdvance(), frameEventTraversal(), frameUpateTraversal(), frameCullTraversal() and frameDrawTraversal(). Note, no internal makeCurrent() is issued before, or swap buffers called after frame(), these operations are the responsibility of the calling code. ");
|
||||
I_Method0(void, frameAdvance,
|
||||
__void__frameAdvance,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameEventTraversal,
|
||||
__void__frameEventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameUpdateTraversal,
|
||||
__void__frameUpdateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameCullTraversal,
|
||||
__void__frameCullTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameDrawTraversal,
|
||||
__void__frameDrawTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, releaseAllGLObjects,
|
||||
__void__releaseAllGLObjects,
|
||||
"Release all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, does not deleted the actual OpenGL objects, it just releases them to the pending GL object delete lists which will need flushing once a valid graphics context is obtained. ");
|
||||
I_Method0(void, cleanup,
|
||||
__void__cleanup,
|
||||
"Clean up all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, must only be called from the graphics context associated with this viewer. ");
|
||||
I_Method0(void, init,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
Reference in New Issue
Block a user