CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxRegionOfInterestMetric.h>
Public Member Functions | |
RegionOfInterest () | |
bool | isValid () const |
DoubleBoundingBox3D | getBox (Transform3D qMd=Transform3D::Identity()) |
Public Attributes | |
double | mMargin |
std::vector< Vector3D > | mPoints |
std::vector< Vector3D > | mMaxBoundsPoints |
Representation of a Region of Interest, a way to define an extent in 3D.
The indended usage is as a bounding box, although the internal representation is given in points. This eases coordinate transformations.
Definition at line 38 of file cxRegionOfInterestMetric.h.
cx::RegionOfInterest::RegionOfInterest | ( | ) |
Definition at line 27 of file cxRegionOfInterestMetric.cpp.
DoubleBoundingBox3D cx::RegionOfInterest::getBox | ( | Transform3D | qMd = Transform3D::Identity() | ) |
Calculate a bounding box based on the points and margin, oriented in the space q, assuming the points are in space d.
Definition at line 32 of file cxRegionOfInterestMetric.cpp.
|
inline |
Definition at line 42 of file cxRegionOfInterestMetric.h.
double cx::RegionOfInterest::mMargin |
Definition at line 49 of file cxRegionOfInterestMetric.h.
std::vector<Vector3D> cx::RegionOfInterest::mMaxBoundsPoints |
Definition at line 51 of file cxRegionOfInterestMetric.h.
std::vector<Vector3D> cx::RegionOfInterest::mPoints |
Definition at line 50 of file cxRegionOfInterestMetric.h.