Line | |
---|
1 | #ifndef _IMGCLUSTERLIST_H |
---|
2 | #define _IMGCLUSTERLIST_H |
---|
3 | |
---|
4 | |
---|
5 | #include "IMGCluster.h" |
---|
6 | |
---|
7 | namespace IMG { |
---|
8 | |
---|
9 | class _IMGExport ClusterList |
---|
10 | { |
---|
11 | public: |
---|
12 | ClusterList(); |
---|
13 | |
---|
14 | virtual ~ClusterList(); |
---|
15 | |
---|
16 | std::vector<Cluster> * getList(); |
---|
17 | |
---|
18 | //return the pointer to the list of voxels |
---|
19 | unsigned int getSize() const; |
---|
20 | |
---|
21 | //return the number of elements of list |
---|
22 | Cluster * get(unsigned int i); |
---|
23 | |
---|
24 | bool insert(Cluster * p); |
---|
25 | |
---|
26 | void print(); |
---|
27 | |
---|
28 | |
---|
29 | protected: |
---|
30 | |
---|
31 | std::vector<Cluster> list; |
---|
32 | |
---|
33 | }; |
---|
34 | |
---|
35 | } |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.