Commit cdb9b42c authored by Oliver Bock's avatar Oliver Bock

Fixed indentation

parent 84bb731f
......@@ -33,30 +33,30 @@
class PulsarAnimationWidget : public QGLWidget
{
Q_OBJECT
Q_OBJECT
public:
PulsarAnimationWidget(QWidget *parent);
virtual ~PulsarAnimationWidget();
PulsarAnimationWidget(QWidget *parent);
virtual ~PulsarAnimationWidget();
void setFramePerSecond(const unsigned int fps);
void setPulsarSpinFrequency(const double frequency);
void setPulsarSpinAxisInclination(const int degrees);
void setPulsarMagneticAxisInclination(const int degrees);
void setPulsarBeamAngle(const int degrees);
void setFramePerSecond(const unsigned int fps);
void setPulsarSpinFrequency(const double frequency);
void setPulsarSpinAxisInclination(const int degrees);
void setPulsarMagneticAxisInclination(const int degrees);
void setPulsarBeamAngle(const int degrees);
public slots:
void runAnimation();
void pauseAnimation();
void stopAnimation();
void runAnimation();
void pauseAnimation();
void stopAnimation();
void updateFrame();
void updateFrame();
void showRotationAxes(bool enabled);
void showRotationAxes(bool enabled);
signals:
void pulseProfileUpdated(const QVector<double>& data);
void pulsarAnimationStep(double position);
void pulseProfileUpdated(const QVector<double>& data);
void pulsarAnimationStep(double position);
private:
void initializeGL();
......@@ -74,46 +74,46 @@ private:
QTimer m_frameTimer;
GLUquadricObj *m_quadricPulsar;
GLUquadricObj *m_quadricPulsarConeRim1;
GLUquadricObj *m_quadricPulsarConeRim2;
GLUquadricObj *m_quadricPulsarSpinAxis;
GLUquadricObj *m_quadricPulsarSpinAxisTop1;
GLUquadricObj *m_quadricPulsarSpinAxisTop2;
GLUquadricObj *m_quadricPulsarMagneticAxis;
GLUquadricObj *m_quadricPulsar;
GLUquadricObj *m_quadricPulsarConeRim1;
GLUquadricObj *m_quadricPulsarConeRim2;
GLUquadricObj *m_quadricPulsarSpinAxis;
GLUquadricObj *m_quadricPulsarSpinAxisTop1;
GLUquadricObj *m_quadricPulsarSpinAxisTop2;
GLUquadricObj *m_quadricPulsarMagneticAxis;
GLuint m_pulsarTexture;
GLuint m_backgroundTexture;
GLuint m_pulsarTexture;
GLuint m_backgroundTexture;
int m_framesPerSecond;
int m_framesPerSecond;
double m_pulsarRotationAngle;
double m_pulsarRotationDelta;
double m_pulsarRotationAngle;
double m_pulsarRotationDelta;
double m_pulsarSpinAxisInclination;
double m_pulsarMagneticAxisInclination;
double m_pulsarSpinAxisInclination;
double m_pulsarMagneticAxisInclination;
double m_pulsarBeamLength;
double m_pulsarBeamInnerRadius;
double m_pulsarBeamOuterRadius;
double m_pulsarBeamRimSize;
bool m_showRotationAxes;
bool m_cameraInteraction;
bool m_showRotationAxes;
bool m_cameraInteraction;
int m_mouseLastX;
int m_mouseLastY;
double m_mouseAngleH;
double m_mouseAngleV;
double m_cameraZoom;
double m_cameraZoomLBound;
double m_cameraZoomUBound;
double m_cameraPosX;
double m_cameraPosY;
double m_cameraPosZ;
int m_mouseLastX;
int m_mouseLastY;
double m_mouseAngleH;
double m_mouseAngleV;
double m_cameraZoom;
double m_cameraZoomLBound;
double m_cameraZoomUBound;
double m_cameraPosX;
double m_cameraPosY;
double m_cameraPosZ;
QVector<double> m_pulseProfile;
QVector<double> m_pulseProfile;
static const double deg2rad;
static const double deg2rad;
};
#endif /* PULSARANIMATIONWIDGET_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment