Public Member Functions |
| | DtBoundingVolumesManager () |
| virtual | ~DtBoundingVolumesManager () |
| virtual bool | init (const QString &boundingVolumesFile) |
| virtual DtBoundingVolumeInfo * | boundingVolume (const DtEntityMapperKey &data) const |
| virtual bool | addBoundingVolume (DtBoundingVolumeInfo *volume) |
| virtual DtBoundingVolumeInfo | boundingVolume (const DtModelData &data) const |
| | Returns the bouding volume of the specified item.
|
| virtual Dt3dBoundingVolume | computeExtent (const DtPoint &boudingVolume, const DtPoint &offset, const DtPoint &symbolOrigin, const DtModelData &data) const |
| | Given a bounding volume, compute the bounding of the object in geocentric coordinates.
|
| virtual void | computeBoundingBox (const DtPoint &boundingVolume, const DtPoint &offset, const DtPoint &symbolOrigin, const DtModelData &data, DtVector &ul, DtVector &ll, DtVector &ur, DtVector &lr, const Coordinate_System *cs, const DtDcm &bodyToGeoc) const |
| | Computes bounding box and returns four points in the given vectors in geocentric.
|
| virtual bool | intersectLineOfChord (Dt3dBoundingVolume &source, const DtModelData *data, const DtVector &targetOrigin, const DtVector &start, const DtVector &end, const DtDcm &bodyToGeoc, DtVector *pointIn=NULL, DtVector *pointOut=NULL) |
| | Returns true/false on intersection with given information and also points of intersection.
|
Constructor & Destructor Documentation
| DtBoundingVolumesManager::DtBoundingVolumesManager |
( |
| ) |
|
| virtual DtBoundingVolumesManager::~DtBoundingVolumesManager |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual bool DtBoundingVolumesManager::init |
( |
const QString & |
boundingVolumesFile | ) |
|
|
virtual |
Returns the bouding volume of the specified item.
the X is the length, the Y is the width and the Z is the height. Uses the bounding volume manager to return if set
| virtual Dt3dBoundingVolume DtBoundingVolumesManager::computeExtent |
( |
const DtPoint & |
boudingVolume, |
|
|
const DtPoint & |
offset, |
|
|
const DtPoint & |
symbolOrigin, |
|
|
const DtModelData & |
data |
|
) |
| const |
|
virtual |
Given a bounding volume, compute the bounding of the object in geocentric coordinates.
By default calculates a simple box around the origin, with the origin at Z of 0 and centered in the bottom plane of the box.
Computes bounding box and returns four points in the given vectors in geocentric.
| virtual bool DtBoundingVolumesManager::intersectLineOfChord |
( |
Dt3dBoundingVolume & |
source, |
|
|
const DtModelData * |
data, |
|
|
const DtVector & |
targetOrigin, |
|
|
const DtVector & |
start, |
|
|
const DtVector & |
end, |
|
|
const DtDcm & |
bodyToGeoc, |
|
|
DtVector * |
pointIn = NULL, |
|
|
DtVector * |
pointOut = NULL |
|
) |
| |
|
virtual |
Returns true/false on intersection with given information and also points of intersection.
All information is expected in geocentric coordinates
Member Data Documentation
The documentation for this class was generated from the following file: