Skip To Content ArcGIS for Developers Sign In Dashboard

FrameCameraAddRastersParameters 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: AddRastersParameters

Public Functions

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

Detailed Description

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

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()

Default constructor.

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters(const FrameCameraAddRastersParameters &other)

Copy constructor from other FrameCameraAddRastersParameters.

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters(const AddRastersParameters &other)

Copy constructor from other AddRastersParameters.

FrameCameraAddRastersParameters::FrameCameraAddRastersParameters(FrameCameraAddRastersParameters &&other)

Move constructor from other FrameCameraAddRastersParameters.

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().

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

Assignment operator from other FrameCameraAddRastersParameters.

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

Move operator from other FrameCameraAddRastersParameters.


Feedback on this topic?