Cyclone 3DR Script
from Technodigit, part of Hexagon. Copyright 1997-2022.
 
Loading...
Searching...
No Matches
RshPluginSurveyingFormatScript.h
1
2
3
5
6#pragma once
7
8#include "RshPluginSurveyingFormat/RshPluginSurveyingFormatDefines.h"
9#include <QtCore/QMetaType>
10#include <QtCore/QObject>
11#include <QtCore/QSharedPointer>
12#include <QtScript/Array>
13#include <QtScript/QScriptable>
14
15#ifndef FCT_DOC
16namespace rsh::ScriptBinding
17{
18#endif // !FCT_DOC
19
26#ifdef FCT_DOC
28#else FCT_DOC
29class SSurveyingFormat : public QObject, QScriptable
30#endif // FCT_DOC
31{
32//======================================================================================================================
33// INTERNAL FUNCTION
34//======================================================================================================================
35//======================================================================================================================
36// DOCUMENTED FUNCTION
37//======================================================================================================================
38
39public slots:
40
97
106
108static Array ImportProject(
109 String iFileName,
111 Number iNbPtToKeep,
113 Boolean iImportScanDir,
115 Boolean iConvertCubicImagesToSpherical
117);
118
119#ifdef FCT_DOC
129static Array ExportProject(
130 String iFileName,
131 ,
133 Array<SComp> iTblElm,
135 Number iTextHeight,
137 SMatrix iCoordinateSystemMatrix = SMatrix()
139);
148static Array ExportProject(
149 String iFileName,
151 Number iWhatToSave,
156 Number iTextHeight,
158 SMatrix iCoordinateSystemMatrix = SMatrix()
160);
161#else
162 // TESTED
163 static Array ExportProject(
164 QScriptContext ipContext,
166 QScriptEngine ipEngine
168 );
169#endif
170
182static Array GetNbTexture(
183 String iFileName,
185 Boolean iConvertCube2Spherical
187);
188
211static Array ImportCloud(
212 String iFileName,
214 Number iNbPtToKeep,
216 Boolean iImportScanDir
218);
219
235static Array ExportCloud(
236 SCloud iCloud,
238 String iFileName,
240 SMatrix iCoordinateSystemMatrix =
241 SMatrix()
243);
244
247// This function overloaded via an evaluate
248static String GetType()
249{
250 return String();
251}
252
255 String toString() ;
256};
257
258#ifndef FCT_DOC
259} // namespace rsh::ScriptBinding
260#endif // !FCT_DOC
261
262Q_DECLARE_METATYPE(rsh::ScriptBinding::SSurveyingFormat);
The SCloud class provides point cloud manipulation. The SCloud creation can be done by calling the st...
Definition: SCloud.h:41
Matrix with 3 lines and 4 columns to make any transformation. This class should be used in order to a...
Definition: SMatrix.h:21
Definition: RshPluginSurveyingFormatScript.h:31
static Array GetNbTexture(String iFileName, Boolean iConvertCube2Spherical)
To get number of texture only for *.Xml(landXml)|*.e57 files.
String toString()
Get the type of the variable.
static String GetType()
To return the type of the object.
Definition: RshPluginSurveyingFormatScript.h:248
static Array ExportCloud(SCloud iCloud, String iFileName, SMatrix iCoordinateSystemMatrix=SMatrix())
Export clouds. Here if the full list of compatible format:
static Array ImportProject(String iFileName, Number iNbPtToKeep, Boolean iImportScanDir, Boolean iConvertCubicImagesToSpherical)
Import data from a (LandXml, Dwg, Dxf, e57) file. Example of how to use this function:
static Array ExportProject(String iFileName,, Array< SComp > iTblElm, Number iTextHeight, SMatrix iCoordinateSystemMatrix=SMatrix())
Save a table of SComp in a DXF file.
static Array ImportCloud(String iFileName, Number iNbPtToKeep, Boolean iImportScanDir)
Import clouds from supported files. Here if the full list of compatible format: