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

panda/src/testbed/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


Detailed Description

Definition in file motion.cxx.


Typedef Documentation

typedef plist<PixelBuffer*> PBList
 

Definition at line 41 of file motion.cxx.

typedef plist<Texture*> TexList
 

Definition at line 39 of file motion.cxx.


Function Documentation

void event_minus CPT_Event   ) 
 

Definition at line 113 of file motion.cxx.

References sshots.

void event_plus CPT_Event   ) 
 

Definition at line 108 of file motion.cxx.

int framework_main int  argc,
char *  argv[]
 

int main int  argc,
char *  argv[]
 

Definition at line 125 of file motion.cxx.

void motion_display_func void   ) 
 

Definition at line 46 of file motion.cxx.

References PixelBuffer::_image, Texture::_pbuffer, frame_num, num_frames, PTA_uchar, PixelBuffer::set_xsize(), PixelBuffer::set_ysize(), t, and win.

void motion_keys EventHandler eh  ) 
 

Definition at line 120 of file motion.cxx.


Variable Documentation

void(* define_keys)(EventHandler&)
 

Definition at line 36 of file motion.cxx.

void(* extra_display_func)()
 

Definition at line 35 of file motion.cxx.

int frame_num = 0
 

Definition at line 44 of file motion.cxx.

Referenced by motion_display_func().

int num_frames = 4
 

Definition at line 43 of file motion.cxx.

Referenced by AnimChannelMatrixXfmTable::get_scale(), AnimChannelScalarTable::get_value(), motion_display_func(), and AnimControl::pingpong().

TexList screenshots
 

Definition at line 40 of file motion.cxx.

PBList sshots
 

Definition at line 42 of file motion.cxx.

Referenced by event_minus().

GraphicsWindow* win
 

Definition at line 32 of file motion.cxx.


Generated on Fri May 2 00:46:15 2003 for Panda by doxygen1.3