Medical Imaging Interaction Toolkit  2024.06.99-692c34ce
Medical Imaging Interaction Toolkit
mitkROIIO.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkROIIO_h
14 #define mitkROIIO_h
15 
16 #include <mitkAbstractFileIO.h>
17 
18 namespace mitk
19 {
20  class ROIIO : public AbstractFileIO
21  {
22  public:
23  ROIIO();
24 
26  void Write() override;
27 
28  protected:
29  std::vector<BaseData::Pointer> DoRead() override;
30 
31  private:
32  ROIIO* IOClone() const override;
33  };
34 }
35 
36 #endif
mitk::ROIIO::ROIIO
ROIIO()
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ROIIO::DoRead
std::vector< BaseData::Pointer > DoRead() override
mitkAbstractFileIO.h
mitk::ROIIO
Definition: mitkROIIO.h:20
mitk::AbstractFileIO
Abstract class for implementing a reader and writer.
Definition: mitkAbstractFileIO.h:69
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
mitk::ROIIO::Write
void Write() override
Write the base data to the specified location or output stream.