ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FBXCommand.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // ##########################################################################
11 // # #
12 // # ACloudViewer PLUGIN #
13 // # #
14 // # This program is free software; you can redistribute it and/or modify #
15 // # it under the terms of the GNU General Public License as published by #
16 // # the Free Software Foundation; version 2 of the License. #
17 // # #
18 // # This program is distributed in the hope that it will be useful, #
19 // # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21 // # GNU General Public License for more details. #
22 // # #
23 // # COPYRIGHT: ACloudViewer project #
24 // # #
25 // ##########################################################################
26 
28 
30 public:
31  FBXCommand();
32 
33  ~FBXCommand() override = default;
34 
35  bool process(ccCommandLineInterface& cmd) override;
36 };
ccPointCloud::addScalarField
int addScalarField(const char *uniqueName) override
Creates a new scalar field and registers it.
Definition: ecvPointCloud.cpp:4210
SaveScan
static bool SaveScan(ccPointCloud *cloud, e57::StructureNode &scanNode, e57::ImageFile &imf, e57::VectorNode &data3D, QString &guidStr, ecvProgressDialog *progressDlg=nullptr)
Definition: E57Filter.cpp:128
ccPointCloud::hasColors
bool hasColors() const override
Returns whether colors are enabled or not.
Definition: ecvPointCloud.cpp:1689
GetPoseInformation
static bool GetPoseInformation(const e57::StructureNode &node, ccGLMatrixd &poseMat)
Definition: E57Filter.cpp:1426
CV_TYPES::IMAGE
@ IMAGE
Definition: CVTypes.h:114
ccHObject::filterChildren
unsigned filterChildren(Container &filteredChildren, bool recursive=false, CV_CLASS_ENUM filter=CV_TYPES::OBJECT, bool strict=false) const
Collects the children corresponding to a certain pattern.
Definition: ecvHObject.cpp:611
filename
std::string filename
Definition: PointCloudIO.cpp:47
ccColorScalesManager::GREY
@ GREY
Definition: ecvColorScalesManager.h:32
DecodePrototype
static void DecodePrototype(const e57::StructureNode &scan, const e57::StructureNode &proto, E57ScanHeader &header)
Definition: E57Filter.cpp:1057
ccDrawableObject::showNormals
virtual void showNormals(bool state)
Sets normals visibility.
Definition: ecvDrawableObject.h:93
CC_FERR_CANCELED_BY_USER
@ CC_FERR_CANCELED_BY_USER
Definition: FileIOFilter.h:30
Vector3Tpl::normalize
void normalize()
Sets vector norm to unity.
Definition: CVGeom.h:428
cloudViewer::NormalizedProgress::oneStep
bool oneStep()
Increments total progress value of a single unit.
Definition: NormalizedProgress.cpp:99
PointStandardizedFieldsAvailable::normRangeMinimum
double normRangeMinimum
Definition: E57Header.h:59
PointStandardizedFieldsAvailable::rowIndexField
bool rowIndexField
Definition: E57Header.h:89
E57_NO_IMAGE
@ E57_NO_IMAGE
No image data.
Definition: E57Header.h:197
ccScalarField::computeMinAndMax
void computeMinAndMax() override
Determines the min and max values.
Definition: ecvScalarField.cpp:145
ccPointCloud::getPointColor
const ecvColor::Rgb & getPointColor(unsigned pointIndex) const override
Returns color corresponding to a given point.
Definition: ecvPointCloud.cpp:1535
Tuple3Tpl::x
Type x
Definition: CVGeom.h:137
ccGLMatrixTpl::inverse
ccGLMatrixTpl< T > inverse() const
Returns inverse transformation.
Definition: ecvGLMatrixTpl.h:1325
PointStandardizedFieldsAvailable::columnIndexMaximum
uint32_t columnIndexMaximum
Definition: E57Header.h:96
offset
int offset
Definition: FileIOFactory.cpp:135
ccImage::setAspectRatio
void setAspectRatio(float ar)
Manually sets aspect ratio.
Definition: ecvImage.h:63
qE57IO.h
CC_FERR_WRITING
@ CC_FERR_WRITING
Definition: FileIOFilter.h:25
cloudViewer::ScalarField::getValue
ScalarType & getValue(std::size_t index)
Definition: ScalarField.h:92
PointStandardizedFieldsAvailable::cartesianZField
bool cartesianZField
Definition: E57Header.h:22
ccCameraSensor::IntrinsicParameters::arrayHeight
int arrayHeight
Definition: ecvCameraSensor.h:44
E57Filter::saveToFile
CC_FILE_ERROR saveToFile(ccHObject *entity, const QString &filename, const SaveParameters &parameters) override
Saves an entity (or a group of) to a file.
Definition: E57Filter.cpp:718
PointStandardizedFieldsAvailable::isIntensityInvalidField
bool isIntensityInvalidField
Definition: E57Header.h:119
ccObject::setMetaData
void setMetaData(const QString &key, const QVariant &data)
Sets a meta-data element.
Definition: ecvObject.cpp:216
cloudViewer::BoundingBoxTpl::getDiagNorm
T getDiagNorm() const
Returns diagonal length.
Definition: BoundingBox.h:172
LoadImage
static ccHObject * LoadImage(const e57::Node &node, QString &associatedData3DGuid)
Definition: E57Filter.cpp:2024
PointStandardizedFieldsAvailable::normRangeMaximum
double normRangeMaximum
Definition: E57Header.h:64
ccGLMatrixd
Double version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:56
cloudViewer::SquareMatrixTpl< double >
PointStandardizedFieldsAvailable::sphericalInvalidStateField
bool sphericalInvalidStateField
Definition: E57Header.h:33
ccObject::setName
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
ccColorScalesManager::GetDefaultScale
static ccColorScale::Shared GetDefaultScale(DEFAULT_SCALES scale=BGYR)
Returns a pre-defined color scale (static shortcut)
Definition: ecvColorScalesManager.h:61
ccObject::isA
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
E57Filter.h
ccPointCloud::getPointNormal
const CCVector3 & getPointNormal(unsigned pointIndex) const override
Returns normal corresponding to a given point.
Definition: ecvPointCloud.cpp:1555
CVLog::Print
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
ccGLMatrixTpl::setTranslation
void setTranslation(const Vector3Tpl< float > &Tr)
Sets translation (float version)
Definition: ecvGLMatrixTpl.h:836
ccCameraSensor::IntrinsicParameters::arrayWidth
int arrayWidth
Definition: ecvCameraSensor.h:43
CV_TYPES::POINT_CLOUD
@ POINT_CLOUD
Definition: CVTypes.h:104
PinholeRepresentation::principalPointY
double principalPointY
Definition: E57Header.h:253
PointStandardizedFieldsAvailable::columnIndexField
bool columnIndexField
Definition: E57Header.h:94
QCP::isInvalidData
bool isInvalidData(double value)
Definition: qcustomplot.h:274
E57_SPHERICAL
@ E57_SPHERICAL
SphericalRepresentation for the image data.
Definition: E57Header.h:189
ccObject::getMetaData
QVariant getMetaData(const QString &key) const
Returns a given associated meta data.
Definition: ecvObject.cpp:208
LoadScan
static ccHObject * LoadScan(const e57::Node &node, QString &guidStr, ecvProgressDialog *progressDlg=nullptr)
Definition: E57Filter.cpp:1460
cloudViewer::PointCloudTpl::size
unsigned size() const override
Definition: PointCloudTpl.h:38
SphericalRepresentation
Definition: E57Header.h:229
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
ccScalarField::setSaturationStop
void setSaturationStop(ScalarType val)
Sets the value at which to stop color gradient.
Definition: ecvScalarField.cpp:275
SphericalRepresentation::pixelWidth
double pixelWidth
Definition: E57Header.h:233
ccScalarField::setSaturationStart
void setSaturationStart(ScalarType val)
Sets the value at which to start color gradient.
Definition: ecvScalarField.cpp:266
ecvColor::RgbTpl::r
Type r
Definition: ecvColorTypes.h:54
PointStandardizedFieldsAvailable::colorRedField
bool colorRedField
Definition: E57Header.h:127
PointStandardizedFieldsAvailable::cartesianXField
bool cartesianXField
Definition: E57Header.h:18
PointStandardizedFieldsAvailable::intensityField
bool intensityField
Definition: E57Header.h:117
cloudViewer::PointCloudTpl::getPointPersistentPtr
const CCVector3 * getPointPersistentPtr(unsigned index) override
Definition: PointCloudTpl.h:160
PointStandardizedFieldsAvailable::sphericalElevationField
bool sphericalElevationField
Definition: E57Header.h:31
cloudViewer::PointCloudTpl::getScalarFieldIndexByName
int getScalarFieldIndexByName(const char *name) const
Returns the index of a scalar field represented by its name.
Definition: PointCloudTpl.h:375
IntensityLimits::intensityMinimum
double intensityMinimum
Definition: E57Header.h:143
FileIOFilter::LoadParameters
Generic loading parameters.
Definition: FileIOFilter.h:51
FileIO.h
ccImage::setAssociatedSensor
void setAssociatedSensor(ccCameraSensor *sensor)
Sets associated sensor.
Definition: ecvImage.cpp:130
colorFieldType
double colorFieldType
Definition: E57Filter.cpp:36
CV_TYPES::CALIBRATED_IMAGE
@ CALIBRATED_IMAGE
Definition: CVTypes.h:115
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ccPointCloud::setCurrentDisplayedScalarField
void setCurrentDisplayedScalarField(int index)
Sets the currently displayed scalar field.
Definition: ecvPointCloud.cpp:3227
FileIOFilter
Generic file I/O filter.
Definition: FileIOFilter.h:46
E57ScanHeader::intensityLimits
IntensityLimits intensityLimits
Definition: E57Header.h:172
cloudViewer::PointCloudTpl::getScalarField
ScalarField * getScalarField(int index) const
Returns a pointer to a specific scalar field.
Definition: PointCloudTpl.h:354
cloudViewer::SquareMatrixTpl::initFromQuaternion
void initFromQuaternion(const float q[])
Creates a rotation matrix from a quaternion (float version)
Definition: SquareMatrix.h:480
PointStandardizedFieldsAvailable::returnCountField
bool returnCountField
Definition: E57Header.h:103
CameraRepresentation
Interface for E57 camera representation.
Definition: E57Header.h:204
result
core::Tensor result
Definition: VtkUtils.cpp:76
PinholeRepresentation::focalLength
double focalLength
Definition: E57Header.h:247
ecvCommandLineInterface.h
PointStandardizedFieldsAvailable::timeStampField
bool timeStampField
Definition: E57Header.h:109
s_loadParameters
static FileIOFilter::LoadParameters s_loadParameters
Definition: PlyFilter.cpp:532
E57ScanHeader::colorLimits
ColorLimits colorLimits
Definition: E57Header.h:175
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
ccCameraSensor::ComputeFovRadFromFocalMm
static float ComputeFovRadFromFocalMm(float focal_mm, float ccdSize_mm)
Helper: deduces camera f.o.v. (in radians) from focal (in mm)
Definition: ecvCameraSensor.cpp:1680
CV_CLASS_ENUM
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
PointStandardizedFieldsAvailable::pointRangeMaximum
double pointRangeMaximum
Definition: E57Header.h:42
PointStandardizedFieldsAvailable::rowIndexMaximum
uint32_t rowIndexMaximum
Definition: E57Header.h:91
PointStandardizedFieldsAvailable::isTimeStampInvalidField
bool isTimeStampInvalidField
Definition: E57Header.h:111
PinholeRepresentation::principalPointX
double principalPointX
Definition: E57Header.h:249
PointStandardizedFieldsAvailable::sphericalAzimuthField
bool sphericalAzimuthField
Definition: E57Header.h:29
ccDrawableObject::showColors
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
size
int size
Definition: FileIOFactory.cpp:130
ccGLMatrixTpl::getTranslationAsVec3D
Vector3Tpl< T > getTranslationAsVec3D() const
Returns a copy of the translation as a CCVector3.
Definition: ecvGLMatrixTpl.h:830
ccShiftedObject::getGlobalShift
virtual const CCVector3d & getGlobalShift() const
Returns the shift applied to original coordinates.
Definition: ecvShiftedObject.h:46
cloudViewer::ScalarField::getMin
ScalarType getMin() const
Returns the minimum value.
Definition: ScalarField.h:72
ccCameraSensor::IntrinsicParameters
Intrinsic parameters of the camera sensor.
Definition: ecvCameraSensor.h:27
E57Filter::E57Filter
E57Filter()
Definition: E57Filter.cpp:83
PointStandardizedFieldsAvailable::angleMinimum
double angleMinimum
Definition: E57Header.h:74
cloudViewer::ScalarField::resizeSafe
bool resizeSafe(std::size_t count, bool initNewElements=false, ScalarType valueForNewElements=0)
Resizes memory (no exception thrown)
Definition: ScalarField.cpp:81
ColorLimits::colorRedMaximum
double colorRedMaximum
Definition: E57Header.h:157
CylindricalRepresentation::principalPointY
double principalPointY
Definition: E57Header.h:268
cloudViewer::SquareMatrixTpl::toQuaternion
bool toQuaternion(double q[])
Converts rotation matrix to quaternion.
Definition: SquareMatrix.h:525
PointStandardizedFieldsAvailable::intensityScaledInteger
double intensityScaledInteger
Definition: E57Header.h:121
SphericalRepresentation::pixelHeight
double pixelHeight
Definition: E57Header.h:235
ccImage::setData
void setData(const QImage &image)
Sets image data.
Definition: ecvImage.cpp:62
Vector3Tpl< double >
ccPointCloud::reserveTheNormsTable
bool reserveTheNormsTable()
Reserves memory to store the compressed normals.
Definition: ecvPointCloud.cpp:1253
cloudViewer::ScalarField::ValidValue
static bool ValidValue(ScalarType value)
Returns whether a scalar value is valid or not.
Definition: ScalarField.h:61
ccSensor::setGraphicScale
void setGraphicScale(PointCoordinateType scale)
Sets the sensor graphic representation scale.
Definition: ecvSensor.h:125
Image2DProjection
Image2DProjection
Identifies the representation for the image data.
Definition: E57Header.h:185
cloudViewer::ScalarField::getName
const char * getName() const
Returns scalar field name.
Definition: ScalarField.h:43
FileIO::createdBy
static QString createdBy()
Definition: FileIO.cpp:38
PointStandardizedFieldsAvailable::cartesianInvalidStateField
bool cartesianInvalidStateField
Definition: E57Header.h:24
e
const double * e
Definition: essential_matrix_poly.h:10
ChildNodeToConsole
static bool ChildNodeToConsole(const e57::Node &node, const char *childName)
Definition: E57Filter.cpp:1017
ccPointCloud::addNorm
void addNorm(const CCVector3 &N)
Pushes a normal vector on stack (shortcut)
Definition: ecvPointCloud.cpp:1754
PointStandardizedFieldsAvailable::returnMaximum
uint8_t returnMaximum
Definition: E57Header.h:105
VisualReferenceRepresentation::imageWidth
int32_t imageWidth
image width (in pixels). Shall be positive
Definition: E57Header.h:221
ccImage::getAspectRatio
float getAspectRatio() const
Returns aspect ratio.
Definition: ecvImage.h:66
ecvColor::RgbTpl::g
Type g
Definition: ecvColorTypes.h:54
ccHObject::applyGLTransformation_recursive
void applyGLTransformation_recursive(const ccGLMatrix *trans=nullptr)
Applies the active OpenGL transformation to the entity (recursive)
Definition: ecvHObject.cpp:948
CC_FILE_ERROR
CC_FILE_ERROR
Typical I/O filter errors.
Definition: FileIOFilter.h:20
VisualReferenceRepresentation::imageHeight
int32_t imageHeight
image height (in pixels). Shall be positive
Definition: E57Header.h:222
ecvImage.h
E57_NO_PROJECTION
@ E57_NO_PROJECTION
No representation for the image data is present.
Definition: E57Header.h:186
ccPointCloud::reserve
bool reserve(unsigned numberOfPoints) override
Reserves memory for all the active features.
Definition: ecvPointCloud.cpp:1452
PointStandardizedFieldsAvailable::returnIndexField
bool returnIndexField
Definition: E57Header.h:101
CylindricalRepresentation
Definition: E57Header.h:261
ccShiftedObject::getOwnGlobalBB
bool getOwnGlobalBB(CCVector3d &minCorner, CCVector3d &maxCorner) override
Definition: ecvShiftedObject.cpp:64
CCShareable::release
virtual void release()
Decrease counter and deletes object when 0.
Definition: CVShareable.cpp:35
PointStandardizedFieldsAvailable::colorGreenField
bool colorGreenField
Definition: E57Header.h:129
PointStandardizedFieldsAvailable::isColorInvalidField
bool isColorInvalidField
Definition: E57Header.h:133
ecvProgressDialog
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
PointStandardizedFieldsAvailable::angleMaximum
double angleMaximum
Definition: E57Header.h:79
cloudViewer::ScalarField::getMax
ScalarType getMax() const
Returns the maximum value.
Definition: ScalarField.h:74
ccPointCloud::hasNormals
bool hasNormals() const override
Returns whether normals are enabled or not.
Definition: ecvPointCloud.cpp:1693
ecvScalarField.h
CylindricalRepresentation::radius
double radius
Definition: E57Header.h:265
ccGBLSensor
Ground-based Laser sensor.
Definition: ecvGBLSensor.h:26
ecvProgressDialog.h
FBXCommand::FBXCommand
FBXCommand()
Definition: FBXCommand.cpp:15
ColorLimits::colorBlueMaximum
double colorBlueMaximum
Definition: E57Header.h:165
VisualReferenceRepresentation
Definition: E57Header.h:214
ecvCameraSensor.h
PointStandardizedFieldsAvailable::timeMaximum
double timeMaximum
Definition: E57Header.h:113
ColorLimits::colorBlueMinimum
double colorBlueMinimum
Definition: E57Header.h:163
E57ScanHeader::pointFields
PointStandardizedFieldsAvailable pointFields
Definition: E57Header.h:178
PinholeRepresentation
Definition: E57Header.h:243
ccDrawableObject::showSF
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
ccCommandLineInterface::Command
Generic command interface.
Definition: ecvCommandLineInterface.h:130
cloudViewer::ScalarField::flagValueAsInvalid
void flagValueAsInvalid(std::size_t index)
Sets the value as 'invalid' (i.e. NAN_VALUE)
Definition: ScalarField.h:66
image
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
CC_FERR_THIRD_PARTY_LIB_EXCEPTION
@ CC_FERR_THIRD_PARTY_LIB_EXCEPTION
Definition: FileIOFilter.h:37
PointStandardizedFieldsAvailable::pointRangeMinimum
double pointRangeMinimum
Definition: E57Header.h:36
ccIOPluginInterface::FilterList
QVector< FileIOFilter::Shared > FilterList
Definition: ecvIOPluginInterface.h:22
FBXCommand::~FBXCommand
~FBXCommand() override=default
cloudViewer::SquareMatrixTpl::toGlMatrix
void toGlMatrix(float M16f[]) const
Converts a 3*3 or 4*4 matrix to an OpenGL-style float matrix (float[16])
Definition: SquareMatrix.h:601
ccDrawableObject::setVisible
virtual void setVisible(bool state)
Sets entity visibility.
Definition: ecvDrawableObject.h:40
ColorLimits::colorGreenMaximum
double colorGreenMaximum
Definition: E57Header.h:161
points
int points
Definition: FileIOFactory.cpp:144
SaveImage
void SaveImage(const ccImage *image, const QString &scanGUID, e57::ImageFile &imf, e57::VectorNode &images2D)
Definition: E57Filter.cpp:607
PointStandardizedFieldsAvailable::pointRangeScaledInteger
double pointRangeScaledInteger
Definition: E57Header.h:47
ccPointCloud::addRGBColor
void addRGBColor(const ecvColor::Rgb &C)
Pushes an RGB color on stack.
Definition: ecvPointCloud.cpp:1712
Tuple3Tpl::z
Type z
Definition: CVGeom.h:137
ccCameraSensor
Camera (projective) sensor.
Definition: ecvCameraSensor.h:24
ccSensor::setRigidTransformation
virtual void setRigidTransformation(const ccGLMatrix &mat)
Definition: ecvSensor.h:99
ccScalarField::setColorScale
void setColorScale(ccColorScale::Shared scale)
Sets associated color scale.
Definition: ecvScalarField.cpp:108
PointStandardizedFieldsAvailable::normYField
bool normYField
Definition: E57Header.h:55
ecvColor::RgbTpl::b
Type b
Definition: ecvColorTypes.h:54
NodeStructureToTree
static bool NodeStructureToTree(ccHObject *currentTreeNode, const e57::Node &currentE57Node)
Definition: E57Filter.cpp:908
PointStandardizedFieldsAvailable::normXField
bool normXField
Definition: E57Header.h:53
ccPointCloud::resize
bool resize(unsigned numberOfPoints) override
Resizes all the active features arrays.
Definition: ecvPointCloud.cpp:1476
PointStandardizedFieldsAvailable::angleScaledInteger
double angleScaledInteger
Definition: E57Header.h:84
PointStandardizedFieldsAvailable::sphericalRangeField
bool sphericalRangeField
Definition: E57Header.h:27
FileIOFilter::LoadParameters::parentWidget
QWidget * parentWidget
Parent widget (if any)
Definition: FileIOFilter.h:78
PointStandardizedFieldsAvailable::colorBlueField
bool colorBlueField
Definition: E57Header.h:131
FileIOFilter::Import
@ Import
Definition: FileIOFilter.h:302
SavePoseInformation
static void SavePoseInformation(e57::StructureNode &parentNode, const e57::ImageFile &imf, const ccGLMatrixd &poseMat)
Definition: E57Filter.cpp:101
ccCommandLineInterface
Command line interface.
Definition: ecvCommandLineInterface.h:112
ccGLMatrixTpl::getTranslation
T * getTranslation()
Retruns a pointer to internal translation.
Definition: ecvGLMatrixTpl.h:819
ColorLimits::colorGreenMinimum
double colorGreenMinimum
Definition: E57Header.h:159
ccHObject::getChildrenNumber
unsigned getChildrenNumber() const
Returns the number of children.
Definition: ecvHObject.h:312
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
E57_VISUAL
@ E57_VISUAL
VisualReferenceRepresentation for the image data.
Definition: E57Header.h:187
ccSensor::getActiveAbsoluteTransformation
bool getActiveAbsoluteTransformation(ccIndexedTransformation &trans) const
Gets currently active absolute transformation.
Definition: ecvSensor.cpp:90
E57_PNG_IMAGE
@ E57_PNG_IMAGE
PNG format image data.
Definition: E57Header.h:199
E57ScanHeader
E57 scan useful header information (minimal set for ACloudViewer only ;)
Definition: E57Header.h:170
FileIOFilter::Shared
QSharedPointer< FileIOFilter > Shared
Shared type.
Definition: FileIOFilter.h:97
FileIOFilter::SaveParameters::parentWidget
QWidget * parentWidget
Parent widget (if any)
Definition: FileIOFilter.h:93
ccPointCloud::getCurrentDisplayedScalarFieldIndex
int getCurrentDisplayedScalarFieldIndex() const
Returns the currently displayed scalar field index (or -1 if none)
Definition: ecvPointCloud.cpp:3223
cloudViewer::PointCloudTpl::getScalarFieldName
const char * getScalarFieldName(int index) const
Returns the name of a specific scalar field.
Definition: PointCloudTpl.h:365
ccCameraSensor::IntrinsicParameters::principal_point
float principal_point[2]
Definition: ecvCameraSensor.h:45
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
ecvGBLSensor.h
ecvColorScalesManager.h
FileIOFilter::SaveParameters
Generic saving parameters.
Definition: FileIOFilter.h:84
CC_FERR_MALFORMED_FILE
@ CC_FERR_MALFORMED_FILE
Definition: FileIOFilter.h:32
CC_FERR_READING
@ CC_FERR_READING
Definition: FileIOFilter.h:26
E57_CYLINDRICAL
@ E57_CYLINDRICAL
CylindricalRepresentation for the image data.
Definition: E57Header.h:190
ccCameraSensor::IntrinsicParameters::pixelSize_mm
float pixelSize_mm[2]
Definition: ecvCameraSensor.h:37
E57_PINHOLE
@ E57_PINHOLE
PinholeRepresentation for the image data.
Definition: E57Header.h:188
ecvColor::RgbTpl
RGB color structure.
Definition: ecvColorTypes.h:49
PointStandardizedFieldsAvailable::normRangeScaledInteger
double normRangeScaledInteger
Definition: E57Header.h:69
ccPointCloud::getCurrentDisplayedScalarField
ccScalarField * getCurrentDisplayedScalarField() const
Returns the currently displayed scalar (or 0 if none)
Definition: ecvPointCloud.cpp:3218
FBXCommand::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: FBXCommand.cpp:17
ccHObject::resetGLTransformationHistory_recursive
virtual void resetGLTransformationHistory_recursive()
Definition: ecvHObject.h:550
E57Header.h
ccHObject::getChild
ccHObject * getChild(unsigned childPos) const
Returns the ith child.
Definition: ecvHObject.h:325
ccShiftedObject::getGlobalScale
virtual double getGlobalScale() const
Returns the scale applied to original coordinates.
Definition: ecvShiftedObject.h:53
PointStandardizedFieldsAvailable::normZField
bool normZField
Definition: E57Header.h:57
NodeToConsole
static void NodeToConsole(const e57::Node &node)
Definition: E57Filter.cpp:971
Vector3Tpl::norm2d
double norm2d() const
Returns vector square norm (forces double precision output)
Definition: CVGeom.h:419
ccShiftedObject::setGlobalShift
virtual void setGlobalShift(double x, double y, double z)
Sets shift applied to original coordinates (information storage only)
Definition: ecvShiftedObject.h:33
ccCameraSensor::IntrinsicParameters::vFOV_rad
float vFOV_rad
Definition: ecvCameraSensor.h:40
E57_JPEG_IMAGE
@ E57_JPEG_IMAGE
JPEG format image data.
Definition: E57Header.h:198
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Tuple3Tpl::y
Type y
Definition: CVGeom.h:137
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
ccPluginInterface::registerCommands
virtual void registerCommands(ccCommandLineInterface *cmd)
Optional: registers commands (for the command line mode)
Definition: ecvPluginInterface.h:121
cloudViewer::ScalarField::setValue
void setValue(std::size_t index, ScalarType value)
Definition: ScalarField.h:96
ccGLMatrixTpl::data
T * data()
Returns a pointer to internal data.
Definition: ecvGLMatrixTpl.h:810
ccGenericPointCloud::getOwnBB
ccBBox getOwnBB(bool withGLFeatures=false) override
Returns the entity's own bounding-box.
Definition: ecvGenericPointCloud.cpp:139
cloudViewer::PointCloudTpl::addPoint
void addPoint(const CCVector3 &P)
Adds a 3D point to the database.
Definition: PointCloudTpl.h:246
PointStandardizedFieldsAvailable::cartesianYField
bool cartesianYField
Definition: E57Header.h:20
rotation
Eigen::Matrix3d rotation
Definition: VoxelGridIO.cpp:27
ColorLimits::colorRedMinimum
double colorRedMinimum
Definition: E57Header.h:155
cloudViewer::NormalizedProgress
Definition: GenericProgressCallback.h:78
PointCoordinateType
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
VisualReferenceRepresentation::imageType
Image2DType imageType
image type.
Definition: E57Header.h:218
ccHObject::getGLTransformationHistory
virtual const ccGLMatrix & getGLTransformationHistory() const
Returns the transformation 'history' matrix.
Definition: ecvHObject.h:631
Tuple3Tpl::u
Type u[3]
Definition: CVGeom.h:139
VisualReferenceRepresentation::imageSize
int64_t imageSize
size of image data in BlobNode.
Definition: E57Header.h:219
ccCameraSensor::ConvertFocalMMToPix
static float ConvertFocalMMToPix(float focal_mm, float ccdPixelSize_mm)
Helper: converts camera focal from mm to pixels.
Definition: ecvCameraSensor.cpp:1658
ColorCompType
unsigned char ColorCompType
Default color components type (R,G and B)
Definition: ecvColorTypes.h:29
E57Filter::canSave
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.
Definition: E57Filter.cpp:89
ccImage
Generic image.
Definition: ecvImage.h:19
ccHObject::addChild
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
FileIOFilter::Export
@ Export
Definition: FileIOFilter.h:303
CC_FERR_NO_ERROR
@ CC_FERR_NO_ERROR
Definition: FileIOFilter.h:21
FBXCommand
Definition: FBXCommand.h:29
E57Filter
E57 filter (relies on E57format lib)
Definition: E57Filter.h:14
E57Filter::loadFile
CC_FILE_ERROR loadFile(const QString &filename, ccHObject &container, LoadParameters &parameters) override
Loads one or more entities from a file.
Definition: E57Filter.cpp:2302
ccObject::setEnabled
virtual void setEnabled(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:102
IntensityLimits::intensityMaximum
double intensityMaximum
Definition: E57Header.h:145
CameraRepresentation::getType
virtual Image2DProjection getType()
Definition: E57Header.h:207
ccGLMatrixTpl< double >::FromString
static ccGLMatrixTpl< double > FromString(const QString &matText, bool &success)
Converts a 'text' matrix to a ccGLMatrix.
Definition: ecvGLMatrixTpl.h:477
FileIOFilter::HandleGlobalShift
static bool HandleGlobalShift(const CCVector3d &P, CCVector3d &Pshift, bool &preserveCoordinateShift, LoadParameters &loadParameters, bool useInputCoordinatesShiftIfPossible=false)
Shortcut to the ecvGlobalShiftManager mechanism specific for files.
Definition: FileIOFilter.cpp:509
Vector3Tpl< double >::fromArray
static Vector3Tpl fromArray(const int a[3])
Constructor from an int array.
Definition: CVGeom.h:268
type
char type
Definition: FileIOFactory.cpp:131
ecvPointCloud.h
cloudViewer::ScalarField::currentSize
unsigned currentSize() const
Definition: ScalarField.h:100
ccIOPluginInterface
I/O filter plugin interface.
Definition: ecvIOPluginInterface.h:20
ccCameraSensor::IntrinsicParameters::vertFocal_pix
float vertFocal_pix
Definition: ecvCameraSensor.h:35
ccScalarField
A scalar field associated to display-related parameters.
Definition: ecvScalarField.h:19
CC_FERR_NO_SAVE
@ CC_FERR_NO_SAVE
Definition: FileIOFilter.h:27
ccColorScalesManager::ABS_NORM_GREY
@ ABS_NORM_GREY
Definition: ecvColorScalesManager.h:36
ccPointCloud::reserveTheRGBTable
bool reserveTheRGBTable()
Reserves memory to store the RGB colors.
Definition: ecvPointCloud.cpp:1200
ccIndexedTransformation
Definition: ecvIndexedTransformation.h:15
name
std::string name
Definition: FileIOFactory.cpp:129
ccGLMatrixTpl::toString
QString toString(int precision=12, QChar separator=' ') const
Returns matrix as a string.
Definition: ecvGLMatrixTpl.h:502
VisualReferenceRepresentation::imageMaskSize
int64_t imageMaskSize
size of image mask data in BlobNode (if any).
Definition: E57Header.h:220