Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95104442
phasespace.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
Thu, Dec 12, 21:46
Size
1 KB
Mime Type
text/x-c++
Expires
Sat, Dec 14, 21:46 (2 d)
Engine
blob
Format
Raw Data
Handle
22931270
Attached To
rSYMKIT symkit
phasespace.h
View Options
#ifndef PHASESPACE_H
#define PHASESPACE_H
#include "plotpanel.h"
class
Oscillateur
;
class
SKPlot2D
;
struct
PhaseSpaceFunction
{
/* Oscillateur instance a' se referer */
Oscillateur
*
oscillateur
;
/* Index of the freedom degrees */
int
index
;
};
class
QPushButton
;
class
QGroupBox
;
class
QLabel
;
class
PhaseSpace
:
public
PlotPanel
{
Q_OBJECT
SKPlot2D
*
plot
;
std
::
vector
<
PhaseSpaceFunction
>
functions
;
QVBoxLayout
*
centering
;
QVBoxLayout
*
inside
;
QGroupBox
*
buttons
;
QPushButton
*
start
;
QPushButton
*
stop
;
QPushButton
*
clear
;
bool
plotting
;
/* Commands panel */
QGroupBox
*
commands
;
QVBoxLayout
*
commandsLayout
;
QLabel
*
com_ws
,
*
com_hjkl
;
private
slots
:
void
startPlotting
();
void
stopPlotting
();
void
clearPlotting
();
public:
PhaseSpace
(
const
QString
&
title
,
QWidget
*
parent
=
0
);
~
PhaseSpace
();
void
addFunction
(
Oscillateur
*
,
int
index
);
virtual
void
updatePanel
()
override
;
};
#endif
// PHASESPACE_H
Event Timeline
Log In to Comment