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);
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;
#define MITKSEGMENTATION_EXPORT
Base of all data objects.
Stores vertices for drawing a contour.
void SetPoints(PointsContainerPointer points)
PathType::OutputType OutputType
Contour(const Contour &other)
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
PathPointer GetContourPath() const
void Initialize() override
void SetCurrentWindow(vtkRenderWindow *rw)
void PrintSelf(std::ostream &os, itk::Indent indent) const override
itk::BoundingBox< unsigned long, 3, ScalarType, itk::VectorContainer< unsigned long, mitk::Point< ScalarType, 3 > > > BoundingBoxType
PathType::ContinuousIndexType ContinuousIndexType
void UpdateOutputInformation() override
mitkClassMacro(Contour, BaseData)
PathType::OffsetType OffsetType
BoundingBoxType::PointsContainer::Pointer PointsContainerPointer
BoundingBoxType::PointsContainer PointsContainer
vtkRenderWindow * GetCurrentWindow() const
itk::PolyLineParametricPath< 3 > PathType
BoundingBoxType::PointsContainerIterator PointsContainerIterator
PathType::Pointer PathPointer
unsigned int GetNumberOfPoints() const
void SetRequestedRegion(const itk::DataObject *data) override
void SetRequestedRegionToLargestPossibleRegion() override
PointsContainerPointer GetPoints() const
PathType::InputType InputType
void AddVertex(mitk::Point3D newPoint)
bool VerifyRequestedRegion() override
Find image slices visible on a given plane.