10 #include <ui_qCanupo2DViewDialog.h>
Set of (core) point descriptors.
Hierarchical CLOUDVIEWER Object.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Main application interface (for plugins)
CANUPO plugin's 2D view dialog.
void removePoint(int, int)
Classifier m_classifier
Associated classifier.
bool m_classifierSaved
Whether the classifier has been saved (at least once)
virtual ~qCanupo2DViewDialog()
Destructor.
ccPointCloud * m_cloud
Associated cloud.
void reset()
Resets display.
const CorePointDescSet * m_evaluationDescriptors
bool trainClassifier()
Trains the classifier (with the current number of scales!)
const Classifier & getClassifier()
Returns classifier.
void setPickingRadius(int radius)
Sets picking radius (for polyline vertices)
const CorePointDescSet * m_descriptors1
CCVector3 getClickPos(int x, int y) const
Returns the click position in 3D.
void updateScalesList(bool firstTime)
Updates the list of active scales.
void updateClassifierPath(Classifier &classifier) const
Updates classifier path with the currently displayed polyline.
void addOrSelectPoint(int, int)
const CorePointDescSet * m_descriptors2
qCanupo2DViewDialog(const CorePointDescSet *descriptors1, const CorePointDescSet *descriptors2, QString cloud1Name, QString cloud2Name, int class1=1, int class2=2, const CorePointDescSet *evaluationDescriptors=0, ecvMainAppInterface *app=0)
Default constructor.
void computeStatistics()
Computes statistics with the current classifier.
int m_pickingRadius
Picking radius.
void moveSelectedPoint(int, int, Qt::MouseButtons)
void resetBoundary()
Updates the boundary representation.
void getActiveScales(std::vector< float > &scales) const
Returns the list of active scales.
int m_selectedPointIndex
Currently selected polyline point.
void addObject(ccHObject *obj)
Adds a custom object to the 2D view.
ecvMainAppInterface * m_app
Gives access to the application (data-base, UI, etc.)
void updateZoom()
Updates zoom.
void onScalesCountSpinBoxChanged(int)
ccPointCloud * m_polyVertices
Associated polyline vertices.
ccPolyline * m_poly
Associated polyline.
int getClosestVertex(int x, int y, CCVector3 &P) const
Returns closest vertex.