![]() |
VR-Forces 5.0.1 Developer's Guide
|
Utility class that contains intersectors for all model sets in the system (3d, xr, 2d) Use an object of this class when all models sets can be possibly needed. When you know which model set you need, you can just use the DtIntersectorCreator to create an intersector for a model set Models sets corresponding to 3d, xr and 2d are created by default (these correspond to values of 0, 1 and 5) Additional model sets can be registered with DtIntersectorsContainer::registerModelSet.
Public Member Functions | |
| virtual | ~DtIntersectorsContainer () |
| DtIntersectorsContainer ()=delete | |
| DtIntersectorsContainer (const DtIntersectorsContainer &rhs)=delete | |
| DtIntersectorsContainer & | operator= (const DtIntersectorsContainer &rhs)=delete |
| virtual DtIntersector * | findIntersector (int modelSet) const |
| virtual void | registerModelSet (int modelSet) |
| virtual bool | modelSetRegistered (int modelSet) const |
Public Attributes | |
| friend | DtIntersectorsContainerCreator |
Protected Member Functions | |
| DtIntersectorsContainer (DtDe &de) | |
Protected Attributes | |
| DtDe & | myDe |
| std::unordered_map< int, DtIntersector * > | myIntersectors |
|
virtual |
|
delete |
|
delete |
|
protected |
|
delete |
|
virtual |
Get the intersector for the specified model set, if one exists. Null otherwise. This method is thread safe.
|
virtual |
Register a model set and create an unique intersector for it. If the model set is already registered, does nothing. This method is not thread safe.
Is a model set registered? (and hence an intersector exists for it>)
| friend makVrv::DtIntersectorsContainer::DtIntersectorsContainerCreator |
|
protected |
|
protected |