Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94113212
alphascene.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 4, 00:41
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, Dec 6, 00:41 (2 d)
Engine
blob
Format
Raw Data
Handle
22738273
Attached To
rSYMKIT symkit
alphascene.h
View Options
#ifndef __ALPHA_SCENE_H__
#define __ALPHA_SCENE_H__
#include "scene.h"
#include "listeners/keylistener.h"
//Forward include
class
NewtonSphere
;
class
Marbled
;
class
Pendule
;
class
Ressor
;
class
PenduleCoupl
;
namespace
models
{
class
GLSphere
;
class
GLMarbled
;
}
class
AlphaScene
:
public
Scene
,
KeyListener
{
public:
/* Constructor and destructor */
AlphaScene
(
QWidget
*
parent
=
0
);
~
AlphaScene
();
private:
/* initialize in order to load sphere buffer */
virtual
void
initialize
()
override
;
/* Window close qt handler */
virtual
void
closeEvent
(
QCloseEvent
*
)
override
;
virtual
void
onKeyPress
(
int
key
)
override
;
virtual
void
onKeyRelease
(
int
key
)
override
;
/* A sphere object */
NewtonSphere
*
sphere
;
/* The murbled plan */
Marbled
*
marbled
;
/* The pendule */
Pendule
*
pendule
;
/* The ressor */
Ressor
*
ressor
;
/* The pendulecoupl */
PenduleCoupl
*
pendulecoupl
;
models
::
GLSphere
*
sphereModel
;
models
::
GLMarbled
*
marbledModel
;
};
#endif
Event Timeline
Log In to Comment