25 this->SetNumberOfRequiredInputs(1);
26 this->SetNumberOfIndexedOutputs(1);
27 this->SetNthOutput(0, output.GetPointer());
45 auto contourIt = contourVec.begin();
46 unsigned int pointId = 0;
48 while (contourIt != contourVec.end())
65 output->ExecuteOperation(&popInsert);
66 output->ExecuteOperation(&popDeactivate);
76 if (this->GetNumberOfInputs() < 1)
81 return static_cast<const mitk::ContourSet *
>(this->BaseProcess::GetInput(0));
87 this->BaseProcess::SetNthInput(0, const_cast<mitk::ContourSet *>(input));
virtual itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
Base of all data objects.
const mitk::ContourSet * GetInput(void)
PathPointer GetContourPath() const
ContourSetToPointSetFilter()
Constants for most interaction classes, due to the generic StateMachines.
Stores vertices for drawing a contour.
virtual ~ContourSetToPointSetFilter()
Operation that handles all actions on one Point.
PathType::OutputType OutputType
PathType::InputType InputType
std::map< unsigned long, Contour::Pointer > ContourVectorType
virtual void GenerateOutputInformation() override
ContourVectorType GetContours()
virtual void SetInput(const mitk::ContourSet *contourSet)
virtual void GenerateData() override