ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::wasm::OutputImage< TImage > Class Template Reference

#include <itkOutputImage.h>

Detailed Description

template<typename TImage>
class itk::wasm::OutputImage< TImage >

Output image for an itk::wasm::Pipeline.

This image is written to the filesystem or memory when it goes out of scope.

Call GetImage() to get the TImage * to use an input to a pipeline.

Definition at line 47 of file itkOutputImage.h.

+ Collaboration diagram for itk::wasm::OutputImage< TImage >:

Public Types

using ImageType = TImage
 

Public Member Functions

const ImageType * Get () const
 
const std::string & GetIdentifier () const
 
 OutputImage ()=default
 
void Set (const ImageType *image)
 
void SetIdentifier (const std::string &identifier)
 
 ~OutputImage ()
 

Protected Attributes

std::string m_Identifier
 
TImage::ConstPointer m_Image
 

Member Typedef Documentation

◆ ImageType

template<typename TImage>
using itk::wasm::OutputImage< TImage >::ImageType = TImage

Definition at line 50 of file itkOutputImage.h.

Constructor & Destructor Documentation

◆ OutputImage()

template<typename TImage>
itk::wasm::OutputImage< TImage >::OutputImage ( )
default

◆ ~OutputImage()

Member Function Documentation

◆ Get()

template<typename TImage>
const ImageType * itk::wasm::OutputImage< TImage >::Get ( ) const
inline

Definition at line 59 of file itkOutputImage.h.

References m_Image.

◆ GetIdentifier()

template<typename TImage>
const std::string & itk::wasm::OutputImage< TImage >::GetIdentifier ( ) const
inline

Definition at line 71 of file itkOutputImage.h.

References m_Identifier.

◆ Set()

template<typename TImage>
void itk::wasm::OutputImage< TImage >::Set ( const ImageType * image)
inline

Definition at line 53 of file itkOutputImage.h.

References m_Image.

◆ SetIdentifier()

template<typename TImage>
void itk::wasm::OutputImage< TImage >::SetIdentifier ( const std::string & identifier)
inline

FileName or output index.

Definition at line 66 of file itkOutputImage.h.

References m_Identifier.

Referenced by itk::wasm::lexical_cast().

Member Data Documentation

◆ m_Identifier

template<typename TImage>
std::string itk::wasm::OutputImage< TImage >::m_Identifier
protected

Definition at line 126 of file itkOutputImage.h.

Referenced by GetIdentifier(), SetIdentifier(), and ~OutputImage().

◆ m_Image

template<typename TImage>
TImage::ConstPointer itk::wasm::OutputImage< TImage >::m_Image
protected

Definition at line 124 of file itkOutputImage.h.

Referenced by Get(), Set(), and ~OutputImage().


The documentation for this class was generated from the following file: