Skip To Content ArcGIS for Developers Sign In Dashboard

FrameCameraAddRastersParameters Class

class Esri::ArcGISRuntime::FrameCameraAddRastersParameters

Adds raster datasets to a MosaicDatasetRaster by setting various parameters including the use of frame and camera text files. More...

Header: #include <FrameCameraAddRastersParameters>
Since: Esri::ArcGISRuntime 100.1
Inherits: Esri::ArcGISRuntime::AddRastersParameters

This class was introduced in Esri::ArcGISRuntime 100.1.

Public Functions

FrameCameraAddRastersParameters(Esri::ArcGISRuntime::FrameCameraAddRastersParameters &&other)
FrameCameraAddRastersParameters(const Esri::ArcGISRuntime::AddRastersParameters &other)
FrameCameraAddRastersParameters(const Esri::ArcGISRuntime::FrameCameraAddRastersParameters &other)
FrameCameraAddRastersParameters()
Esri::ArcGISRuntime::FrameCameraAddRastersParameters &operator=(Esri::ArcGISRuntime::FrameCameraAddRastersParameters &&other)
Esri::ArcGISRuntime::FrameCameraAddRastersParameters &operator=(const Esri::ArcGISRuntime::FrameCameraAddRastersParameters &other)
virtual ~FrameCameraAddRastersParameters() override
QString camerasFile() const
QString framesFile() const
bool isShareRasterInfo() const
void setCamerasFile(const QString &cameras)
void setFramesFile(const QString &frames)
void setShareRasterInfo(bool status)

Detailed Description

Mosaic datasets (via the MosaicDatasetRaster class) are used to manage, display, serve, and share raster data. When you create a new mosaic dataset, it is created as an empty container in a geodatabase to which you can add raster data. The FrameCameraAddRastersParameters object provides the mechanism to set various properties including the use of camera and frame text files so that a raster can be added to a mosaic dataset via the MosaicDatasetRaster::addRasters() method.

Some of the parameters (also called properties) on FrameCameraAddRastersParameters class that enable adding a raster into a mosaic dataset include specifying, the file filter type (like .tif or .jpg) of the rasters that are to be included (FrameCameraAddRastersParameters::filter property), the directory location of the raster files (FrameCameraAddRastersParameters::inputDirectory property, the minimum pixel cell size of the raster to be included (FrameCameraAddRastersParameters::minPixelSizeFactor property) and more.

Unique attributes of using the FrameCameraAddRastersParameters class rather than the parent AddRastersParameters class have to do with defining 'frame' and 'camera' text files which specify how a raster image was captured from a satellite or aircraft. The frame and camera table files refers to a single perspective imaging camera with an optical lens that can be modeled as a pinhole. Unique attributes of using the FrameCameraAddRastersParameters class rather than the parent AddRastersParameters class have to do with defining 'frame' and 'camera' text files which specify how a raster image was captured from a satellite or aircraft. The frame and camera table file refers to a single perspective imaging camera with an optical lens that can be modeled as a pinhole. To define the frame table, use the FrameCameraAddRastersParameters::framesFile property. See the ArcGIS Pro document Frames table schema for more information.

To define the camera table, use the FrameCameraAddRastersParameters::camerasFile property. See the ArcGIS Pro document Cameras table schema for more information.

Member Function Documentation

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters(Esri::ArcGISRuntime::FrameCameraAddRastersParameters &&other)

Move constructor from other FrameCameraAddRastersParameters.

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters(const Esri::ArcGISRuntime::AddRastersParameters &other)

Copy constructor from other AddRastersParameters.

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters(const Esri::ArcGISRuntime::FrameCameraAddRastersParameters &other)

Copy constructor from other FrameCameraAddRastersParameters.

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters()

Default constructor.

Esri::ArcGISRuntime::FrameCameraAddRastersParameters &FrameCameraAddRastersParameters::operator=(Esri::ArcGISRuntime::FrameCameraAddRastersParameters &&other)

Move operator from other FrameCameraAddRastersParameters.

Esri::ArcGISRuntime::FrameCameraAddRastersParameters &FrameCameraAddRastersParameters::operator=(const Esri::ArcGISRuntime::FrameCameraAddRastersParameters &other)

Assignment operator from other FrameCameraAddRastersParameters.

[override virtual] FrameCameraAddRastersParameters::~FrameCameraAddRastersParameters()

Destructor

QString FrameCameraAddRastersParameters::camerasFile() const

Returns the cameras file.

See also setCamerasFile().

QString FrameCameraAddRastersParameters::framesFile() const

Returns the frames file.

See also setFramesFile().

bool FrameCameraAddRastersParameters::isShareRasterInfo() const

Returns whether raster info can be shared.

void FrameCameraAddRastersParameters::setCamerasFile(const QString &cameras)

Sets the input cameras file to cameras.

See also camerasFile().

void FrameCameraAddRastersParameters::setFramesFile(const QString &frames)

Sets the input frames file to frames.

See also framesFile().

void FrameCameraAddRastersParameters::setShareRasterInfo(bool status)

Sets whether raster info can be shared to status.

See also isShareRasterInfo().


Feedback on this topic?