FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::ImageManager API

Description

Functions

FORMIT_CORE_EXPORT FormIt::ImageData FormIt::ImageManager::GetData (const size_t nHistoryID, const size_t aImageId, const bool aIncludeSatelliteData=false)
 Gets ImageData for a single image. More...
 
FORMIT_CORE_EXPORT size_t FormIt::ImageManager::GetAllImagesCount (size_t nHistoryID)
 GetAllImagesCount() function. More...
 
FORMIT_CORE_EXPORT FormIt::AllImageData FormIt::ImageManager::GetAllImages (size_t nHistoryID, FormIt::SortOrder nSort)
 Gets all images in given history. More...
 
FORMIT_CORE_EXPORT size_t FormIt::ImageManager::ImportImage (size_t nHistoryID, const 1::string &fileName, size_t pixelWidth, size_t pixelHeight, double worldWidth, double worldHeight, bool isSatelliteImage, bool addToSelections=true)
 Import image into the model and optionally selects the new image. More...
 
FORMIT_CORE_EXPORT bool FormIt::ImageManager::SetImageName (size_t nHistoryID, size_t imageID, const 1::string &)
 Set the Image name. More...
 
FORMIT_CORE_EXPORT bool FormIt::ImageManager::SetImageAlpha (size_t nHistoryID, size_t imageID, float fAlpha, bool bFinalChange)
 Set the Image alpha. More...
 
FORMIT_CORE_EXPORT bool FormIt::ImageManager::SetImagePosition (size_t nHistoryID, size_t imageID, int nPosition)
 Set the Image Position. More...
 

Function Documentation

FORMIT_CORE_EXPORT FormIt::AllImageData FormIt::ImageManager::GetAllImages ( size_t  nHistoryID,
FormIt::SortOrder  nSort 
)

Gets all images in given history.

Parameters
[in]nHistoryIDID of the given History
[in]nSort
FORMIT_CORE_EXPORT size_t FormIt::ImageManager::GetAllImagesCount ( size_t  nHistoryID)

GetAllImagesCount() function.

Parameters
[in]nHistoryIDID of the given History
FORMIT_CORE_EXPORT FormIt::ImageData FormIt::ImageManager::GetData ( const size_t  nHistoryID,
const size_t  aImageId,
const bool  aIncludeSatelliteData = false 
)

Gets ImageData for a single image.

Parameters
[in]nHistoryIDID of the given History
[in]aImageId
[in]aIncludeSatelliteData
FORMIT_CORE_EXPORT size_t FormIt::ImageManager::ImportImage ( size_t  nHistoryID,
const 1::string &  fileName,
size_t  pixelWidth,
size_t  pixelHeight,
double  worldWidth,
double  worldHeight,
bool  isSatelliteImage,
bool  addToSelections = true 
)

Import image into the model and optionally selects the new image.

Parameters
[in]nHistoryIDID of the given History
[in]fileName
[in]pixelWidth
[in]pixelHeight
[in]worldWidth
[in]worldHeight
[in]isSatelliteImage
[in]addToSelections
FORMIT_CORE_EXPORT bool FormIt::ImageManager::SetImageAlpha ( size_t  nHistoryID,
size_t  imageID,
float  fAlpha,
bool  bFinalChange 
)

Set the Image alpha.

Parameters
[in]nHistoryIDID of the given History
[in]imageID
[in]fAlpha
[in]bFinalChange
FORMIT_CORE_EXPORT bool FormIt::ImageManager::SetImageName ( size_t  nHistoryID,
size_t  imageID,
const 1::string &   
)

Set the Image name.

Parameters
[in]nHistoryIDID of the given History
[in]imageID
FORMIT_CORE_EXPORT bool FormIt::ImageManager::SetImagePosition ( size_t  nHistoryID,
size_t  imageID,
int  nPosition 
)

Set the Image Position.

Parameters
[in]nHistoryIDID of the given History
[in]imageID
[in]nPosition