Code: Select all
pluginAction = new QAction("My Plugin", this);
pluginAction ->setIcon(getIcon());
// Connect signal for dialog action
connect(pluginAction , &QAction::triggered, this, [this]() {
ccPointCloud cloud;
cloud.reserve(1);
CCVector3d vec(0.0, 0.0, 0.0);
const CCVector3 pt = CCVector3::fromArray(vec.u);
// cloud.addPoint(pt);
}
Code: Select all
cloud.addPoint
Thanks,
Matt