Isis Developer Reference
IsisShape.h
Go to the documentation of this file.
1#ifndef IsisShape_h
2#define IsisShape_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "SensorUtilities.h"
10
11namespace Isis {
12 class ShapeModel;
13
17 class IsisShape : SensorUtilities::Shape {
18 public:
19 IsisShape(ShapeModel* shape);
20
21 virtual SensorUtilities::Intersection intersect(const SensorUtilities::Vec &sensorPos, const SensorUtilities::Vec &lookVec, bool computeLocalNormal=true);
22 private:
23 ShapeModel* m_shape;
24 };
25};
26
27#endif
Implementation of SensorUtilities::Shape backed by an ISIS ShapeModel.
Definition IsisShape.h:17
virtual SensorUtilities::Intersection intersect(const SensorUtilities::Vec &sensorPos, const SensorUtilities::Vec &lookVec, bool computeLocalNormal=true)
Intersect the ShapeModel.
Definition IsisShape.cpp:32
IsisShape(ShapeModel *shape)
Create an IsisShape that wraps an ISIS ShapeModel.
Definition IsisShape.cpp:20
Define shapes and provide utilities for Isis targets.
Definition ShapeModel.h:66
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16