19 #include <vtkRenderWindow.h>
21 #include <itkPolyLineParametricPath.h>
36 itkFactorylessNewMacro(
Self);
40 typedef itk::PolyLineParametricPath<3>
PathType;
47 BoundingBox<unsigned long, 3, ScalarType, itk::VectorContainer<unsigned long, mitk::Point<ScalarType, 3>>>
57 itkSetMacro(Closed,
bool);
62 itkGetMacro(Closed,
bool);
64 itkSetMacro(Selected,
bool);
66 itkGetMacro(Selected,
bool);
68 itkSetMacro(Width,
float);
70 itkGetMacro(Width,
float);
75 void Initialize()
override;
91 void SetCurrentWindow(vtkRenderWindow *rw);
96 vtkRenderWindow *GetCurrentWindow()
const;
101 unsigned int GetNumberOfPoints()
const;
116 void UpdateOutputInformation()
override;
121 void SetRequestedRegionToLargestPossibleRegion()
override;
126 bool RequestedRegionIsOutsideOfTheBufferedRegion()
override;
131 bool VerifyRequestedRegion()
override;
136 void SetRequestedRegion(
const itk::DataObject *data)
override;
145 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
151 PathType::Pointer m_ContourPath;
156 vtkRenderWindow *m_CurrentWindow;
161 BoundingBoxType::Pointer m_BoundingBox;
166 BoundingBoxType::PointsContainer::Pointer m_Vertices;