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

motion.cxx File Reference

#include <eventHandler.h>
#include <texture.h>
#include <graphicsWindow.h>
#include <graphicsStateGuardian.h>
#include <chancfg.h>
#include <notify.h>
#include <string>
#include "plist.h"
#include <GL/gl.h>

Go to the source code of this file.

Typedefs

typedef plist< Texture * > TexList
typedef plist< PixelBuffer * > PBList

Functions

int framework_main (int argc, char *argv[])
void motion_display_func (void)
void event_plus (CPT_Event)
void event_minus (CPT_Event)
void motion_keys (EventHandler &eh)
int main (int argc, char *argv[])

Variables

GraphicsWindowwin
void(* extra_display_func )()
void(* define_keys )(EventHandler &)
TexList screenshots
PBList sshots
int num_frames = 4
int frame_num = 0


Typedef Documentation

typedef plist<PixelBuffer*> PBList
 

Definition at line 38 of file motion.cxx.

typedef plist<Texture*> TexList
 

Definition at line 36 of file motion.cxx.


Function Documentation

void event_minus CPT_Event   ) 
 

Definition at line 110 of file motion.cxx.

References frame_num, num_frames, and sshots.

Referenced by motion_keys().

void event_plus CPT_Event   ) 
 

Definition at line 105 of file motion.cxx.

References frame_num, and num_frames.

Referenced by motion_keys().

int framework_main int  argc,
char *  argv[]
 

int main int  argc,
char *  argv[]
 

Definition at line 122 of file motion.cxx.

References define_keys, extra_display_func, framework_main(), motion_display_func(), and motion_keys().

void motion_display_func void   ) 
 

Definition at line 43 of file motion.cxx.

References frame_num, g, GraphicsWindow::get_gsg(), num_frames, p, PTA_uchar, r, screenshots, sshots, t, RenderBuffer::T_back, RenderBuffer::T_front, and win.

Referenced by main().

void motion_keys EventHandler eh  ) 
 

Definition at line 117 of file motion.cxx.

References EventHandler::add_hook(), event_minus(), and event_plus().

Referenced by main().


Variable Documentation

void(* define_keys)(EventHandler&)
 

Definition at line 33 of file motion.cxx.

void(* extra_display_func)()
 

Definition at line 32 of file motion.cxx.

int frame_num = 0
 

Definition at line 41 of file motion.cxx.

Referenced by event_minus(), event_plus(), and motion_display_func().

int num_frames = 4
 

Definition at line 40 of file motion.cxx.

Referenced by AnimControl::advance_time(), wcrGraphicsWindow::end_frame(), event_minus(), event_plus(), AnimBundleMaker::inspect_tree(), motion_display_func(), AnimControl::pose(), PandaFramework::report_frame_rate(), AnimChannelScalarTable::set_table(), and AnimChannelMatrixXfmTable::set_table().

TexList screenshots
 

Definition at line 37 of file motion.cxx.

Referenced by motion_display_func().

PBList sshots
 

Definition at line 39 of file motion.cxx.

Referenced by event_minus(), and motion_display_func().

GraphicsWindow* win
 

Definition at line 29 of file motion.cxx.


Generated on Fri Apr 18 00:10:54 2003 for Panda by doxygen1.3