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

#include <itkOutputMesh.h>

Detailed Description

template<typename TMesh>
class itk::wasm::OutputMesh< TMesh >

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

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

Call GetMesh() to get the TMesh * to use an input to a pipeline.

Definition at line 50 of file itkOutputMesh.h.

+ Collaboration diagram for itk::wasm::OutputMesh< TMesh >:

Public Types

using MeshType = TMesh
 

Public Member Functions

const MeshType * Get () const
 
const std::string & GetIdentifier () const
 
 OutputMesh ()=default
 
void Set (const MeshType *mesh)
 
void SetIdentifier (const std::string &identifier)
 
 ~OutputMesh ()
 

Protected Attributes

std::string m_Identifier
 
TMesh::ConstPointer m_Mesh
 

Member Typedef Documentation

◆ MeshType

template<typename TMesh>
using itk::wasm::OutputMesh< TMesh >::MeshType = TMesh

Definition at line 53 of file itkOutputMesh.h.

Constructor & Destructor Documentation

◆ OutputMesh()

template<typename TMesh>
itk::wasm::OutputMesh< TMesh >::OutputMesh ( )
default

◆ ~OutputMesh()

Member Function Documentation

◆ Get()

template<typename TMesh>
const MeshType * itk::wasm::OutputMesh< TMesh >::Get ( ) const
inline

Definition at line 62 of file itkOutputMesh.h.

References m_Mesh.

◆ GetIdentifier()

template<typename TMesh>
const std::string & itk::wasm::OutputMesh< TMesh >::GetIdentifier ( ) const
inline

Definition at line 74 of file itkOutputMesh.h.

References m_Identifier.

◆ Set()

template<typename TMesh>
void itk::wasm::OutputMesh< TMesh >::Set ( const MeshType * mesh)
inline

Definition at line 56 of file itkOutputMesh.h.

References m_Mesh.

◆ SetIdentifier()

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

FileName or output index.

Definition at line 69 of file itkOutputMesh.h.

References m_Identifier.

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

Member Data Documentation

◆ m_Identifier

template<typename TMesh>
std::string itk::wasm::OutputMesh< TMesh >::m_Identifier
protected

Definition at line 158 of file itkOutputMesh.h.

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

◆ m_Mesh

template<typename TMesh>
TMesh::ConstPointer itk::wasm::OutputMesh< TMesh >::m_Mesh
protected

Definition at line 156 of file itkOutputMesh.h.

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


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