Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkITKLevelTracingImageFilter.h
Go to the documentation of this file.
1 
2 #ifndef __vtkITKLevelTracingImageFilter_h
3 #define __vtkITKLevelTracingImageFilter_h
4 
5 #include "vtkITK.h"
6 #include "vtkPolyDataAlgorithm.h"
7 #include "vtkObjectFactory.h"
8 
19 class VTK_ITK_EXPORT vtkITKLevelTracingImageFilter : public vtkPolyDataAlgorithm
20 {
21 public:
22  static vtkITKLevelTracingImageFilter *New();
23  vtkTypeMacro(vtkITKLevelTracingImageFilter, vtkPolyDataAlgorithm);
24  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
25 
27  vtkSetVector3Macro(Seed, int);
28  vtkGetVector3Macro(Seed, int);
29 
31  vtkSetMacro(Plane, int);
32  vtkGetMacro(Plane, int);
33 
34  void SetPlaneToIJ() {this->SetPlane(2);}
35  void SetPlaneToIK() {this->SetPlane(1);}
36  void SetPlaneToJK() {this->SetPlane(0);}
37 
38 protected:
41 
42  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
43  virtual int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
44 
45  int Seed[3];
46  int Plane;
47 
48 private:
50  void operator=(const vtkITKLevelTracingImageFilter&);
51 };
52 
53 #endif
Wrapper class around itk::LevelTracingImageFilterImageFilter.