11 #include <QXmlStreamWriter>
39 Q_PLUGIN_METADATA(IID
"ecvcorp.cloudviewer.plugin.ccCompass" FILE
44 explicit ccCompass(QObject* parent =
nullptr);
50 virtual void stop()
override {
58 virtual QList<QAction*> getActions()
override;
173 std::vector<int>* originals,
174 std::vector<ccHObject*>* replacements);
212 const QString& parentName = QString());
215 const QString& parentName = QString());
219 const QString& parentName = QString(),
233 QXmlStreamWriter* out);
void toggleStipple(bool checked)
void cleanupBeforeToolChange(bool autoRestartPicking=true)
void addGeoObject(bool singleSurface=false)
virtual bool eventFilter(QObject *obj, QEvent *event) override
void estimateStructureNormals()
ccFitPlaneTool * m_fitPlaneTool
void recurseStipple(ccHObject *object, bool checked)
bool madeByMe(ccHObject *object)
void pointPicked(ccHObject *entity, unsigned itemIdx, int x, int y, const CCVector3 &P)
void toggleLabels(bool checked)
bool stopMeasuring(bool finalStop=false)
int writeToXML(const QString &filename)
ccHObject * getInsertPoint()
void distributeSelection()
ccLineationTool * m_lineationTool
void recalculateFitPlanes()
ccTopologyTool * m_topologyTool
void recurseLabels(ccHObject *object, bool checked)
void hideAllPointClouds(ccHObject *o)
int writeObjectXML(ccHObject *object, QXmlStreamWriter *out)
std::vector< int > m_hiddenObjects
void recurseNormals(ccHObject *object, bool checked)
int writeTracesSVG(ccHObject *object, QTextStream *out, int height, float zoom)
void toggleNormals(bool checked)
ccGeoObject * m_geoObject
int writeLineations(ccHObject *object, QTextStream *out, const QString &parentName=QString(), bool thickness=false)
void convertToPointCloud()
ccThicknessTool * m_thicknessTool
int writeTraces(ccHObject *object, QTextStream *out, const QString &parentName=QString())
ccPinchNodeTool * m_pinchNodeTool
QString m_lastGeoObjectName
virtual void onItemPicked(const ccPickingListener::PickedItem &pi) override
ccTraceTool * m_traceTool
void fitPlaneToGeoObject()
QMainWindow * m_main_window
void recalculateSelectedTraces()
int writePlanes(ccHObject *object, QTextStream *out, const QString &parentName=QString())
Hierarchical CLOUDVIEWER Object.
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Point/triangle picking listener interface.
Standard ECV plugin interface.
virtual void stop()
Stops the plugin.
Standard ECV plugin interface.