NDEVR
API Documentation
PolarisScanner

A Scanner3D implementation for the Optech Polaris terrestrial laser scanner, providing full scan control, survey management, GPS, compass, inclinometer, and battery monitoring via the Polaris Control API. More...

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

Public Member Functions

 PolarisScanner (Connection *connection, DesignObjectLookup *manager, ProgressInfo *log, QObject *parent=nullptr)
 Constructs the Polaris scanner controller.
Public Member Functions inherited from INIInterface
 INIInterface ()
 Constructs an INIInterface with no default INI file.
 INIInterface (const File &default_ini)
 Constructs an INIInterface with the specified default INI file.
virtual ~INIInterface ()
 Virtual destructor for safe polymorphic cleanup.
virtual void finishReadingINI (INIFactory &)
 Called after reading an INI file.
virtual void getINI (INIFactory &factory)=0
 Populates the given INI factory with the options managed by this interface.
virtual void prepareForINI (INIFactory &)
 Called before reading or writing an INI file.
virtual bool readINIOptions ()
 Reads INI options from the default INI file.
virtual bool readINIOptions (File &ini_file)
 Reads INI options from the specified INI file.
virtual bool saveINIOptions (bool multithead=false)
 Saves INI options to the default INI file.
virtual bool saveINIOptions (File &ini_file, bool multithead=false)
 Saves INI options to the specified INI file.
void setDefaultINIFile (const File &file)
 Sets the default INI file path used for reading and writing options.
virtual void writeToLog (const StringView &title, LogPtr log, uint01 log_level=2U)
 Writes the current INI options to the specified log with a title.
virtual void writeToLog (LogPtr log, uint01 log_level=2U)
 Writes the current INI options to the specified log.

Protected Member Functions

virtual void OnGetGpsStatus (const OPTECH_POLARIS_API::SPlsGpsStatus gps_status) override
 Gps/compass/level.
virtual void OnGetPanPosition (const float pan) override
 pan/tilt/gavo commands
virtual void OnListProject (const int num_names, const OPTECH_POLARIS_API::SPlsFileName *array_names) override
 Get list of project names feedback: nitems, int, total number of items in the list array_names, string array, names of projects.
virtual void OnSetPowerSource (const int status) override
 Set system power source.
virtual void OnStartCamera (const int status) override
 camera commands

Additional Inherited Members

Protected Attributes inherited from INIInterface
File m_default_ini
 The default file path used for reading and writing INI options.

Detailed Description

A Scanner3D implementation for the Optech Polaris terrestrial laser scanner, providing full scan control, survey management, GPS, compass, inclinometer, and battery monitoring via the Polaris Control API.


Definition at line 41 of file PolarisScanner.h.

Constructor & Destructor Documentation

◆ PolarisScanner()

PolarisScanner::PolarisScanner ( Connection * connection,
DesignObjectLookup * manager,
ProgressInfo * log,
QObject * parent = nullptr )

Constructs the Polaris scanner controller.

Parameters
[in]connectionThe network connection to the scanner.
[in]managerThe design object lookup for model management.
[in]logProgress/log output.
[in]parentOptional parent QObject.

References PolarisScanner().

Referenced by PolarisScanner().

Member Function Documentation

◆ OnListProject()

virtual void PolarisScanner::OnListProject ( const int num_names,
const OPTECH_POLARIS_API::SPlsFileName * array_names )
inlineoverrideprotectedvirtual

Get list of project names feedback: nitems, int, total number of items in the list array_names, string array, names of projects.

each string is 260 bytes.

Definition at line 364 of file PolarisScanner.h.


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