Commit 55421043 authored by Oliver Bock's avatar Oliver Bock

Updated default parameter values according to suit fixed profile computation

parent 2427061a
...@@ -79,9 +79,9 @@ PulsarAnimationWidget::PulsarAnimationWidget(QWidget *parent) : ...@@ -79,9 +79,9 @@ PulsarAnimationWidget::PulsarAnimationWidget(QWidget *parent) :
m_pulsarRadius = 0.5; m_pulsarRadius = 0.5;
m_pulsarBeamLength = 3.0f; m_pulsarBeamLength = 3.0f;
m_pulsarBeamRimSize = 0.1f; m_pulsarBeamRimSize = 0.1f;
setPulsarSpinAxisInclination(10); setPulsarSpinAxisInclination(30);
setPulsarMagneticAxisInclination(20); setPulsarMagneticAxisInclination(20);
setPulsarBeamAngle(37); setPulsarBeamAngle(74);
// initial spin frequency of 0.5 Hz // initial spin frequency of 0.5 Hz
...@@ -94,7 +94,7 @@ PulsarAnimationWidget::PulsarAnimationWidget(QWidget *parent) : ...@@ -94,7 +94,7 @@ PulsarAnimationWidget::PulsarAnimationWidget(QWidget *parent) :
// initial view settings // initial view settings
m_mouseAngleH = 0.0; m_mouseAngleH = 0.0;
m_mouseAngleV = 0.0; m_mouseAngleV = 0.0;
m_cameraZoom = 30.0; m_cameraZoom = 80.0;
m_cameraZoomLBound = 10.0; m_cameraZoomLBound = 10.0;
m_cameraZoomUBound = 4500.0; m_cameraZoomUBound = 4500.0;
m_mouseLastX = 0; m_mouseLastX = 0;
...@@ -534,7 +534,7 @@ void PulsarAnimationWidget::resetViewpoint() ...@@ -534,7 +534,7 @@ void PulsarAnimationWidget::resetViewpoint()
{ {
m_mouseAngleH = 0.0; m_mouseAngleH = 0.0;
m_mouseAngleV = 0.0; m_mouseAngleV = 0.0;
m_cameraZoom = 30.0; m_cameraZoom = 80.0;
updateCameraPosition(m_mouseAngleH, m_mouseAngleV, m_cameraZoom); updateCameraPosition(m_mouseAngleH, m_mouseAngleV, m_cameraZoom);
} }
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<number>180</number> <number>180</number>
</property> </property>
<property name="value"> <property name="value">
<number>10</number> <number>30</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
<enum>QLCDNumber::Flat</enum> <enum>QLCDNumber::Flat</enum>
</property> </property>
<property name="intValue" stdset="0"> <property name="intValue" stdset="0">
<number>10</number> <number>30</number>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -251,10 +251,10 @@ ...@@ -251,10 +251,10 @@
<number>5</number> <number>5</number>
</property> </property>
<property name="value"> <property name="value">
<number>37</number> <number>74</number>
</property> </property>
<property name="sliderPosition"> <property name="sliderPosition">
<number>37</number> <number>74</number>
</property> </property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
...@@ -273,10 +273,10 @@ ...@@ -273,10 +273,10 @@
<enum>QLCDNumber::Flat</enum> <enum>QLCDNumber::Flat</enum>
</property> </property>
<property name="value" stdset="0"> <property name="value" stdset="0">
<double>37.000000000000000</double> <double>74.000000000000000</double>
</property> </property>
<property name="intValue" stdset="0"> <property name="intValue" stdset="0">
<number>37</number> <number>74</number>
</property> </property>
</widget> </widget>
</item> </item>
......
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