![]()  | 
  
    Isis 3 Programmer Reference
    
   | 
 
Provide image coordinates that map to the push frame detector. More...
#include <PushFrameCameraCcdLayout.h>

Classes | |
| struct | FrameletInfo | 
| Container for the layout of a specific framelet on the detector.  More... | |
Public Member Functions | |
| PushFrameCameraCcdLayout () | |
| Push frame full CCD layout class.  More... | |
| PushFrameCameraCcdLayout (const int ccdId) | |
| Push frame full CCD layout class for specific Id.  More... | |
| virtual | ~PushFrameCameraCcdLayout () | 
| Destructor.  More... | |
| bool | addKernel (const QString &kernel) | 
| Add a NAIF kernel to the set of kernels that values will be pulled from.  More... | |
| int | ccdSamples () const | 
| Return the number of samples in the CCD.  More... | |
| int | ccdLines () const | 
| Return the number of lines in the CCD.  More... | |
| FrameletInfo | getFrameInfo (const int &frameId, const QString &name="") const | 
| Get the layout information for a framelet.  More... | |
Private Member Functions | |
| int | getSpiceInt (const QString &var, const int index=0) const | 
| Query the loaded kernels for an integer valued keyword.  More... | |
| double | getSpiceDouble (const QString &var, const int index=0) const | 
| Query the loaded kernels for a double valued keyword.  More... | |
| QString | getSpiceString (const QString &var, const int index=0) const | 
| Query the loaded kernels for a string valued keyword.  More... | |
Private Attributes | |
| int | m_ccdId | 
| NAIF ID of the CCD.  More... | |
| Kernels | m_kernels | 
| NAIF kernel manager.  More... | |
Provide image coordinates that map to the push frame detector.
Definition at line 28 of file PushFrameCameraCcdLayout.h.
| Isis::PushFrameCameraCcdLayout::PushFrameCameraCcdLayout | ( | ) | 
Push frame full CCD layout class.
Definition at line 24 of file PushFrameCameraCcdLayout.cpp.
References m_ccdId.
| Isis::PushFrameCameraCcdLayout::PushFrameCameraCcdLayout | ( | const int | ccdId | ) | 
Push frame full CCD layout class for specific Id.
| ccId | The NAIF ID of the CCD | 
Definition at line 34 of file PushFrameCameraCcdLayout.cpp.
References m_ccdId.
      
  | 
  virtual | 
Destructor.
Definition at line 42 of file PushFrameCameraCcdLayout.cpp.
| bool Isis::PushFrameCameraCcdLayout::addKernel | ( | const QString & | kernel | ) | 
Add a NAIF kernel to the set of kernels that values will be pulled from.
| kernel | The path to the kernel file to load. The kernel name can contain a series of ?? characters to indicate version numbers. In this case the highest version numbered file will be added. | 
Definition at line 56 of file PushFrameCameraCcdLayout.cpp.
References Isis::Kernels::Add(), Isis::FileName::expanded(), Isis::FileName::highestVersion(), Isis::FileName::isVersioned(), Isis::Kernels::Load(), and m_kernels.
| int Isis::PushFrameCameraCcdLayout::ccdLines | ( | ) | const | 
Return the number of lines in the CCD.
Queries the NAIF keyword INS(CCD NAIF ID)_FILTER_LINES from the loaded kernels.
Definition at line 85 of file PushFrameCameraCcdLayout.cpp.
References getSpiceInt(), m_ccdId, and Isis::toString().
| int Isis::PushFrameCameraCcdLayout::ccdSamples | ( | ) | const | 
Return the number of samples in the CCD.
Queries the NAIF keyword INS(CCD NAIF ID)_FILTER_SAMPLES from the loaded kernels.
Definition at line 73 of file PushFrameCameraCcdLayout.cpp.
References getSpiceInt(), m_ccdId, and Isis::toString().
| PushFrameCameraCcdLayout::FrameletInfo Isis::PushFrameCameraCcdLayout::getFrameInfo | ( | const int & | frameId, | 
| const QString & | name = ""  | 
        ||
| ) | const | 
Get the layout information for a framelet.
| frameId | The NAIF ID of the framelet. | 
| name | The name of the framelet. If empty, the loaded kernels will be queried for the name associated with the NAIF ID. | 
Definition at line 100 of file PushFrameCameraCcdLayout.cpp.
References getSpiceInt(), getSpiceString(), Isis::IException::Io, Isis::PushFrameCameraCcdLayout::FrameletInfo::m_filterName, Isis::PushFrameCameraCcdLayout::FrameletInfo::m_lines, Isis::PushFrameCameraCcdLayout::FrameletInfo::m_samples, Isis::PushFrameCameraCcdLayout::FrameletInfo::m_startLine, Isis::PushFrameCameraCcdLayout::FrameletInfo::m_startSample, and Isis::toString().
      
  | 
  private | 
Query the loaded kernels for a double valued keyword.
| var | The keyword to find. | 
| index | The index of the value to take from the keyword. | 
Definition at line 170 of file PushFrameCameraCcdLayout.cpp.
References Isis::NaifStatus::CheckErrors(), and Isis::IException::Io.
      
  | 
  private | 
Query the loaded kernels for an integer valued keyword.
| var | The keyword to find. | 
| index | The index of the value to take from the keyword. | 
Definition at line 141 of file PushFrameCameraCcdLayout.cpp.
References Isis::NaifStatus::CheckErrors(), and Isis::IException::Io.
Referenced by ccdLines(), ccdSamples(), and getFrameInfo().
      
  | 
  private | 
Query the loaded kernels for a string valued keyword.
| var | The keyword to find. | 
| index | The index of the value to take from the keyword. | 
Definition at line 199 of file PushFrameCameraCcdLayout.cpp.
References Isis::NaifStatus::CheckErrors(), and Isis::IException::Io.
Referenced by getFrameInfo().
      
  | 
  private | 
NAIF ID of the CCD.
Definition at line 79 of file PushFrameCameraCcdLayout.h.
Referenced by ccdLines(), ccdSamples(), and PushFrameCameraCcdLayout().
      
  | 
  private | 
NAIF kernel manager.
Definition at line 80 of file PushFrameCameraCcdLayout.h.
Referenced by addKernel().