![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ecvCommandLineCommands.h>


Public Member Functions | |
| CommandRemoveSF () | |
| bool | process (ccCommandLineInterface &cmd) override |
| Main process. More... | |
| bool | removeSF (int sfIndex, ccPointCloud &pc) |
Public Member Functions inherited from ccCommandLineInterface::Command | |
| Command (const QString &name, const QString &keyword) | |
| Default constructor. More... | |
| virtual | ~Command ()=default |
Additional Inherited Members | |
Public Types inherited from ccCommandLineInterface::Command | |
| using | Shared = QSharedPointer< Command > |
| Shared type. More... | |
Public Attributes inherited from ccCommandLineInterface::Command | |
| QString | m_name |
| Command name. More... | |
| QString | m_keyword |
| Command keyword. More... | |
Definition at line 178 of file ecvCommandLineCommands.h.
| CommandRemoveSF::CommandRemoveSF | ( | ) |
Definition at line 2513 of file ecvCommandLineCommands.cpp.
|
overridevirtual |
Main process.
Implements ccCommandLineInterface::Command.
Definition at line 2533 of file ecvCommandLineCommands.cpp.
References ccCommandLineInterface::arguments(), ccCommandLineInterface::clouds(), COMMAND_REMOVE_SF, ccCommandLineInterface::error(), ccObject::isA(), ccCommandLineInterface::meshes(), CV_TYPES::POINT_CLOUD, ccCommandLineInterface::print(), removeSF(), and ccCommandLineInterface::warning().
| bool CommandRemoveSF::removeSF | ( | int | sfIndex, |
| ccPointCloud & | pc | ||
| ) |
Definition at line 2517 of file ecvCommandLineCommands.cpp.
References ccPointCloud::deleteScalarField(), ccPointCloud::getCurrentDisplayedScalarFieldIndex(), cloudViewer::PointCloudTpl< T >::getNumberOfScalarFields(), ccPointCloud::setCurrentDisplayedScalarField(), and ccDrawableObject::showSF().
Referenced by process().