#include <TIntList.h>
Public Member Functions | |
| TIntList () | |
| ~TIntList () | |
| void | Add (Int_t num) |
| void | AddFirst (Int_t num) |
| void | AddLast (Int_t num) |
| void | AddAt (Int_t num, Int_t idx) |
| Int_t | First (void) |
| Int_t | Last (void) |
| void | Remove (Int_t element) |
| void | Delete (Option_t *option="") |
| Int_t | At (Int_t slot) |
| Int_t | NumberOfElements (void) |
| Bool_t | Exists (Int_t num) |
| void | Sort () |
| void | Print (Option_t *="") const |
Private Attributes | |
| TList * | fList |
| TObjNum * | fNum |
|
|
Definition at line 6 of file TIntList.cxx.
|
|
|
Definition at line 12 of file TIntList.cxx. References fList. 00013 {
00014 fList->Delete();
00015 delete fList;
00016 delete fNum;
00017 }
|
|
|
Definition at line 19 of file TIntList.cxx. References fList. Referenced by BFLVoronoiMaker::DeleteSubstructure(), BFLInterpolation::FormVoronoiCell(), BFLVorOperator::GetFirstIntersectEdge(), BFLVoronoiMaker::IncreaseEntropy(), BFLVoronoiMaker::Make(), BFLVoronoiMaker::MarkEdgesToDelete(), and BFLVoronoiMaker::MarkVerticesToDelete().
|
|
||||||||||||
|
Definition at line 39 of file TIntList.cxx. References fList. Referenced by BFLWingedEdge::DeleteFirstAvailableEdgeID(), BFLWingedEdge::DeleteFirstAvailableVtxID(), and BFLVoronoiMaker::IncreaseEntropy().
|
|
|
Definition at line 24 of file TIntList.cxx. References fList.
|
|
|
Definition at line 29 of file TIntList.cxx. References fList. Referenced by BFLVorOperator::RetrieveEdgesIncidentToVtx(), BFLVorOperator::RetrieveEdgesSurrPolygon(), BFLVorOperator::RetrieveVtxSurrPolygon(), and BFLVorOperator::VtxIsInsideNewPolyg().
|
|
|
|
Definition at line 34 of file TIntList.cxx. References fList. Referenced by BFLVoronoiMaker::NewStructureInit(), BFLInterpolation::NNInterpolation(), BFLInterpolation::ResetForNextQuery(), BFLVorOperator::ResetVtxCache(), BFLVoronoiMaker::SubstructureInit(), BFLVorOperator::VtxIsInsideNewPolyg(), and BFLInterpolation::~BFLInterpolation(). 00035 {
00036 fList->Delete();
00037 }
|
|
|
Definition at line 72 of file TIntList.cxx. References Exists(), fList, and TObjNum::GetNum(). Referenced by BFLVoronoiMaker::DeleteSubstructure(), Exists(), BFLVoronoiMaker::GetAnotherEdgeAround(), BFLVoronoiMaker::MarkEdgesToDelete(), BFLVoronoiMaker::MarkVerticesToDelete(), and BFLVorOperator::VtxIsInsideNewPolyg(). 00073 {
00074 Bool_t Exists = kFALSE;
00075 TObjNum * IntObj;
00076 TIter next(fList);
00077
00078 while( (IntObj = (TObjNum *)next()) ) {
00079 if(num == IntObj->GetNum()) Exists = kTRUE;
00080 }
00081 delete IntObj;
00082
00083 return Exists;
00084 }
|
|
|
Definition at line 49 of file TIntList.cxx. References fList. Referenced by BFLWingedEdge::DeleteFirstAvailableEdgeID(), BFLWingedEdge::DeleteFirstAvailableVtxID(), BFLWingedEdge::FirstAvailableEdgeID(), and BFLWingedEdge::FirstAvailableVtxID().
|
|
|
Definition at line 54 of file TIntList.cxx. References fList. Referenced by BFLWingedEdge::MaxAvailableEdgeID(), and BFLWingedEdge::MaxAvailableVtxID().
|
|
|
Definition at line 59 of file TIntList.cxx. References fList. Referenced by BFLWingedEdge::DeleteFirstAvailableEdgeID(), BFLWingedEdge::DeleteFirstAvailableVtxID(), BFLVoronoiMaker::DeleteSubstructure(), BFLVoronoiMaker::GetAnotherEdgeAround(), BFLVorOperator::GetFirstIntersectEdge(), BFLVorOperator::GetNextIntersectEdge(), BFLVoronoiMaker::MarkEdgesToDelete(), BFLVoronoiMaker::MarkVerticesToDelete(), BFLInterpolation::NNInterpolation(), BFLInterpolation::PlanarInterpolation(), BFLVoronoiMaker::RemoveRefsToDeletedEdges(), BFLVorOperator::VtxIsInsideNewPolyg(), and BFLVoronoiMaker::WingedEdgePatch(). 00060 {
00061 Int_t NofElements = 0;
00062 TObjNum * IntObj;
00063 TIter next(fList);
00064
00065 while( (IntObj = (TObjNum *)next()) ) NofElements ++;
00066
00067 delete IntObj;
00068
00069 return NofElements;
00070 }
|
|
|
Definition at line 66 of file TIntList.h. References fList. 00066 { fList->Print(); }
|
|
|
Definition at line 86 of file TIntList.cxx. References fList, and TObjNum::GetNum(). Referenced by BFLWingedEdge::DeleteFirstAvailableEdgeID(), BFLWingedEdge::DeleteFirstAvailableVtxID(), and BFLVorOperator::GetNextIntersectEdge(). 00087 {
00088 // Remove all occurences of 'element' from the list
00089
00090 TObjNum * IntObj;
00091 TObjNum * FndObj;
00092 TIter next(fList);
00093
00094 while( (IntObj = (TObjNum *)next()) ) {
00095 if(element == IntObj->GetNum()) {
00096 FndObj = (TObjNum*) fList->Remove(IntObj);
00097 delete FndObj;
00098 }
00099 }
00100
00101 }
|
|
|
Definition at line 65 of file TIntList.h. References fList. Referenced by BFLWingedEdge::DeleteFirstAvailableEdgeID(), BFLWingedEdge::DeleteFirstAvailableVtxID(), BFLWingedEdge::FirstAvailableEdgeID(), BFLWingedEdge::FirstAvailableVtxID(), BFLWingedEdge::MaxAvailableEdgeID(), and BFLWingedEdge::MaxAvailableVtxID(). 00065 { fList->Sort(); }
|
|
|
Definition at line 42 of file TIntList.h. Referenced by Add(), AddAt(), AddFirst(), AddLast(), At(), Delete(), Exists(), First(), Last(), NumberOfElements(), Print(), Remove(), Sort(), and ~TIntList(). |
|
|
Definition at line 43 of file TIntList.h. |
1.3.9.1