Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::SurfaceToPointSetFilter Class Reference

Convert a Surface into a PointSet without duplicate points. More...

#include <mitkSurfaceToPointSetFilter.h>

Inheritance diagram for mitk::SurfaceToPointSetFilter:
Collaboration diagram for mitk::SurfaceToPointSetFilter:

Public Member Functions

 mitkClassMacro (SurfaceToPointSetFilter, mitk::PointSetSource)
 
void SetInput (mitk::Surface::Pointer m_InputSurface)
 
std::string GetErrorMessage ()
 
- Public Member Functions inherited from mitk::PointSetSource
 mitkClassMacro (PointSetSource, BaseDataSource)
 
Pointer Clone () const
 
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 Allocates a new output object and returns it. More...
 
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 Allocates a new output object by name. More...
 
- Public Member Functions inherited from mitk::BaseDataSource
 mitkClassMacroItkParent (BaseDataSource, itk::ProcessObject)
 
OutputType * GetOutput ()
 
const OutputType * GetOutput () const
 
OutputType * GetOutput (DataObjectPointerArraySizeType idx)
 
const OutputType * GetOutput (DataObjectPointerArraySizeType idx) const
 
virtual void GraftOutput (OutputType *output)
 Graft the specified BaseData onto this BaseDataSource's output. More...
 
virtual void GraftOutput (const DataObjectIdentifierType &key, OutputType *output)
 Graft the specified base data object onto a named output. More...
 
virtual void GraftNthOutput (unsigned int idx, OutputType *output)
 Graft the specified base data object onto this BaseDataSource's idx'th output. More...
 
bool Updating () const
 Check whether the pipeline is currently executing. More...
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::PointSetSource
static Pointer New ()
 

Protected Member Functions

 SurfaceToPointSetFilter ()
 
 ~SurfaceToPointSetFilter () override
 
void GenerateData () override
 Generate the output of this filter. Called in the update process of the pipeline. More...
 
- Protected Member Functions inherited from mitk::PointSetSource
 PointSetSource ()
 
 ~PointSetSource () override
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 Constructor. More...
 
 ~BaseDataSource () override
 Destructor. More...
 

Protected Attributes

mitk::Surface::Pointer m_InputSurface
 
std::string m_ErrorMessage
 

Additional Inherited Members

- Public Types inherited from mitk::PointSetSource
typedef PointSet OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
- Public Types inherited from mitk::BaseDataSource
typedef BaseData OutputType
 Output data type. More...
 
typedef itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
 Identifier type for named data objects. More...
 
- Static Protected Member Functions inherited from mitk::BaseDataSource
static Pointer New ()
 

Detailed Description

Convert a Surface into a PointSet without duplicate points.

This filter extracts all unique vertices from the input surface and produces a PointSet where each point appears exactly once (unlike the STL format which may contain duplicate vertices).

Definition at line 34 of file mitkSurfaceToPointSetFilter.h.

Constructor & Destructor Documentation

◆ SurfaceToPointSetFilter()

mitk::SurfaceToPointSetFilter::SurfaceToPointSetFilter ( )
protected

◆ ~SurfaceToPointSetFilter()

mitk::SurfaceToPointSetFilter::~SurfaceToPointSetFilter ( )
overrideprotected

Member Function Documentation

◆ GenerateData()

void mitk::SurfaceToPointSetFilter::GenerateData ( )
overrideprotected

Generate the output of this filter. Called in the update process of the pipeline.

◆ GetErrorMessage()

std::string mitk::SurfaceToPointSetFilter::GetErrorMessage ( )

◆ mitkClassMacro()

mitk::SurfaceToPointSetFilter::mitkClassMacro ( SurfaceToPointSetFilter  ,
mitk::PointSetSource   
)

◆ New()

static Pointer mitk::SurfaceToPointSetFilter::New ( )
static

◆ SetInput()

void mitk::SurfaceToPointSetFilter::SetInput ( mitk::Surface::Pointer  m_InputSurface)

Member Data Documentation

◆ m_ErrorMessage

std::string mitk::SurfaceToPointSetFilter::m_ErrorMessage
protected

Definition at line 53 of file mitkSurfaceToPointSetFilter.h.

◆ m_InputSurface

mitk::Surface::Pointer mitk::SurfaceToPointSetFilter::m_InputSurface
protected

Definition at line 52 of file mitkSurfaceToPointSetFilter.h.


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