Cyclone 3DR Script
from Technodigit, part of Hexagon. Copyright 1997-2022.
 
Loading...
Searching...
No Matches
ZSPolyExt.h
1
2// This file is part of the 3DReshaper technology software and is a proprietary information of TECHNODIGIT.
3// Do NOT reproduce or disclose this file without TECHNODIGIT written consent.
5
6#pragma once
7
8#include "RshPluginSurveyingFormat/RshPluginSurveyingFormatDefines.h"
9#include "RshPluginScriptInterface/Script/SObjectStatic.h"
10#include <QtScript/Array>
11#include <QtScript/QScriptable>
12
13#ifndef FCT_DOC
14namespace rsh::ScriptBinding
15{
16#endif // !FCT_DOC
17
18// @brief
19// Extend SPoly class
20#ifdef FCT_DOC
21class SPoly
22#else
23class SPolyExt : public SObjectStatic
24#endif // FCT_DOC
25{
26 //======================================================================================================================
27 // INTERNAL FUNCTION
28 //======================================================================================================================
29
30 //======================================================================================================================
31 // DOCUMENTED FUNCTION
32 //======================================================================================================================
33
34public:
36 {
40 EXPORT_FBX_COLOR_PER_TRIANGLE};
41
42public slots:
43
60 // TESTED
61 static Number SaveFBX(
62 String FilePath,
64 Array<SPoly> MeshesToExport,
66 Boolean IsExportTexture,
68 EExportVertexColor ExportVertexColor,
70 SMatrix CoordinateSystemMatrix = {}
73 );
74};
75#ifndef FCT_DOC
76} // namespace rsh::ScriptBinding
77#endif // !FCT_DOC
Matrix with 3 lines and 4 columns to make any transformation. This class should be used in order to a...
Definition: SMatrix.h:21
The SPoly class provides triangular mesh(es) manipulation. The SPoly creation can be done by calling ...
Definition: SPoly.h:39
EExportVertexColor
Definition: ZSPolyExt.h:36
@ EXPORT_FBX_NO_COLOR
Definition: ZSPolyExt.h:37
@ EXPORT_FBX_REAL_COLOR
Definition: ZSPolyExt.h:39
@ EXPORT_FBX_INSPECTION
Definition: ZSPolyExt.h:38
static Number SaveFBX(String FilePath, Array< SPoly > MeshesToExport, Boolean IsExportTexture, EExportVertexColor ExportVertexColor, SMatrix CoordinateSystemMatrix={})
Saves the meshes into a FBX file.