65 bool updateZoom =
false,
66 bool autoExpandDBTree =
true,
67 bool checkDimensions =
false,
68 bool autoRedraw =
true) = 0;
147 virtual void refreshAll(
bool only2D =
false,
bool forceRedraw =
true) = 0;
148 virtual void redrawAll(
bool only2D =
false,
bool forceRedraw =
true) {
159 bool forceRedraw =
true) = 0;
162 bool forceRedraw =
true) = 0;
165 bool forceRedraw =
true) = 0;
198 QString xAxisLabel) = 0;
CC_VIEW_ORIENTATION
View orientation.
Color scales manager/container.
Hierarchical CLOUDVIEWER Object.
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Generic overlay dialog interface.
Point/triangle picking hub.
QSharedPointer< ccUniqueIDGenerator > Shared
Shared type.
Main application interface (for plugins)
virtual void updateUI()=0
virtual ccHObject * dbRootObject()=0
Returns DB root (as a ccHObject)
virtual void toggleActiveWindowCenteredPerspective()=0
virtual void setGlobalZoom()=0
virtual void disableAll()=0
Disables all windows.
virtual QMainWindow * getMainWindow()=0
Returns main window.
virtual QWidget * getActiveWindow()=0
virtual void freezeUI(bool state)=0
Freezes/unfreezes UI.
bool haveSelection() const
Checks if we have any selections.
virtual void refreshSelected(bool only2D=false, bool forceRedraw=true)=0
ConsoleMessageLevel
Console message level (see dispToConsole)
virtual void setView(CC_VIEW_ORIENTATION view)=0
virtual ~ecvMainAppInterface()=default
virtual void decreasePointSize()=0
virtual void updateOverlayDialogsPlacement()=0
Forces the update of all registered MDI 'overlay' dialogs.
virtual void enableAll()=0
Enables all windows.
virtual void toggle3DView(bool state)=0
virtual void refreshAll(bool only2D=false, bool forceRedraw=true)=0
Redraws all GL windows that have the 'refresh' flag on.
virtual void increasePointSize()=0
virtual void toggleActiveWindowViewerBasedPerspective()=0
virtual const ccHObject::Container & getSelectedEntities() const =0
Returns currently selected entities ("read only")
virtual void zoomOnEntities(ccHObject *obj)=0
virtual void refreshObject(ccHObject *obj, bool only2D=false, bool forceRedraw=true)=0
virtual void putObjectBackIntoDBTree(ccHObject *obj, const ccHObjectContext &context)=0
Adds back object to DB tree.
bool haveOneSelection() const
Checks if we have exactly one selection.
virtual void setSelectedInDB(ccHObject *obj, bool selected)=0
Selects or unselects an entity (in db tree)
virtual ccHObject * loadFile(QString filename, bool silent)=0
Attempts to load a file.
virtual void addToDB(ccHObject *obj, bool updateZoom=false, bool autoExpandDBTree=true, bool checkDimensions=false, bool autoRedraw=true)=0
virtual void spawnHistogramDialog(const std::vector< unsigned > &histoValues, double minVal, double maxVal, QString title, QString xAxisLabel)=0
virtual void resetSelectedBBox()=0
virtual void dispToConsole(QString message, ConsoleMessageLevel level=STD_CONSOLE_MESSAGE)=0
virtual void toggleExclusiveFullScreen(bool state)=0
virtual ccUniqueIDGenerator::Shared getUniqueIDGenerator()=0
Returns the unique ID generator.
virtual void zoomOnSelectedEntities()=0
virtual ccHObjectContext removeObjectTemporarilyFromDBTree(ccHObject *obj)=0
Removes object temporarily from DB tree.
virtual void removeFromDB(ccHObject *obj, bool autoDelete=true)=0
Removes an entity from main db tree.
virtual void refreshObjects(ccHObject::Container objs, bool only2D=false, bool forceRedraw=true)=0
virtual ccColorScalesManager * getColorScalesManager()=0
Returns color scale manager (unique instance)
virtual ccPickingHub * pickingHub()
virtual void redrawAll(bool only2D=false, bool forceRedraw=true)
virtual void registerOverlayDialog(ccOverlayDialog *dlg, Qt::Corner pos)=0
Registers a MDI area 'overlay' dialog.
virtual void addWidgetToQMdiArea(QWidget *viewWidget)=0
virtual void forceConsoleDisplay()=0
Forces display of console widget.
virtual void unregisterOverlayDialog(ccOverlayDialog *dlg)=0
Unregisters a MDI area 'overlay' dialog.
Backup "context" for an object.