13 #ifndef _MITK_CONTOUR_H_ 14 #define _MITK_CONTOUR_H_ 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;
85 PathPointer GetContourPath()
const;
91 void SetCurrentWindow(vtkRenderWindow *rw);
96 vtkRenderWindow *GetCurrentWindow()
const;
101 unsigned int GetNumberOfPoints()
const;
106 PointsContainerPointer GetPoints()
const;
111 void SetPoints(PointsContainerPointer points);
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;
180 #endif //_MITK_CONTOUR_H_ BoundingBoxType::PointsContainerIterator PointsContainerIterator
Base of all data objects.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
PathType::OffsetType OffsetType
itk::PolyLineParametricPath< 3 > PathType
PathType::ContinuousIndexType ContinuousIndexType
Stores vertices for drawing a contour.
itk::BoundingBox< unsigned long, 3, ScalarType, itk::VectorContainer< unsigned long, mitk::Point< ScalarType, 3 > > > BoundingBoxType
#define mitkClassMacro(className, SuperClassName)
PathType::OutputType OutputType
PathType::InputType InputType
BoundingBoxType::PointsContainer::Pointer PointsContainerPointer
PathType::Pointer PathPointer
#define mitkCloneMacro(classname)
BoundingBoxType::PointsContainer PointsContainer