Evita  0.16
evROIList.h
Go to the documentation of this file.
1 /*
2  *
3  * EVITA: Efficient Visualization of Terascale Datasets
4  * Copyright (C) 2000-2016 Team Evita
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
19  * MA 02139, USA.
20  *
21  */
22 
23 
24 #ifndef __evROIList_h
25 #define __evROIList_h
26 
27 
28 #include "evDataObject.h"
29 #include "evROI.h"
30 
31 
32 class evROIList : public evDataObject
33 {
34  public:
35  evROIList(void);
36  virtual ~evROIList(void);
37 
38  virtual const evString GetClassName(void) const
39  {
40  return(evString("evROIList"));
41  }
42 
43  void Free(void);
44 
45  void Copy(const evROIList &roi_list);
46 
47  void Remove(evROI *roi);
48  void Append(evROI &roi);
49  void Insert(evROI *insertion_position, evROI &roi);
50  int Length(void) const;
51 
52  int IsEmpty(void) const
53  {
54  return(this->Start == NULL);
55  }
56 
57  evROI *GetFirst(void) const
58  {
59  return(this->Start);
60  }
61 
62  evROI *FindROI(const unsigned int roi_number,
63  const unsigned int tile_number) const;
64 
65  virtual void PrintSelf(const int tabbing) const;
66 
67  protected:
68 
69  private:
72 
73  void Initialize(void);
74 
75 };
76 
77 #endif
void Copy(const evROIList &roi_list)
virtual ~evROIList(void)
void Initialize(void)
evROI * Start
Definition: evROIList.h:70
void Remove(evROI *roi)
virtual void PrintSelf(const int tabbing) const
evROIList(void)
evROI * FindROI(const unsigned int roi_number, const unsigned int tile_number) const
Definition: evDataObject.h:31
void Insert(evROI *insertion_position, evROI &roi)
evROI * End
Definition: evROIList.h:71
int Length(void) const
void Append(evROI &roi)
int IsEmpty(void) const
Definition: evROIList.h:52
Definition: evROI.h:40
void Free(void)
evROI * GetFirst(void) const
Definition: evROIList.h:57
virtual const evString GetClassName(void) const
Definition: evROIList.h:38
Definition: evString.h:30
Definition: evROIList.h:32