isis/src/clipper/objs/ClipperWacFcCamera/ClipperWacFcCamera.cpp
ClipperWacFcCamera::ClipperWacFcCamera(Cube &cube) : FramingCamera(cube) {
    m_spacecraftNameLong = "Europa Clipper";
    m_spacecraftNameShort = "Clipper";

    m_instrumentNameLong  = "Europa Imaging System Framing Wide Angle Camera";
    m_instrumentNameShort = "EIS-FWAC";

    NaifStatus::CheckErrors();

    SetFocalLength(); 
    SetPixelPitch();

    // Set up detector map, focal plane map, and distortion map
    new CameraDetectorMap(this);
    new CameraFocalPlaneMap(this, naifIkCode());
    new CameraDistortionMap(this);
    
    // Setup the ground and sky map
    new CameraGroundMap(this);
    new CameraSkyMap(this);

    Pvl &lab = *cube.label();
    PvlGroup &inst = lab.findGroup("Instrument", Pvl::Traverse);
    QString startTime = inst["StartTime"];
    iTime etStart(startTime);

    // double exposureDuration = (double)inst["ExposureDuration"] / 1000.0;
    // pair<iTime, iTime> startStop = ShutterOpenCloseTimes(et, exposureDuration);

     setTime(etStart.Et()); // Set the time explicitly for now to prevent segfault

    // Internalize all the NAIF SPICE information into memory.
    LoadCache();
    NaifStatus::CheckErrors();
  }
/**
   * Constructs a Clipper wide angle framing camera object.
   *
   * @param lab Pvl label from a Clipper wide angle framing camera image.
   *
   * @author Stuart Sides and Summer Stapleton-Greig 
   *  
   * @internal
   */
Constructs a Clipper wide angle framing camera object.
@param lab Pvl label from a Clipper wide angle framing camera image.

@author Stuart Sides and Summer Stapleton-Greig

@internal
Constructs a Clipper wide angle framing camera object . @param lab Pvl label from a Clipper wide angle framing camera image . @author Stuart Sides and Summer Stapleton - Greig @internal
ClipperWacFcCamera::ClipperWacFcCamera(Cube &cube) : FramingCamera(cube) {
    m_spacecraftNameLong = "Europa Clipper";
    m_spacecraftNameShort = "Clipper";
    m_instrumentNameLong  = "Europa Imaging System Framing Wide Angle Camera";
    m_instrumentNameShort = "EIS-FWAC";
    NaifStatus::CheckErrors();
    SetFocalLength(); 
    SetPixelPitch();
    new CameraDetectorMap(this);
    new CameraFocalPlaneMap(this, naifIkCode());
    new CameraDistortionMap(this);
    new CameraGroundMap(this);
    new CameraSkyMap(this);
    Pvl &lab = *cube.label();
    PvlGroup &inst = lab.findGroup("Instrument", Pvl::Traverse);
    QString startTime = inst["StartTime"];
    iTime etStart(startTime);
     setTime(etStart.Et()); 
    LoadCache();
    NaifStatus::CheckErrors();
  }
ClipperWacFcCamera :: ClipperWacFcCamera ( Cube & cube ) : FramingCamera ( cube ) { m_spacecraftNameLong = " " ; m_spacecraftNameShort = " " ; m_instrumentNameLong = " " ; m_instrumentNameShort = " " ; NaifStatus :: CheckErrors ( ) ; SetFocalLength ( ) ; SetPixelPitch ( ) ; new CameraDetectorMap ( this ) ; new CameraFocalPlaneMap ( this , naifIkCode ( ) ) ; new CameraDistortionMap ( this ) ; new CameraGroundMap ( this ) ; new CameraSkyMap ( this ) ; Pvl & lab = * cube . label ( ) ; PvlGroup & inst = lab . findGroup ( " " , Pvl :: Traverse ) ; QString startTime = inst [ " " ] ; iTime etStart ( startTime ) ; setTime ( etStart . Et ( ) ) ; LoadCache ( ) ; NaifStatus :: CheckErrors ( ) ; }
Constructs a Clipper wide angle framing camera object.
Constructs a Clipper wide angle framing camera object .
// Set up detector map, focal plane map, and distortion map // Setup the ground and sky map // double exposureDuration = (double)inst["ExposureDuration"] / 1000.0; // pair<iTime, iTime> startStop = ShutterOpenCloseTimes(et, exposureDuration); // Set the time explicitly for now to prevent segfault // Internalize all the NAIF SPICE information into memory.