Isis 3 Programmer Reference
Isis::CsmSensor Class Reference

Implementation of the SensorUtilities::Sensor interface for a CSM RasterGM model. More...

#include <CsmSensor.h>

Inheritance diagram for Isis::CsmSensor:
Inheritance graph
Collaboration diagram for Isis::CsmSensor:
Collaboration graph

Public Member Functions

 CsmSensor (csm::RasterGM *cam, ale::Orientations *j2000Rot)
 Create a CSMSensor from a CSM RasterGM model and the rotation to J2000.
 
virtual SensorUtilities::ObserverState getState (const SensorUtilities::ImagePt &imagePoint)
 Get the state of the model at a given image point.
 
virtual SensorUtilities::ObserverState getState (const SensorUtilities::GroundPt3D &groundPt)
 Get the state of the model as it observers a given ground point.
 

Private Attributes

csm::RasterGM * m_cam
 
ale::Orientations * m_j2000Rot
 The time dependent rotation from object space to J2000.
 

Detailed Description

Implementation of the SensorUtilities::Sensor interface for a CSM RasterGM model.

This also incorporates an ALE Orientations object to hanlde the transformation from object space, which CSM only operates in, to the universal J2000 reference frame.

Definition at line 24 of file CsmSensor.h.

Constructor & Destructor Documentation

◆ CsmSensor()

Isis::CsmSensor::CsmSensor ( csm::RasterGM * cam,
ale::Orientations * j2000Rot )

Create a CSMSensor from a CSM RasterGM model and the rotation to J2000.

Parameters
camThe CSM model to dispatch to for actual sensor computations
j2000RotThe rotation from object space to the universal J2000 reference frame. This must use the same time range as cam.

Definition at line 25 of file CsmSensor.cpp.

References m_j2000Rot.

Member Function Documentation

◆ getState() [1/2]

SensorUtilities::ObserverState Isis::CsmSensor::getState ( const SensorUtilities::GroundPt3D & groundPt)
virtual

Get the state of the model as it observers a given ground point.

This method uses RasterGM::groundToImage with the default precision of 0.001 pixels.

See also
RasterGM::groundToImage

Definition at line 71 of file CsmSensor.cpp.

References getState().

◆ getState() [2/2]

SensorUtilities::ObserverState Isis::CsmSensor::getState ( const SensorUtilities::ImagePt & imagePoint)
virtual

Get the state of the model at a given image point.

See also
RasterGM::getImageTime
RasterGM::imageToRemoteImagingLocus

Definition at line 37 of file CsmSensor.cpp.

References m_j2000Rot.

Referenced by getState().

Member Data Documentation

◆ m_cam

csm::RasterGM* Isis::CsmSensor::m_cam
private

Definition at line 32 of file CsmSensor.h.

◆ m_j2000Rot

ale::Orientations* Isis::CsmSensor::m_j2000Rot
private

The time dependent rotation from object space to J2000.

This should use the same time range as the CSM model.

Definition at line 37 of file CsmSensor.h.

Referenced by CsmSensor(), and getState().


The documentation for this class was generated from the following files: