Isis 3 Programmer Reference
|
Implementation of SensorUtilities::Shape backed by an ISIS ShapeModel. More...
#include <IsisShape.h>
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 | |
ShapeModel * | m_shape |
Implementation of SensorUtilities::Shape backed by an ISIS ShapeModel.
Definition at line 17 of file IsisShape.h.
Isis::IsisShape::IsisShape | ( | ShapeModel * | shape | ) |
Create an IsisShape that wraps an ISIS ShapeModel.
Definition at line 20 of file IsisShape.cpp.
|
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().
|
private |
Definition at line 23 of file IsisShape.h.