|
|
void | setLocalColmapBinPath (const QString &colmapBinPath) |
| | Set absolute path to COLMAP binary on local machine.
|
| |
|
void | setLocalOpenMVSBinPath (const QString &openMVSBinPath) |
| | Set absolute path to OpenMVS binary folder on local machine.
|
| |
|
void | setRemoteColmapBinPath (const QString &remoteColmapBinPath) |
| | Set absolute path to COLMAP binary on remote machine.
|
| |
|
void | setRemoteOpenMVSBinPath (const QString &openMVSBinPath) |
| | Set absolute path to OpenMVS binary folder on remote machine.
|
| |
|
void | setLocalWorkspacePath (const QString &localWorkspacePath) |
| | Set absolute path to workspace on local machine.
|
| |
|
void | setRemoteWorkspacePath (const QString &remoteWorkspacePath) |
| | Set absolute path to workspace on remote machine.
|
| |
|
void | setMntPntRemoteWorkspacePath (const QString &mntPntRemoteWorkspacePath) |
| | Set path to mount point of remote workspace.
|
| |
|
void | setConnectionType (const EConnectionType &connection) |
| | Set connection type to Metashape.
|
| |
|
void | setRemoteAddr (const QString &remoteAddr) |
| | Set address of remote server. If empty it assumed that Metashape runs on local machine.
|
| |
|
void | setRemoteUsr (const QString &remoteUsr) |
| | Set user on remote server.
|
| |
|
void | setSyncInterval (int intervalInSeconds) |
| | Set interval (in seconds) in which the client and server should be synchronized.
|
| |
|
void | setUseRobustMode (bool useRobustMode) |
| | Set wether to use robustMode.
|
| |
|
void | setCustomCommands (QList< QPair< QString, QString > > customCommands) |
| | Set the custom command.
|
| |
| bool | checkWorkerState () |
| | Method to check worker state.
|
| |
|
void | addJob (const SJob &iJob) |
| | Add new job to the end of the list.
|
| |
|
void | addJobList (const std::vector< SJob > &iJobList) |
| | Append list of Jobs to the end of the current list.
|
| |
| bool | moveJobOneUp (const SJob &iJob) |
| | Move given Job one up in queue.
|
| |
| bool | moveJobOneDown (const SJob &iJob) |
| | Move given Job one down in queue.
|
| |
| bool | deleteJob (const SJob &iJob) |
| | Delete given Job.
|
| |
|
SJob * | getJobPtrAtIdx (int iIdx) |
| | Returns job at given index.
|
| |
|
int | getNumJobs () const |
| | Returns Number of Jobs in Queue.
|
| |
| int | removeFinishedJobs () |
| | Remove finished jobs from list.
|
| |
|
void | clearAvailableSequenceList () |
| | Remove all available sequences from list.
|
| |
| std::vector< SSequence > | getFinishedSequenceList () const |
| |
|
std::vector< SJob > | getJobList () const |
| | Get list with available (i.e. already processed) sequences.
|
| |
|
EWorkerState | getWorkerState () const |
| | Get state of worker.
|
| |
| QString | getProductFilePath (QString iSeqName, const EProductType &iProdType) |
| | Get path of file for given product in sequence.
|
| |
|
void | startProcessing () |
| | Method to invoke processing of job queue by COLMAP.
|
| |
|
void | openColmapLogFile () |
| | Method to open COLMAP Log File.
|
| |
|
void | installScriptFilesIntoWorkspace () |
| | Method to install script files into workspace.
|
| |
|
bool | hasScriptFilesInstalled () |
| | check if script files are already installed
|
| |
|
void | readSettings () |
| | Read settings from settings-file specified in the ColmapWrapper().
|
| |
|
void | writeSettings () |
| | Write settings to settings-file specified in the ColmapWrapper().
|
| |
|
void | writeWorkQueueToFile () |
| | Write work queue to file (colmap_work_queue.yaml) in workspace.
|
| |
|
void | clearWorkerStateFile () |
| | Clear worker state file (colmap_worker_state.yaml) in workspace.
|
| |
|
QString | getFirstMatchingFileNameWithWildcard (const QString &path, QString baseName) const |
| | Return the first file with a wildcard suffix.
|
| |
|
void | readWorkQueueFromFile () |
| | Read work queue from file (colmap_work_queue.yaml) in workspace.
|
| |
|
void | readWorkerStateFromFile () |
| | Read worker state from file (colmap_worker_state.yaml) in workspace.
|
| |
|
void | afterSettingsChanged () |
| | Sync files and update job list after colmap wrapper settings changed.
|
| |
|
| | ColmapWrapper (const QString iSettingsFile="lib3D_ColmapWrapper.ini", const bool iSettingsOnly=false) |
| | Constructor.
|
| |
|
virtual | ~ColmapWrapper () |
| | Destructor.
|
| |
| void | init () |
| | Initialization routine.
|
| |
| bool | testSettings (const SSettings *settings, SSetupResults *results) |
| |
|
QString | localColmapBinPath () const |
| | Returns absolute path to COLMAP binary on local machine.
|
| |
|
QString | localOpenMVSBinPath () const |
| | Returns absolute path to OpenMVS binary on local machine.
|
| |
|
QString | remoteColmapBinPath () const |
| | Returns absolute path to COLMAP binary on remote machine.
|
| |
|
QString | remoteOpenMVSBinPath () const |
| | Returns absolute path to OpenMVS binary on remote machine.
|
| |
|
QString | localWorkspacePath () const |
| | Returns absolute path to workspace on local machine.
|
| |
|
QString | remoteWorkspacePath () const |
| | Returns absolute path to workspace on remote machine.
|
| |
|
QString | mntPntRemoteWorkspacePath () const |
| | Returns path to mount point of remote workspace on local machine.
|
| |
|
QList< QPair< QString, QString > > | customCommands () const |
| | Returns custom command.
|
| |
|
EConnectionType | connectionType () const |
| | Returns type of connection to COLMAP.
|
| |
|
QString | remoteAddr () const |
| | Returns address of remote server.
|
| |
|
QString | remoteUsr () const |
| | Returns user on remote server which is allowed to run COLMAP.
|
| |
|
int | syncInterval () const |
| | Returns interval (in seconds) in which the client and server should be synchronized.
|
| |
|
void | setChecksDisabled (const bool noChecks) |
| | Set the use of expert mode.
|
| |
|
bool | areChecksDisabled () const |
| | Returns true if expert mode is activated.
|
| |
|
bool | useRobustMode () |
| | Returns wether robustMode should be used.
|
| |
|
bool | setUseRobustMode () const |
| | Set wether robustMode should be used.
|
| |
|
bool | isRemoteWorkspaceMounted (QString iRemoteWorkspacePath) const |
| | Returns true, if remote workspace is mounted. False, otherwise.
|
| |
| ui::ColmapWrapperControlsFactory * | getOrCreateUiControlsFactory () |
| | Method to get or create a pointer to a factory object that allows to create ui controls for the ColmapWrapper.
|
| |
|
void | applySettings (const SSettings *settings) |
| | switchWorkspace tries to switch to the local/remote workspace.
|
| |
|
|
void | exportJobs (cv::FileStorage &ioFileStorage) const |
| | Export jobs within mJobs into given cv::FileStorage object.
|
| |
|
void | exportJob (cv::FileStorage &ioFileStorage, const SJob &iJob) const |
| | Export given job into given cv::FileStorage object.
|
| |
| void | importJob (const cv::FileNode &iFileNode, SJob &oJob) const |
| | Import job from given cv::FileNode object.
|
| |
| bool | hasSequence (const std::string iSeqName) const |
| | Returns true, if sequence with given sequence name is available.
|
| |
| bool | hasProduct (const std::string iSeqName, const ColmapWrapper::EProductType iPdctType) const |
| | Returns true, if product with given of given type is available in sequence.
|
| |
| void | moveJobInQueue (const int fromidx, const int toIdx) |
| | Move job in queue.
|
| |
| int | getIndexOfJob (const SJob &iJob) |
| |
|
|
QSettings | mSettings |
| | Settings object.
|
| |
|
bool | mNoChecks |
| | flag wether to use expert mode, in which some 'user-guidance' features ar deactivated
|
| |
|
bool | mUseRobustMode |
| | flag wether to use robust mode
|
| |
|
QList< QPair< QString, QString > > | mCustomCommands |
| | input field for custom commands
|
| |
|
QTemporaryDir * | mpTempDir |
| | Pointer to temporary directory.
|
| |
|
QProcess * | mpPyWorkerProcess |
| | Process for Python worker.
|
| |
|
QProcess * | mpMountProcess |
| | Process for mounting operations.
|
| |
|
QTimer | mCheckWorkerTimer |
| | Timer object to chech worker file server and client.
|
| |
|
SWorker | mPyWorker |
| | Member object of Python worker.
|
| |
|
QStringList | mPyWorkerArguments |
| | Arguments for Python worker.
|
| |
|
QString | mLocalColmapBinPath |
| | Absolute path to COLMAP binary on local machine.
|
| |
|
QString | mLocalOpenMVSBinPath |
| | Absolute path to OpenMVS binary folder on local machine.
|
| |
|
QString | mRemoteColmapBinPath |
| | Absolute path to COLMAP binary on remote machine.
|
| |
|
QString | mRemoteOpenMVSBinPath |
| | Absolute path to OpenMVS binary folder on remote machine.
|
| |
|
QString | mMntPntRemoteWorkspacePath |
| | Absolute path to temporary mount location of remote directory.
|
| |
|
EConnectionType | mConnectionType |
| | Connection to location of Metashape.
|
| |
| QString | mRemoteAddr |
| |
|
QString | mRemoteUsr |
| | User on remote server.
|
| |
|
int | mSyncInterval |
| | Interval of background synchronization between server and client.
|
| |
|
std::vector< SSequence > | mAvailableSequences |
| | List of available sequences.
|
| |
|
std::vector< SJob > | mJobs |
| | List of job pointers.
|
| |
|
ui::ColmapWrapperControlsFactory * | mpUiControls |
| | Pointer to UiControlsFactory object.
|
| |
|
bool | mSetupSuccessful = false |
| | current status of the setup, true if colmap can be used
|
| |