Fraxinus  18.10
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 38 of file cxRegionOfInterestMetric.h.

Constructor & Destructor Documentation

cx::RegionOfInterest::RegionOfInterest ( )

Definition at line 27 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 32 of file cxRegionOfInterestMetric.cpp.

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

Definition at line 42 of file cxRegionOfInterestMetric.h.

Member Data Documentation

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.


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