Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

direct/src/showbase/showBase.h

Go to the documentation of this file.
00001 // Filename: showBase.h
00002 // Created by:  shochet (02Feb00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef SHOWBASE_H
00020 #define SHOWBASE_H
00021 
00022 #include "directbase.h"
00023 
00024 #include "eventHandler.h"
00025 #include "graphicsPipe.h"
00026 #include "graphicsWindow.h"
00027 #include "animControl.h"
00028 #include "pointerTo.h"
00029 #include "dconfig.h"
00030 #include "dSearchPath.h"
00031 #include "nodePath.h"
00032 #include "chancfg.h"
00033 
00034 ConfigureDecl(config_showbase, EXPCL_DIRECT, EXPTP_DIRECT);
00035 typedef Config::Config<ConfigureGetConfig_config_showbase> ConfigShowbase;
00036 
00037 class CollisionTraverser;
00038 class Camera;
00039 class GraphicsEngine;
00040 
00041 BEGIN_PUBLISH
00042 
00043 EXPCL_DIRECT DSearchPath &get_particle_path();
00044 
00045 EXPCL_DIRECT void throw_new_frame();
00046 
00047 EXPCL_DIRECT void take_snapshot(GraphicsWindow *win, const string &name);
00048 
00049 EXPCL_DIRECT ConfigShowbase &get_config_showbase();
00050 
00051 
00052 // klunky interface since we cant pass array from python->C++
00053 EXPCL_DIRECT void add_fullscreen_testsize(int xsize, int ysize);
00054 EXPCL_DIRECT void runtest_fullscreen_sizes(GraphicsWindow *win);
00055 EXPCL_DIRECT bool query_fullscreen_testresult(int xsize, int ysize);
00056 
00057 END_PUBLISH
00058 
00059 #endif

Generated on Fri May 2 01:37:58 2003 for Direct by doxygen1.3