Skip to content
Snippets Groups Projects
Commit ee9631fa authored by Adam Goins's avatar Adam Goins
Browse files

Throw error if this is used because it's still under development. Fixed...

Throw error if this is used because it's still under development. Fixed boresight line value to fixed 0.5 because we use linescancamera.
parent 093108c6
No related branches found
No related tags found
No related merge requests found
......@@ -40,12 +40,15 @@ namespace Isis {
* @internal
* @history 2018-10-02 Adam Goins & Jeannie Backer - Original Version
*/
KaguyaTcCamera::KaguyaTcCamera(Cube &cube) : FramingCamera(cube) {
KaguyaTcCamera::KaguyaTcCamera(Cube &cube) : LineScanCamera(cube) {
m_instrumentNameLong = "Terrain Camera";
m_instrumentNameShort = "TC";
m_spacecraftNameLong = "Kaguya";
m_spacecraftNameShort = "Kaguya";
QString msg = "Kaguya TC Camera is still under development.";
throw IException(IException::Programmer, msg, _FILEINFO_);
NaifStatus::CheckErrors();
// Get the camera characteristics
SetFocalLength();
......@@ -73,8 +76,7 @@ namespace Isis {
focalMap->SetDetectorOrigin(
Spice::getDouble("INS" + toString(naifIkCode()) +
"_BORESIGHT_SAMPLE"),
Spice::getDouble("INS" + toString(naifIkCode()) +
"_BORESIGHT_LINE"));
Spice::getDouble(0.5);
// Setup distortion map
new CameraDistortionMap(this);
......
......@@ -24,7 +24,7 @@
namespace Isis {
class KaguyaTcCamera : public FramingCamera {
class KaguyaTcCamera : public LineScanCamera {
public:
KaguyaTcCamera(Cube &cube);
//! Destroys the KaguyaTcCamera object.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment