8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SComp.h"
12namespace rsh::ScriptBinding
211 Array<SLabel> iLabelTable
280 String _MakeValidKey( String iStrToClean);
288 :
public SObjectStatic
313 return SComp::GetFromName<SReportData>(iName);
320Q_DECLARE_METATYPE(SReportData::_SReportDataDummy);
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32
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
Class to store reporting data. Reporting data corresponds to a chapter of a report....
Definition: SReportData.h:19
Number GetArea(String iName)
Get an area from a SReportData.
AddArea(String iName, AreaUnit areaUnit, Number iArea)
Add a data corresponding to an area to a SReportData.
UpdateMainViewSet()
Update the main view of a report data with the current 3D view.
AddImage(String iName, SImage iImage)
Add a data corresponding to an internal image to a SReportData.
static SReportData New(String iName)
Create an empty report data.
AddPoint(String iName, LengthUnit lengthUnit, SPoint iPoint)
Add a data corresponding to a point to a SReportData.
AddText(String iName, String iText)
Add a data corresponding to a text to a SReportData.
Array ExportTableCSV(String iFilesFolder)
Export a table as CSV file.
AngleUnit
Definition: SReportData.h:30
@ Radian
Definition: SReportData.h:31
@ Percent
Definition: SReportData.h:34
@ Degree
Definition: SReportData.h:32
@ Gradian
Definition: SReportData.h:33
@ Minute
Definition: SReportData.h:35
ExportDataXML(String iFilePath)
Export all data as a XML file.
SPoint GetPoint(String iName)
Get a point from a SReportData.
AddVector(String iName, LengthUnit lengthUnit, SVector iVector)
Add a data corresponding to a vector to a SReportData.
AddAngle(String iName, AngleUnit angleUnit, Number iAngle)
Add a data corresponding to an angle to a SReportData.
static Array FromName(String iName)
To get all the selected SReportData corresponding to the given name.
Definition: SReportData.h:309
Number GetLength(String iName)
Get a length from a SReportData.
AddImageFromDisk(String iName, String iImageFilePath)
Add a data corresponding to an external image (provided its file path) to a SReportData.
LengthUnit
Definition: SReportData.h:40
@ Feet
Definition: SReportData.h:49
@ Inch
Definition: SReportData.h:48
@ Yard
Definition: SReportData.h:51
@ Microinch
Definition: SReportData.h:46
@ Kilometer
Definition: SReportData.h:45
@ Meter
Definition: SReportData.h:44
@ Millimeter
Definition: SReportData.h:42
@ Centimeter
Definition: SReportData.h:43
@ Milliinch
Definition: SReportData.h:47
@ Micrometer
Definition: SReportData.h:41
@ SurveyFeet
Definition: SReportData.h:50
Array AddLabels(String iName, Array< SLabel > iLabelTable)
Add a data corresponding to a table of labels to a SReportData. The labels table must contain labels ...
AddToDoc()
Add the report data to the current document.
AddViewset(String iName, SViewSet iViewset)
Add a data corresponding to a ViewSet to a SReportData.
AddNumber(String iName, Number iNumber)
Add a data corresponding to a number without unit to a SReportData.
Number GetVolume(String iName)
Get a volume from a SReportData.
SVector GetVector(String iName)
Get a vector from a SReportData.
AreaUnit
Definition: SReportData.h:56
@ SquareKilometer
Definition: SReportData.h:61
@ SquareMilliinch
Definition: SReportData.h:63
@ SquareMicroinch
Definition: SReportData.h:62
@ SquareFeet
Definition: SReportData.h:65
@ SquareInch
Definition: SReportData.h:64
@ SquareYard
Definition: SReportData.h:67
@ SquareSurveyFeet
Definition: SReportData.h:66
@ SquareMeter
Definition: SReportData.h:60
@ SquareMillimeter
Definition: SReportData.h:58
@ SquareMicrometer
Definition: SReportData.h:57
@ SquareCentimeter
Definition: SReportData.h:59
static String toString()
Get the type of the variable.
VolumeUnit
Definition: SReportData.h:72
@ CubicKilometer
Definition: SReportData.h:77
@ CubicMicroinch
Definition: SReportData.h:78
@ US_LiquidGallon
Definition: SReportData.h:86
@ CubicMillimeter
Definition: SReportData.h:74
@ CubicMicrometer
Definition: SReportData.h:73
@ CubicMilliinch
Definition: SReportData.h:79
@ Liter
Definition: SReportData.h:85
@ CubicMiles
Definition: SReportData.h:84
@ CubicSurveyFeet
Definition: SReportData.h:82
@ CubicCentimeter
Definition: SReportData.h:75
@ US_LiquidBarrel
Definition: SReportData.h:88
@ CubicMeter
Definition: SReportData.h:76
@ CubicFeet
Definition: SReportData.h:81
@ CubicYard
Definition: SReportData.h:83
@ US_DryGallon
Definition: SReportData.h:87
@ US_DryBarrel
Definition: SReportData.h:89
@ CubicInch
Definition: SReportData.h:80
String GetText(String iKey)
Get a text from a SReportData.
Number GetAngle(String iName)
Get an angle from a SReportData.
AddLength(String iName, LengthUnit lengthUnit, Number iLength)
Add a data corresponding to a length to a SReportData.
Number GetNumber(String iName)
Get a number from a SReportData.
AddVolume(String iName, VolumeUnit volumeUnit, Number iVolume)
Add a data corresponding to a volume to a SReportData.
The mathematical object vector.
Definition: SVector3.h:26
ViewSet manipulation class. The SViewSet class will save position of the camera and visibility of the...
Definition: SViewSet.h:25