Isis 3 Programmer Reference
IsisShape.h
1
#ifndef IsisShape_h
2
#define IsisShape_h
8
/* SPDX-License-Identifier: CC0-1.0 */
9
#include "SensorUtilities.h"
10
11
namespace
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
Isis::IsisShape
Implementation of SensorUtilities::Shape backed by an ISIS ShapeModel.
Definition
IsisShape.h:17
Isis::IsisShape::intersect
virtual SensorUtilities::Intersection intersect(const SensorUtilities::Vec &sensorPos, const SensorUtilities::Vec &lookVec, bool computeLocalNormal=true)
Intersect the ShapeModel.
Definition
IsisShape.cpp:32
Isis::IsisShape::IsisShape
IsisShape(ShapeModel *shape)
Create an IsisShape that wraps an ISIS ShapeModel.
Definition
IsisShape.cpp:20
Isis::ShapeModel
Define shapes and provide utilities for Isis targets.
Definition
ShapeModel.h:66
Isis
This is free and unencumbered software released into the public domain.
Definition
Apollo.h:16
src
base
objs
SensorUtilWrappers
IsisShape.h