|
DP3
|
#include <SourceDBUtil.h>
Public Types | |
| enum class | FilterMode { kPattern , kValue } |
| The method used to filter the supplied patches. More... | |
Public Member Functions | |
| SourceDBWrapper (const std::string &source_db_name) | |
| bool | CheckAnyOrientationIsAbsolute () |
| bool | CheckPolarized () |
| SourceDBWrapper & | Filter (const std::vector< std::string > &filter, FilterMode filter_mode) |
| std::vector< std::shared_ptr< Patch > > | MakePatchList () |
A SourceDB abstraction layer.
A SourceDB can be read as a SourceDB database or a .skymodel file. This class abstracts the processing of the data regardless of the data source used.
|
strong |
The method used to filter the supplied patches.
|
explicit |
| source_db_name | The name of the source DB to create. The name can either be the name of a binary or textual source DB. The entension of the name determines which is used:
|
| bool dp3::model::SourceDBWrapper::CheckAnyOrientationIsAbsolute | ( | ) |
| bool dp3::model::SourceDBWrapper::CheckPolarized | ( | ) |
| SourceDBWrapper& dp3::model::SourceDBWrapper::Filter | ( | const std::vector< std::string > & | filter, |
| FilterMode | filter_mode | ||
| ) |
| filter | The list of patches to filter. The interpretation of the filter depends on the filter_mode. |
| filter_mode | Determines how the filter is applied. |
| std::vector<std::shared_ptr<Patch> > dp3::model::SourceDBWrapper::MakePatchList | ( | ) |