Slicer 5.9
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
19class VTK_ITK_EXPORT vtkITKLevelTracingImageFilter : public vtkPolyDataAlgorithm
20{
21public:
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
38protected:
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
48private:
50 void operator=(const vtkITKLevelTracingImageFilter&) = delete;
51};
52
53#endif
~vtkITKLevelTracingImageFilter() override
virtual void SetPlane(int)
Method to set the plane (IJ=2, IK=1, JK=0)
static vtkITKLevelTracingImageFilter * New()
int FillInputPortInformation(int port, vtkInformation *info) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override