Fraxinus  17.12-rc3
An IGT application
cx::RegionOfInterest Class Reference

#include <cxRegionOfInterestMetric.h>

Public Member Functions

 RegionOfInterest ()
 
bool isValid () const
 
DoubleBoundingBox3D getBox (Transform3D qMd=Transform3D::Identity())
 

Public Attributes

double mMargin
 
std::vector< Vector3DmPoints
 
std::vector< Vector3DmMaxBoundsPoints
 

Detailed Description

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 59 of file cxRegionOfInterestMetric.h.

Constructor & Destructor Documentation

cx::RegionOfInterest::RegionOfInterest ( )

Definition at line 48 of file cxRegionOfInterestMetric.cpp.

Member Function Documentation

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 53 of file cxRegionOfInterestMetric.cpp.

bool cx::RegionOfInterest::isValid ( ) const
inline

Definition at line 63 of file cxRegionOfInterestMetric.h.

Member Data Documentation

double cx::RegionOfInterest::mMargin

Definition at line 70 of file cxRegionOfInterestMetric.h.

std::vector<Vector3D> cx::RegionOfInterest::mMaxBoundsPoints

Definition at line 72 of file cxRegionOfInterestMetric.h.

std::vector<Vector3D> cx::RegionOfInterest::mPoints

Definition at line 71 of file cxRegionOfInterestMetric.h.


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