VTK
vtkImageSeedConnectivity.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageSeedConnectivity.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
33 #ifndef __vtkImageSeedConnectivity_h
34 #define __vtkImageSeedConnectivity_h
35 
36 #include "vtkImageAlgorithm.h"
37 
38 class vtkImageConnector;
40 
42 {
43 public:
44  static vtkImageSeedConnectivity *New();
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  void RemoveAllSeeds();
51  void AddSeed(int num, int *index);
52  void AddSeed(int i0, int i1, int i2);
53  void AddSeed(int i0, int i1);
55 
57 
58  vtkSetMacro(InputConnectValue, int);
59  vtkGetMacro(InputConnectValue, int);
61 
63 
64  vtkSetMacro(OutputConnectedValue, int);
65  vtkGetMacro(OutputConnectedValue, int);
67 
69 
70  vtkSetMacro(OutputUnconnectedValue, int);
71  vtkGetMacro(OutputUnconnectedValue, int);
73 
75 
76  vtkGetObjectMacro(Connector,vtkImageConnector);
78 
80 
81  vtkSetMacro(Dimensionality,int);
82  vtkGetMacro(Dimensionality,int);
84 
85 protected:
88 
89  unsigned char InputConnectValue;
90  unsigned char OutputConnectedValue;
91  unsigned char OutputUnconnectedValue;
95 
98 
99 private:
100  vtkImageSeedConnectivity(const vtkImageSeedConnectivity&); // Not implemented.
101  void operator=(const vtkImageSeedConnectivity&); // Not implemented.
102 };
103 
104 
105 
106 #endif
107 
108 
109