Back to index

salome-geom  6.5.0
Public Member Functions | Protected Attributes
NMTDS_BndSphereTreeSelector Class Reference

#include <NMTDS_BndSphereTree.hxx>

Collaboration diagram for NMTDS_BndSphereTreeSelector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Standard_EXPORT NMTDS_BndSphereTreeSelector ()
virtual Standard_EXPORT
Standard_Boolean 
Reject (const NMTDS_BndSphere &) const
virtual Standard_EXPORT
Standard_Boolean 
Accept (const Standard_Integer &)
virtual Standard_EXPORT ~NMTDS_BndSphereTreeSelector ()
Standard_EXPORT void Clear ()
Standard_EXPORT void SetBox (const NMTDS_BndSphere &)
Standard_EXPORT const
TColStd_ListOfInteger & 
Indices () const

Protected Attributes

NMTDS_BndSphere myBox
TColStd_MapOfInteger myFence
TColStd_ListOfInteger myIndices

Detailed Description

Definition at line 35 of file NMTDS_BndSphereTree.hxx.


Constructor & Destructor Documentation

Definition at line 30 of file NMTDS_BndSphereTree.cxx.

{
}

Definition at line 37 of file NMTDS_BndSphereTree.cxx.

{
}

Member Function Documentation

Standard_Boolean NMTDS_BndSphereTreeSelector::Accept ( const Standard_Integer &  aIndex) [virtual]

Definition at line 55 of file NMTDS_BndSphereTree.cxx.

{
  Standard_Boolean bRet=Standard_False;
  //
  if (myFence.Add(aIndex)) {
    myIndices.Append(aIndex);
    bRet=!bRet;
  }
  return bRet;
}

Definition at line 77 of file NMTDS_BndSphereTree.cxx.

{
  myFence.Clear();
  myIndices.Clear();
}

Here is the caller graph for this function:

const TColStd_ListOfInteger & NMTDS_BndSphereTreeSelector::Indices ( ) const

Definition at line 86 of file NMTDS_BndSphereTree.cxx.

{
  return myIndices;
}

Here is the caller graph for this function:

Standard_Boolean NMTDS_BndSphereTreeSelector::Reject ( const NMTDS_BndSphere aBox) const [virtual]

Definition at line 44 of file NMTDS_BndSphereTree.cxx.

{
  Standard_Boolean bRet;
  //
  bRet=myBox.IsOut(aBox);
  return bRet;
}

Here is the call graph for this function:

Definition at line 69 of file NMTDS_BndSphereTree.cxx.

{
  myBox=aBox;
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 47 of file NMTDS_BndSphereTree.hxx.

TColStd_MapOfInteger NMTDS_BndSphereTreeSelector::myFence [protected]

Definition at line 48 of file NMTDS_BndSphereTree.hxx.

TColStd_ListOfInteger NMTDS_BndSphereTreeSelector::myIndices [protected]

Definition at line 49 of file NMTDS_BndSphereTree.hxx.


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