Isis 3 Programmer Reference
Isis::IsisShape Class Reference

Implementation of SensorUtilities::Shape backed by an ISIS ShapeModel. More...

#include <IsisShape.h>

Inheritance diagram for Isis::IsisShape:
Inheritance graph
Collaboration diagram for Isis::IsisShape:
Collaboration graph

Public Member Functions

 IsisShape (ShapeModel *shape)
 Create an IsisShape that wraps an ISIS ShapeModel.
 
virtual SensorUtilities::Intersection intersect (const SensorUtilities::Vec &sensorPos, const SensorUtilities::Vec &lookVec, bool computeLocalNormal=true)
 Intersect the ShapeModel.
 

Private Attributes

ShapeModelm_shape
 

Detailed Description

Implementation of SensorUtilities::Shape backed by an ISIS ShapeModel.

Definition at line 17 of file IsisShape.h.

Constructor & Destructor Documentation

◆ IsisShape()

Isis::IsisShape::IsisShape ( ShapeModel * shape)

Create an IsisShape that wraps an ISIS ShapeModel.

Definition at line 20 of file IsisShape.cpp.

Member Function Documentation

◆ intersect()

SensorUtilities::Intersection Isis::IsisShape::intersect ( const SensorUtilities::Vec & sensorPos,
const SensorUtilities::Vec & lookVec,
bool computeLocalNormal = true )
virtual

Intersect the ShapeModel.

Depending on what type of ShapeModel this is wrapping, the local normal will be computed differently. Of note, DEM ShapeModels do not support local normal calculations right now, because of the extra information required by the current ISIS DEM local normal calculation requiring extra observer rays.

Definition at line 32 of file IsisShape.cpp.

References Isis::ShapeModel::isDEM(), Isis::Displacement::meters(), Isis::ShapeModel::normal(), and Isis::ShapeModel::surfaceIntersection().

Member Data Documentation

◆ m_shape

ShapeModel* Isis::IsisShape::m_shape
private

Definition at line 23 of file IsisShape.h.


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