17 #ifndef _MITK_CONTOUR_H_
18 #define _MITK_CONTOUR_H_
23 #include <vtkRenderWindow.h>
25 #include <itkPolyLineParametricPath.h>
40 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
59 itkSetMacro(Closed,
bool);
64 itkGetMacro(Closed,
bool);
66 itkSetMacro(Selected,
bool);
68 itkGetMacro(Selected,
bool);
70 itkSetMacro(Width,
float);
72 itkGetMacro(Width,
float);
77 void Initialize() override;
87 PathPointer GetContourPath() const;
93 void SetCurrentWindow(vtkRenderWindow *rw);
98 vtkRenderWindow *GetCurrentWindow() const;
103 unsigned int GetNumberOfPoints() const;
108 PointsContainerPointer GetPoints() const;
113 void SetPoints(PointsContainerPointer points);
118 virtual
void UpdateOutputInformation() override;
123 virtual
void SetRequestedRegionToLargestPossibleRegion() override;
128 virtual
bool RequestedRegionIsOutsideOfTheBufferedRegion() override;
133 virtual
bool VerifyRequestedRegion() override;
138 virtual
void SetRequestedRegion(const
itk::DataObject *data) override;
147 virtual
void PrintSelf(
std::ostream &os,
itk::Indent indent) const override;
153 PathType::
Pointer m_ContourPath;
158 vtkRenderWindow *m_CurrentWindow;
182 #endif //_MITK_CONTOUR_H_
itk::BoundingBox< unsigned long, 3, ScalarType > BoundingBox
Standard 3D-BoundingBox typedef.
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