10 #include <ui_sfArithmeticsDlg.h>
17 public Ui::SFArithmeticsDlg {
58 QString sf2 = QString());
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
int getSF1Index()
Returns first selected SF index.
static Operation GetOperationByName(QString name)
Returns the operation enumerator based on its name.
Operation getOperation() const
Returns selected operation.
QString getOperationName(QString sf1, QString sf2=QString()) const
Returns selected operation name.
void onOperationIndexChanged(int index)
Called when the operation combo-box is modified.
int getSF2Index()
Returns second selected SF index.
static bool Apply(ccPointCloud *cloud, Operation op, int sf1Idx, bool inplace, SF2 *sf2=0, QWidget *parent=0)
Applies operation on a given cloud.
ccScalarFieldArithmeticsDlg(ccPointCloud *cloud, QWidget *parent=0)
Default constructor.
Operation
Arithmetic operations.
void onSF2IndexChanged(int index)
Called when the SF2 combo-box is modified.
bool apply(ccPointCloud *cloud)
Applies operation on a given cloud.
static QString GetOperationName(Operation op, QString sf1, QString sf2=QString())
Returns operation name.