8#include "RshPluginScriptInterface/Script/SObjectStatic.h"
11namespace rsh::ScriptBinding
57 Array<SImage> iImgTbl,
59 Number iPixelSize = 0.01,
64 Number iExistingOption,
68 Array<SPoly> iObstaclesTbl =
84 Array<SImage> iImgTbl,
86 Number iVisibilityOption,
95 Number iExistingOption
117 Array<SCloud> CloudTbl,
120 Number iIgnoreOverInM,
125 Number iDefaultGreen,
129 Number iPixelSize = 0.01,
131 Number iExistingOption
147 String iFilePathName,
174 Number iPixelsPerTriangle,
176 Boolean iIsUpdateOnlyTriWithoutTexture
209 Array<SCloud> iCloudsTbl,
225 Number iDefaultGreen,
The SCloud class provides point cloud manipulation. The SCloud creation can be done by calling the st...
Definition: SCloud.h:41
This class is only available if you have the Survey plugin. .
Definition: SImage.h:29
3D point manipulation class. The SPoint creation can be done by calling the static functions:
Definition: SPoint.h:23
The SPoly class provides triangular mesh(es) manipulation. The SPoly creation can be done by calling ...
Definition: SPoly.h:39
The mathematical object vector.
Definition: SVector3.h:26
Definition: STexturingUtil.h:21
static Array TextureAddRepetitive(SPoly iPoly, String iFilePathName, Number iNbRepWidth, Number iNbRepHeight, SVector iDirXScreen, SVector iDirYScreen, SPoint iImageOrigin)
Adds repetitive texture to a mesh.
static Array RemoveTexture(SPoly ioPoly)
Removes all textures applied to the mesh.
static Number GetNumberOfTextures(SPoly iPoly)
Returns the number of textures applied to the mesh.
static Array ColorizeCloudFromImage(SCloud iCloud, SImage iImage)
Colorize a cloud with an image.
Array TextureFromClouds(SPoly iPoly, Array< SCloud > CloudTbl, Number iIgnoreOverInM, Number iDefaultRed, Number iDefaultGreen, Number iDefaultBlue, Number iPixelSize=0.01, Number iExistingOption)
Uses the color (or the color of inspection) of point clouds to texture the current mesh.
static Array GetTextureName(SPoly iPoly, Number iTextureIdx)
Returns the original name of a dynamic texture (texture map) applied to the mesh.
static Array TextureMeshStandard(SPoly iPoly, Array< SImage > iImgTbl, Number iVisibilityOption, Number iImageOption, Number iExistingOption)
Textures a mesh with images.
static Array ExtractImageFromTexture(SPoly iPoly)
Converts dynamic textures from a mesh to scene images.
static Array TakeColorFromClouds(SPoly iPoly, Array< SCloud > iCloudsTbl, Number iIgnoreOver, Number iResetColor, Number iDefaultRed, Number iDefaultGreen, Number iDefaultBlue)
Uses the color (or the color of inspection) of point clouds to color the vertices on the current mesh...
static Array ConvertColorToTexture(SPoly iPoly, Number iPixelsPerTriangle, Boolean iIsUpdateOnlyTriWithoutTexture)
Converts colors/inspections of a mesh into texture.
static Array ConvertTextureMapsToAtlas(SPoly iPoly)
Converts all the texture maps of a mesh into one (or several) texture atlas.
static Array TextureMeshSmart(SPoly iPoly, Array< SImage > iImgTbl, Number iPixelSize=0.01, Number iTextureSize, Number iExistingOption, Array< SPoly > iObstaclesTbl=Array< SPoly >())
Textures a mesh with images, using the Smart Texture method.
static Number GetNumberOfTextureMaps(SPoly iPoly)
Returns the number of dynamic textures (texture maps) applied to the mesh.