12 #ifndef mitkContourModelSet_h
13 #define mitkContourModelSet_h
31 itkFactorylessNewMacro(Self);
48 virtual int GetSize()
const {
return this->m_Contours.size(); }
#define MITKCONTOURMODEL_EXPORT
Base of all data objects.
void SetRequestedRegionToLargestPossibleRegion() override
Set the RequestedRegion to the LargestPossibleRegion.
mitkClassMacro(ContourModelSet, mitk::BaseData)
virtual ContourModelSetIterator Begin()
Return an iterator a the front.
ContourModelListType m_Contours
virtual void AddContourModel(mitk::ContourModel &contourModel)
Add a ContourModel to the container.
~ContourModelSet() override
bool IsEmpty() const override
Returns a bool whether the container is empty or not.
virtual void AddContourModel(mitk::ContourModel::Pointer contourModel)
Add a ContourModel to the container.
ContourModelListType::iterator ContourModelSetIterator
void SetRequestedRegion(const itk::DataObject *) override
Set the requested region from this data object to match the requested region of the data object passe...
ContourModelSet(const mitk::ContourModelSet &other)
virtual int GetSize() const
Returns the number of contained contours.
bool VerifyRequestedRegion() override
Verify that the RequestedRegion is within the LargestPossibleRegion.
void Clear() override
Clear the storage container.
virtual ContourModelSetIterator End()
Return an iterator a the front.
void UpdateOutputInformation() override
Update the OutputInformation of a ContourModel object.
virtual bool RemoveContourModelAt(int index)
Remove a ContourModel at given index within the container if exists.
ContourModelListType * GetContourModelList()
Returns the container of the contours.
void InitializeEmpty() override
Pure virtual; Must be used in subclasses to get a data object to a valid state. Should at least creat...
virtual mitk::ContourModel * GetContourModelAt(int index) const
Returns the ContourModel a given index.
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Determine whether the RequestedRegion is outside of the BufferedRegion.
std::deque< mitk::ContourModel::Pointer > ContourModelListType
virtual bool RemoveContourModel(mitk::ContourModel *contourModel)
Remove the given ContourModel from the container if exists.
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
Find image slices visible on a given plane.