Panda3D
 All Classes Functions Variables Enumerations
inkblotVideo.cxx
1 // Filename: inkblotVideo.cxx
2 // Created by: jyelon (02Jul07)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "inkblotVideo.h"
16 #include "inkblotVideoCursor.h"
17 
18 TypeHandle InkblotVideo::_type_handle;
19 
20 ////////////////////////////////////////////////////////////////////
21 // Function: InkblotVideo::Constructor
22 // Access: Public
23 // Description: xxx
24 ////////////////////////////////////////////////////////////////////
26 InkblotVideo(int x, int y, int fps) :
27  _specified_x(x),
28  _specified_y(y),
29  _specified_fps(fps)
30 {
31 }
32 
33 ////////////////////////////////////////////////////////////////////
34 // Function: InkblotVideo::Destructor
35 // Access: Public, Virtual
36 // Description:
37 ////////////////////////////////////////////////////////////////////
38 InkblotVideo::
39 ~InkblotVideo() {
40 }
41 
42 ////////////////////////////////////////////////////////////////////
43 // Function: InkblotVideo::open
44 // Access: Published, Virtual
45 // Description: Open this video, returning a MovieVideoCursor.
46 ////////////////////////////////////////////////////////////////////
48 open() {
49  return new InkblotVideoCursor(this);
50 }
A cellular automaton that generates an amusing pattern of swirling colors.
A MovieVideo is actually any source that provides a sequence of video frames.
A cellular automaton that generates an amusing pattern of swirling colors.
Definition: inkblotVideo.h:27
InkblotVideo(int x, int y, int fps)
xxx
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85