![]() |
VR-Forces 5.0.2 Developer's Guide
|
Filters the contents of a DtManagedObjectList using a spatial organization to generate a list of only the objects potentially in the specified region. After creating the DtLocalizedManagedObectList, call localize() with the extent of interest.
Public Member Functions | |
| DtLocalizedManagedObjectList (DtManagedObjectListConstPtr objectList, DtPhysicalWorld *physicalWorld) | |
| void | localize (const DtExtent &extent) |
| DtManagedObjectList::iterator | begin () |
| DtManagedObjectList::const_iterator | begin () const |
| DtManagedObjectList::iterator | end () |
| DtManagedObjectList::const_iterator | end () const |
| size_t | size () const |
Protected Attributes | |
| DtManagedObjectListConstPtr | mySourceList |
| DtPhysicalWorld * | myPhysicalWorld |
| std::set< DtSimObjectReference > | myLocalizedList |
Private Member Functions | |
| DtLocalizedManagedObjectList () | |
| DtLocalizedManagedObjectList & | operator= (DtLocalizedManagedObjectList &orig) |
|
private |
Not implemented.
| DtLocalizedManagedObjectList::DtLocalizedManagedObjectList | ( | DtManagedObjectListConstPtr | objectList, |
| DtPhysicalWorld * | physicalWorld | ||
| ) |
Pass source object list and the DtPhysicalWorld instance to create a list.
|
private |
Not implemented.
| void DtLocalizedManagedObjectList::localize | ( | const DtExtent & | extent | ) |
Call with the extent of interest to populate this list with the subset of DtManagedObjectList that is within the extent. The extent should be set in world local coordinates.
| DtManagedObjectList::iterator DtLocalizedManagedObjectList::begin | ( | ) |
Access to the contents of the localized list.
| DtManagedObjectList::const_iterator DtLocalizedManagedObjectList::begin | ( | ) | const |
Access to the contents of the localized list.
| DtManagedObjectList::iterator DtLocalizedManagedObjectList::end | ( | ) |
Access to the contents of the localized list.
| DtManagedObjectList::const_iterator DtLocalizedManagedObjectList::end | ( | ) | const |
Access to the contents of the localized list.
| size_t DtLocalizedManagedObjectList::size | ( | ) | const |
Access to the contents of the localized list.
|
protected |
|
protected |
|
protected |