te::qt::plugins::photolayer::PhotoLayerBuilder Class Reference

Class used to build a vector layer of points from a set of images with EXIF GPS metadata. More...

#include <PhotoLayerBuilder.h>

Public Member Functions

void execute ()
 
 PhotoLayerBuilder (te::da::DataSourcePtr ds, const std::string &dataSetName, const std::string &path)
 Constructor. More...
 
 ~PhotoLayerBuilder ()
 Destructor. More...
 

Static Public Member Functions

static std::size_t GetValidFilesCount (const std::string &path)
 

Protected Member Functions

std::unique_ptr< te::da::DataSetTypecreateDataSetType ()
 
void saveDataSet (te::mem::DataSet *dataSet, te::da::DataSetType *dsType)
 

Protected Attributes

std::string m_dataSetName
 
te::da::DataSourcePtr m_dataSource
 
std::string m_path
 

Detailed Description

Class used to build a vector layer of points from a set of images with EXIF GPS metadata.

Definition at line 54 of file PhotoLayerBuilder.h.

Constructor & Destructor Documentation

◆ PhotoLayerBuilder()

te::qt::plugins::photolayer::PhotoLayerBuilder::PhotoLayerBuilder ( te::da::DataSourcePtr  ds,
const std::string &  dataSetName,
const std::string &  path 
)

Constructor.

Parameters
rThe raster to get gps information.

◆ ~PhotoLayerBuilder()

te::qt::plugins::photolayer::PhotoLayerBuilder::~PhotoLayerBuilder ( )

Destructor.

Member Function Documentation

◆ createDataSetType()

std::unique_ptr<te::da::DataSetType> te::qt::plugins::photolayer::PhotoLayerBuilder::createDataSetType ( )
protected

Function used to create the output dataset type

◆ execute()

void te::qt::plugins::photolayer::PhotoLayerBuilder::execute ( )

◆ GetValidFilesCount()

static std::size_t te::qt::plugins::photolayer::PhotoLayerBuilder::GetValidFilesCount ( const std::string &  path)
static

◆ saveDataSet()

void te::qt::plugins::photolayer::PhotoLayerBuilder::saveDataSet ( te::mem::DataSet dataSet,
te::da::DataSetType dsType 
)
protected

Function used to save the output dataset

Member Data Documentation

◆ m_dataSetName

std::string te::qt::plugins::photolayer::PhotoLayerBuilder::m_dataSetName
protected

Definition at line 86 of file PhotoLayerBuilder.h.

◆ m_dataSource

te::da::DataSourcePtr te::qt::plugins::photolayer::PhotoLayerBuilder::m_dataSource
protected

Definition at line 84 of file PhotoLayerBuilder.h.

◆ m_path

std::string te::qt::plugins::photolayer::PhotoLayerBuilder::m_path
protected

Definition at line 88 of file PhotoLayerBuilder.h.


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