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

#include <GeometryRegistration.h>

Collaboration diagram for GeometryRegistration:
[legend]

Public Member Functions

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

Static Public Member Functions

static const Dictionary< String, GeometryRegistration * > & AvailableRegistrationEngines ()
 
static void AddAvailableRegistrationEngine (GeometryRegistration *filter)
 
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 String ToCommandString (const Buffer< GeometryRegistrationDescription > &descriptions)
 
static DynamicPointer< DesignCommandRegistrationCommand (const UUID &reference, const GeometryRegistrationDescription &filter)
 

Protected Member Functions

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

Static Protected Member Functions

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

Protected Attributes

TranslatedString m_name
 
String m_id
 

Static Protected Attributes

static Dictionary< String, GeometryRegistration * > s_global_available_registration_engines
 

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()

void AddAvailableRegistrationEngine ( GeometryRegistration * filter)
static

◆ AvailableRegistrationEngines()

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

◆ canRunRegistration()

virtual bool canRunRegistration ( const GeometryRegistrationParameters & )
inlinevirtual

◆ defaultRegistrationArguments()

Buffer< GeometryRegistrationDescription > defaultRegistrationArguments ( )
virtual

◆ ExecuteRegistration()

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

◆ FinishRegistration()

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

◆ GetAvailableDescriptions()

Buffer< GeometryRegistrationDescription > GetAvailableDescriptions ( )
static

◆ PrepareForRegistration()

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

◆ RegistrationCommand()

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()

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 files: