File: BrainModelSurfaceConnectedSearchPaint.h

package info (click to toggle)
caret 5.6.1.3~dfsg.1-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 23,352 kB
  • ctags: 27,394
  • sloc: cpp: 363,314; python: 6,718; ansic: 5,507; makefile: 227; sh: 9
file content (40 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

#ifndef __BRAIN_MODEL_SURFACE_CONNECTED_PAINT_SEARCH_H__
#define __BRAIN_MODEL_SURFACE_CONNECTED_PAINT_SEARCH_H__


#include "BrainModelSurfaceConnectedSearch.h"

class PaintFile;

/// Class that searches for connected nodes with a paint values
class BrainModelSurfaceConnectedSearchPaint : public BrainModelSurfaceConnectedSearch {
   public:
      /// Constructor
      BrainModelSurfaceConnectedSearchPaint(BrainSet* bs, 
                           BrainModelSurface* bmsIn,
                           const int startNodeIn,
                           const PaintFile* paintFileIn,
                           const int paintColumnIn,
                           const int paintIndexIn,
                           const std::vector<int>* limitToTheseNodesIn = NULL);
                                       
      /// Destructor
      virtual ~BrainModelSurfaceConnectedSearchPaint();
      
   protected:
      /// accept a node 
      virtual bool acceptNode(const int nodeNumber);
   
      /// paint file being searched
      const PaintFile* paintFile;
      
      /// paint column for connection search
      int paintColumn;
      
      /// paint index for search
      int paintIndex;
};

#endif // __BRAIN_MODEL_SURFACE_CONNECTED_PAINT_SEARCH_H__