VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions
DtSsVrfObjectIntersector Class Reference

The DtSsVrfObjectIntersector is responsible for knowing how to intersect a DtVrfObject and a DtSpatialSubdivsion of vrfObjects properly. More...

List of all members.

Public Member Functions

 DtSsVrfObjectIntersector ()
 Constructor.
virtual ~DtSsVrfObjectIntersector ()
 Destructor.
virtual bool intersect (DtVrfObject *vrfObject, DtSpatialSubdivision< DtVrfObject * > &spatialSubdivision) const
 Intersects the vrfObject and spatial subdivision.
virtual bool intersect (DtVrfObject *vrfObject, DtSpatialSubdivision< DtVrfObject * > &spatialSubdivision, DtSsFunctor< DtVrfObject *, DtSpatialSubdivision< DtVrfObject * >::DtSpatialSubCellType > &functor) const
 Intersects the specified DtVrfObject and the spatial subdivision.

Protected Member Functions

 DtSsVrfObjectIntersector (const DtSsVrfObjectIntersector &orig)
 Copy constructor & Assignment operator - not implemented.
DtSsVrfObjectIntersectoroperator= (const DtSsVrfObjectIntersector &orig)

Detailed Description

The DtSsVrfObjectIntersector is responsible for knowing how to intersect a DtVrfObject and a DtSpatialSubdivsion of vrfObjects properly.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor & Assignment operator - not implemented.


Member Function Documentation

virtual bool DtSsVrfObjectIntersector::intersect ( DtVrfObject vrfObject,
DtSpatialSubdivision< DtVrfObject * > &  spatialSubdivision 
) const [virtual]

Intersects the vrfObject and spatial subdivision.

Returns:
a boolean indicating whether or not any intersection occurs.
virtual bool DtSsVrfObjectIntersector::intersect ( DtVrfObject vrfObject,
DtSpatialSubdivision< DtVrfObject * > &  spatialSubdivision,
DtSsFunctor< DtVrfObject *, DtSpatialSubdivision< DtVrfObject * >::DtSpatialSubCellType > &  functor 
) const [virtual]

Intersects the specified DtVrfObject and the spatial subdivision.

The resulting intersection will be processed by the functor until it is done processing. See the functors for more details about their operation.

Returns:
a boolean indicating whether or not any intersection occurs.
Note:
The reason two intersection functions exist is because of the two types of DtSsFunctors that exists - one that takes the vrfObject as the first parameter and the other that expects an extent - presumably the extent of the DtVrfObject. virtual bool intersect(DtVrfObject* vrfObject, DtSpatialSubdivision<DtVrfObject*>& spatialSubdivision, DtSsFunctor<DtExtent, DtSpatialSubdivision<DtVrfObject*>::DtSpatialSubCellType>& functor) const;
DtSsVrfObjectIntersector& DtSsVrfObjectIntersector::operator= ( const DtSsVrfObjectIntersector orig) [protected]

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)