VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtBoundingVolumesManager Class Reference

List of all members.

Public Member Functions

 DtBoundingVolumesManager ()
virtual ~DtBoundingVolumesManager ()
virtual bool init (const QString &boundingVolumesFile)
virtual DtBoundingVolumeInfoboundingVolume (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.

Static Public Member Functions

static DtBoundingVolumesManagercreate ()

Protected Attributes

DtOrderedKeyList
< DtBoundingVolumeInfo * > 
myBoundingVolumes

Constructor & Destructor Documentation


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.

virtual void DtBoundingVolumesManager::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 [virtual]

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:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)