Open CASCADE Technology  7.3.0
Public Member Functions
BOPTools_BoxSelector< BoxType > Class Template Reference

Template Selector for the unbalanced binary tree of overlapped bounding boxes. More...

#include <BOPTools_BoxSelector.hxx>

Inheritance diagram for BOPTools_BoxSelector< BoxType >:
Inheritance graph
[legend]

Public Member Functions

 BOPTools_BoxSelector ()
 Empty constructor. More...
 
virtual Standard_Boolean Reject (const BoxType &theOther) const
 Checks if the box should be rejected. More...
 
virtual Standard_Boolean Accept (const Standard_Integer &theIndex)
 Accepts the index. More...
 
void Clear ()
 Clears the indices. More...
 
void SetBox (const BoxType &theBox)
 Sets the box. More...
 
const TColStd_ListOfIntegerIndices () const
 Returns the list of accepted indices. More...
 
- Public Member Functions inherited from NCollection_UBTree< TheObjType, TheBndType >::Selector
 Selector ()
 
virtual Standard_Boolean Reject (const TheBndType &) const =0
 
virtual Standard_Boolean Accept (const TheObjType &)=0
 
Standard_Boolean Stop () const
 
virtual ~Selector ()
 

Additional Inherited Members

- Protected Attributes inherited from NCollection_UBTree< TheObjType, TheBndType >::Selector
Standard_Boolean myStop
 

Detailed Description

template<class BoxType>
class BOPTools_BoxSelector< BoxType >

Template Selector for the unbalanced binary tree of overlapped bounding boxes.

Constructor & Destructor Documentation

◆ BOPTools_BoxSelector()

template<class BoxType >
BOPTools_BoxSelector< BoxType >::BOPTools_BoxSelector ( )
inline

Empty constructor.

Member Function Documentation

◆ Accept()

template<class BoxType >
virtual Standard_Boolean BOPTools_BoxSelector< BoxType >::Accept ( const Standard_Integer theIndex)
inlinevirtual

Accepts the index.

◆ Clear()

template<class BoxType >
void BOPTools_BoxSelector< BoxType >::Clear ( )
inline

Clears the indices.

◆ Indices()

template<class BoxType >
const TColStd_ListOfInteger& BOPTools_BoxSelector< BoxType >::Indices ( ) const
inline

Returns the list of accepted indices.

◆ Reject()

template<class BoxType >
virtual Standard_Boolean BOPTools_BoxSelector< BoxType >::Reject ( const BoxType &  theOther) const
inlinevirtual

Checks if the box should be rejected.

◆ SetBox()

template<class BoxType >
void BOPTools_BoxSelector< BoxType >::SetBox ( const BoxType &  theBox)
inline

Sets the box.


The documentation for this class was generated from the following file: