![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ccGuiPythonInstance.h>
Public Member Functions | |
| ccGuiPythonInstance (ecvMainAppInterface *app) noexcept(false) | |
| QMainWindow * | getMainWindow () |
| bool | haveSelection () const |
| bool | haveOneSelection () const |
| const ccHObject::Container & | getSelectedEntities () const |
| void | setSelectedInDB (ccHObject *obj, bool selected) |
| ccHObject * | dbRootObject () |
| void | addToDB (pybind11::object &obj, bool updateZoom=false, bool autoExpandDBTree=true, bool checkDimensions=false, bool autoRedraw=true) |
| void | removeFromDB (pybind11::object &obj) |
| void | redrawAll (bool only2D=false) |
| void | refreshAll (bool only2D=false) |
| void | enableAll () |
| void | disableAll () |
| void | updateUI () |
| void | freezeUI (bool state) |
| ccHObject * | loadFile (const char *filename, FileIOFilter::LoadParameters ¶meters) |
| ecvMainAppInterface * | app () |
This class provide methods that are made available Python scripts kind of like C++ plugins have access to a ecvMainAppInterface. Thus this class is mostly a ecvMainAppInterface with some accommodations to handle the fact that it is made to interact with python.
|
explicitnoexcept |
| void ccGuiPythonInstance::addToDB | ( | pybind11::object & | obj, |
| bool | updateZoom = false, |
||
| bool | autoExpandDBTree = true, |
||
| bool | checkDimensions = false, |
||
| bool | autoRedraw = true |
||
| ) |
Referenced by define_ccGUIPythonInstance().
| ecvMainAppInterface * ccGuiPythonInstance::app | ( | ) |
Referenced by define_ccGUIPythonInstance().
| ccHObject * ccGuiPythonInstance::dbRootObject | ( | ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::disableAll | ( | ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::enableAll | ( | ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::freezeUI | ( | bool | state | ) |
Referenced by define_ccGUIPythonInstance().
| QMainWindow * ccGuiPythonInstance::getMainWindow | ( | ) |
Referenced by define_ccGUIPythonInstance().
| const ccHObject::Container & ccGuiPythonInstance::getSelectedEntities | ( | ) | const |
Referenced by define_ccGUIPythonInstance().
| bool ccGuiPythonInstance::haveOneSelection | ( | ) | const |
Referenced by define_ccGUIPythonInstance().
| bool ccGuiPythonInstance::haveSelection | ( | ) | const |
Referenced by define_ccGUIPythonInstance().
| ccHObject * ccGuiPythonInstance::loadFile | ( | const char * | filename, |
| FileIOFilter::LoadParameters & | parameters | ||
| ) |
References CC_FERR_NO_ERROR, filename, FileIOFilter::LoadFromFile(), result, and ThrowForFileError().
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::redrawAll | ( | bool | only2D = false | ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::refreshAll | ( | bool | only2D = false | ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::removeFromDB | ( | pybind11::object & | obj | ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::setSelectedInDB | ( | ccHObject * | obj, |
| bool | selected | ||
| ) |
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::updateUI | ( | ) |
Referenced by define_ccGUIPythonInstance().