Medical Imaging Interaction Toolkit  2018.04.99-15ecdf8d
Medical Imaging Interaction Toolkit
mitk::PointCloudScoringFilter Class Reference

Scores an UnstructuredGrid as good as one matches to the other. More...

#include <mitkPointCloudScoringFilter.h>

Inheritance diagram for mitk::PointCloudScoringFilter:
Collaboration diagram for mitk::PointCloudScoringFilter:

Public Types

typedef std::pair< int, double > ScorePair
 
- Public Types inherited from mitk::UnstructuredGridSource
typedef mitk::UnstructuredGrid OutputType
 
- Public Types inherited from mitk::BaseDataSource
typedef BaseDataSource Self
 
typedef itk::ProcessObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef BaseData OutputType
 
typedef itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
 

Public Member Functions

 mitkClassMacro (PointCloudScoringFilter, UnstructuredGridToUnstructuredGridFilter)
 
virtual int GetNumberOfOutpPoints ()
 
virtual std::vector< ScorePairGetFilteredScores ()
 
- Public Member Functions inherited from mitk::UnstructuredGridToUnstructuredGridFilter
 mitkClassMacro (UnstructuredGridToUnstructuredGridFilter, UnstructuredGridSource)
 
Pointer Clone () const
 
void GenerateOutputInformation () override
 
const mitk::UnstructuredGridGetInput (void)
 
virtual const mitk::UnstructuredGridGetInput (unsigned int idx)
 
virtual void SetInput (const UnstructuredGrid *grid)
 
virtual void SetInput (unsigned int idx, const UnstructuredGrid *grid)
 
virtual void CreateOutputsForAllInputs (unsigned int idx)
 
- Public Member Functions inherited from mitk::UnstructuredGridSource
 mitkClassMacro (UnstructuredGridSource, BaseDataSource)
 
Pointer Clone () const
 
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
- Public Member Functions inherited from mitk::BaseDataSource
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (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)
 
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
 Access itk::ProcessObject::m_Updating. More...
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::UnstructuredGridToUnstructuredGridFilter
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::UnstructuredGridSource
static Pointer New ()
 
- Static Public Member Functions inherited from mitk::BaseDataSource
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateOutputInformation () override
 
 PointCloudScoringFilter ()
 
 ~PointCloudScoringFilter () override
 
- Protected Member Functions inherited from mitk::UnstructuredGridToUnstructuredGridFilter
 UnstructuredGridToUnstructuredGridFilter ()
 
 ~UnstructuredGridToUnstructuredGridFilter () override
 
- Protected Member Functions inherited from mitk::UnstructuredGridSource
 UnstructuredGridSource ()
 
 ~UnstructuredGridSource () override
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 
 ~BaseDataSource () override
 

Additional Inherited Members

- Static Protected Member Functions inherited from mitk::BaseDataSource
static Pointer New ()
 

Detailed Description

Scores an UnstructuredGrid as good as one matches to the other.

The result UnstructureGrid of the filter are the points where the distance to the closest point of the other UnstructuredGrid is higher than the average distance from all points to their closest neighbours of the other UnstructuredGrid. The second input is the UnstructuredGrid, which you want to score. All Points of the output UnstructuredGrid are from the second input.

Definition at line 33 of file mitkPointCloudScoringFilter.h.

Member Typedef Documentation

◆ ScorePair

typedef std::pair<int, double> mitk::PointCloudScoringFilter::ScorePair

Definition at line 36 of file mitkPointCloudScoringFilter.h.

Constructor & Destructor Documentation

◆ PointCloudScoringFilter()

mitk::PointCloudScoringFilter::PointCloudScoringFilter ( )
protected

Constructor

◆ ~PointCloudScoringFilter()

mitk::PointCloudScoringFilter::~PointCloudScoringFilter ( )
overrideprotected

Destructor

Member Function Documentation

◆ GenerateData()

void mitk::PointCloudScoringFilter::GenerateData ( )
overrideprotected

is called by the Update() method

◆ GenerateOutputInformation()

void mitk::PointCloudScoringFilter::GenerateOutputInformation ( )
overrideprotected

Defines the output

◆ GetFilteredScores()

virtual std::vector<ScorePair> mitk::PointCloudScoringFilter::GetFilteredScores ( )
virtual

A vector in which the point IDs and their distance to their neighbours is stored

◆ GetNumberOfOutpPoints()

virtual int mitk::PointCloudScoringFilter::GetNumberOfOutpPoints ( )
virtual

Number of Points of the scored UnstructuredGrid. These points are far away from their neighbours

◆ mitkClassMacro()

mitk::PointCloudScoringFilter::mitkClassMacro ( PointCloudScoringFilter  ,
UnstructuredGridToUnstructuredGridFilter   
)

◆ New()

static Pointer mitk::PointCloudScoringFilter::New ( )
static

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