Commit cdb9b42c authored by Oliver Bock's avatar Oliver Bock

Fixed indentation

parent 84bb731f
...@@ -33,30 +33,30 @@ ...@@ -33,30 +33,30 @@
class PulsarAnimationWidget : public QGLWidget class PulsarAnimationWidget : public QGLWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
PulsarAnimationWidget(QWidget *parent); PulsarAnimationWidget(QWidget *parent);
virtual ~PulsarAnimationWidget(); virtual ~PulsarAnimationWidget();
void setFramePerSecond(const unsigned int fps); void setFramePerSecond(const unsigned int fps);
void setPulsarSpinFrequency(const double frequency); void setPulsarSpinFrequency(const double frequency);
void setPulsarSpinAxisInclination(const int degrees); void setPulsarSpinAxisInclination(const int degrees);
void setPulsarMagneticAxisInclination(const int degrees); void setPulsarMagneticAxisInclination(const int degrees);
void setPulsarBeamAngle(const int degrees); void setPulsarBeamAngle(const int degrees);
public slots: public slots:
void runAnimation(); void runAnimation();
void pauseAnimation(); void pauseAnimation();
void stopAnimation(); void stopAnimation();
void updateFrame(); void updateFrame();
void showRotationAxes(bool enabled); void showRotationAxes(bool enabled);
signals: signals:
void pulseProfileUpdated(const QVector<double>& data); void pulseProfileUpdated(const QVector<double>& data);
void pulsarAnimationStep(double position); void pulsarAnimationStep(double position);
private: private:
void initializeGL(); void initializeGL();
...@@ -74,46 +74,46 @@ private: ...@@ -74,46 +74,46 @@ private:
QTimer m_frameTimer; QTimer m_frameTimer;
GLUquadricObj *m_quadricPulsar; GLUquadricObj *m_quadricPulsar;
GLUquadricObj *m_quadricPulsarConeRim1; GLUquadricObj *m_quadricPulsarConeRim1;
GLUquadricObj *m_quadricPulsarConeRim2; GLUquadricObj *m_quadricPulsarConeRim2;
GLUquadricObj *m_quadricPulsarSpinAxis; GLUquadricObj *m_quadricPulsarSpinAxis;
GLUquadricObj *m_quadricPulsarSpinAxisTop1; GLUquadricObj *m_quadricPulsarSpinAxisTop1;
GLUquadricObj *m_quadricPulsarSpinAxisTop2; GLUquadricObj *m_quadricPulsarSpinAxisTop2;
GLUquadricObj *m_quadricPulsarMagneticAxis; GLUquadricObj *m_quadricPulsarMagneticAxis;
GLuint m_pulsarTexture; GLuint m_pulsarTexture;
GLuint m_backgroundTexture; GLuint m_backgroundTexture;
int m_framesPerSecond; int m_framesPerSecond;
double m_pulsarRotationAngle; double m_pulsarRotationAngle;
double m_pulsarRotationDelta; double m_pulsarRotationDelta;
double m_pulsarSpinAxisInclination; double m_pulsarSpinAxisInclination;
double m_pulsarMagneticAxisInclination; double m_pulsarMagneticAxisInclination;
double m_pulsarBeamLength; double m_pulsarBeamLength;
double m_pulsarBeamInnerRadius; double m_pulsarBeamInnerRadius;
double m_pulsarBeamOuterRadius; double m_pulsarBeamOuterRadius;
double m_pulsarBeamRimSize; double m_pulsarBeamRimSize;
bool m_showRotationAxes; bool m_showRotationAxes;
bool m_cameraInteraction; bool m_cameraInteraction;
int m_mouseLastX; int m_mouseLastX;
int m_mouseLastY; int m_mouseLastY;
double m_mouseAngleH; double m_mouseAngleH;
double m_mouseAngleV; double m_mouseAngleV;
double m_cameraZoom; double m_cameraZoom;
double m_cameraZoomLBound; double m_cameraZoomLBound;
double m_cameraZoomUBound; double m_cameraZoomUBound;
double m_cameraPosX; double m_cameraPosX;
double m_cameraPosY; double m_cameraPosY;
double m_cameraPosZ; double m_cameraPosZ;
QVector<double> m_pulseProfile; QVector<double> m_pulseProfile;
static const double deg2rad; static const double deg2rad;
}; };
#endif /* PULSARANIMATIONWIDGET_H_ */ #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