22 QStringList(),
"", QStringList(),
23 QStringList{
"Height profile (*.csv)"},
Export}) {}
27 bool& exclusive)
const {
49 unsigned vertCount = poly->
size();
59 if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) {
63 QTextStream outFile(&file);
64 outFile.setRealNumberNotation(QTextStream::FixedNotation);
65 outFile.setRealNumberPrecision(
72 for (
unsigned j = 0; j < vertCount; ++j) {
76 s += (*P - *lastP).normd();
float PointCoordinateType
Type of the coordinates of a (N-D) point.
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
CC_FILE_ERROR
Typical I/O filter errors.
@ CC_FERR_BAD_ENTITY_TYPE
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
virtual bool canSave(CV_CLASS_ENUM type, bool &multiple, bool &exclusive) const override
Returns whether this I/O filter can save the specified type of entity.
virtual CC_FILE_ERROR saveToFile(ccHObject *entity, const QString &filename, const SaveParameters ¶meters) override
Saves an entity (or a group of) to a file.
Hierarchical CLOUDVIEWER Object.
virtual QString getName() const
Returns object name.
bool isA(CV_CLASS_ENUM type) const
CCVector3d toGlobal3d(const Vector3Tpl< T > &Plocal) const
Returns the point back-projected into the original coordinates system.
bool isShifted() const
Returns whether the cloud is shifted or not.
unsigned size() const override
Returns the number of points.
const CCVector3 * getPoint(unsigned index) const override
Returns the ith point.
QTextStream & endl(QTextStream &stream)
Generic saving parameters.