API Documentation
Loading...
Searching...
No Matches
GeometryRegistration Class Referenceabstract

A service that contains registered algorithms for registering geometry such that the input is adjusted to match the output. See https://en.wikipedia.org/wiki/Point-set_registration. More...

#include <GeometryRegistration.h>

Inheritance diagram for GeometryRegistration:
[legend]
Collaboration diagram for GeometryRegistration:
[legend]

Public Member Functions

virtual bool canRunRegistration (const GeometryRegistrationParameters &)
 
virtual Buffer< GeometryRegistrationDescriptiondefaultRegistrationArguments ()
 
 GeometryRegistration (const GeometryRegistration &&filter)=delete
 
 GeometryRegistration (const GeometryRegistration &filter)=delete
 
const StringregistrationID () const
 
const TranslatedStringregistrationName () const
 
virtual bool runRegistration (GeometryRegistrationParameters &parameters)=0
 
virtual ~GeometryRegistration ()=default
 

Static Public Member Functions

static void AddAvailableRegistrationEngine (GeometryRegistration *filter)
 
static const Dictionary< String, GeometryRegistration * > & AvailableRegistrationEngines ()
 
static void ExecuteRegistration (const JSONNode &active_filters, const Buffer< Model > &models_to_register, const Buffer< Model > &reference_models, ProgressInfo *log, const void *lock)
 
static Buffer< GeometryRegistrationDescriptionGetAvailableDescriptions ()
 
static DynamicPointer< DesignCommandRegistrationCommand (const UUID &reference, const GeometryRegistrationDescription &filter)
 
static String ToCommandString (const Buffer< GeometryRegistrationDescription > &descriptions)
 

Protected Member Functions

 GeometryRegistration (const String &name, const String &id)
 

Static Protected Member Functions

static void FinishRegistration (const Matrix< fltp08 > &transform, Geometry &geo, const GeometryRegistrationParameters &params)
 
static void PrepareForRegistration (const Matrix< fltp08 > &transform, const Geometry &geo, GeometryRegistrationParameters &params, bool is_reference)
 

Protected Attributes

String m_id
 
TranslatedString m_name
 

Static Protected Attributes

static Dictionary< String, GeometryRegistration * > s_global_available_registration_engines
 

Detailed Description

A service that contains registered algorithms for registering geometry such that the input is adjusted to match the output. See https://en.wikipedia.org/wiki/Point-set_registration.


Constructor & Destructor Documentation

◆ GeometryRegistration() [1/3]

GeometryRegistration ( const String & name,
const String & id )
explicitprotected

◆ GeometryRegistration() [2/3]

GeometryRegistration ( const GeometryRegistration & filter)
delete

◆ GeometryRegistration() [3/3]

GeometryRegistration ( const GeometryRegistration && filter)
delete

◆ ~GeometryRegistration()

virtual ~GeometryRegistration ( )
virtualdefault

Member Function Documentation

◆ AddAvailableRegistrationEngine()

static void AddAvailableRegistrationEngine ( GeometryRegistration * filter)
static

◆ AvailableRegistrationEngines()

static const Dictionary< String, GeometryRegistration * > & AvailableRegistrationEngines ( )
static

◆ canRunRegistration()

virtual bool canRunRegistration ( const GeometryRegistrationParameters & )
inlinevirtual

◆ defaultRegistrationArguments()

virtual Buffer< GeometryRegistrationDescription > defaultRegistrationArguments ( )
virtual

◆ ExecuteRegistration()

static void ExecuteRegistration ( const JSONNode & active_filters,
const Buffer< Model > & models_to_register,
const Buffer< Model > & reference_models,
ProgressInfo * log,
const void * lock )
static

◆ FinishRegistration()

static void FinishRegistration ( const Matrix< fltp08 > & transform,
Geometry & geo,
const GeometryRegistrationParameters & params )
staticprotected

◆ GetAvailableDescriptions()

static Buffer< GeometryRegistrationDescription > GetAvailableDescriptions ( )
static

◆ PrepareForRegistration()

static void PrepareForRegistration ( const Matrix< fltp08 > & transform,
const Geometry & geo,
GeometryRegistrationParameters & params,
bool is_reference )
staticprotected

◆ RegistrationCommand()

static DynamicPointer< DesignCommand > RegistrationCommand ( const UUID & reference,
const GeometryRegistrationDescription & filter )
static

◆ registrationID()

const String & registrationID ( ) const
inlinenodiscard

◆ registrationName()

const TranslatedString & registrationName ( ) const
inlinenodiscard

◆ runRegistration()

virtual bool runRegistration ( GeometryRegistrationParameters & parameters)
pure virtual

◆ ToCommandString()

static String ToCommandString ( const Buffer< GeometryRegistrationDescription > & descriptions)
static

Member Data Documentation

◆ m_id

String m_id
protected

◆ m_name

TranslatedString m_name
protected

◆ s_global_available_registration_engines

Dictionary<String, GeometryRegistration*> s_global_available_registration_engines
staticprotected

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