Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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) 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  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
43  int FillInputPortInformation(int port, vtkInformation *info) override;
44 
45  int Seed[3];
46  int Plane;
47 
48 private:
50  void operator=(const vtkITKLevelTracingImageFilter&) = delete;
51 };
52 
53 #endif
Wrapper class around itk::LevelTracingImageFilterImageFilter.