![]() |
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.
Definition at line 26 of file ccGuiPythonInstance.h.
|
explicitnoexcept |
Definition at line 76 of file ccGuiPythonInstance.cpp.
| void ccGuiPythonInstance::addToDB | ( | pybind11::object & | obj, |
| bool | updateZoom = false, |
||
| bool | autoExpandDBTree = true, |
||
| bool | checkDimensions = false, |
||
| bool | autoRedraw = true |
||
| ) |
Definition at line 125 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| ecvMainAppInterface * ccGuiPythonInstance::app | ( | ) |
Definition at line 196 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| ccHObject * ccGuiPythonInstance::dbRootObject | ( | ) |
Definition at line 162 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::disableAll | ( | ) |
Definition at line 182 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::enableAll | ( | ) |
Definition at line 177 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::freezeUI | ( | bool | state | ) |
Definition at line 192 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| QMainWindow * ccGuiPythonInstance::getMainWindow | ( | ) |
Definition at line 84 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| const ccHObject::Container & ccGuiPythonInstance::getSelectedEntities | ( | ) | const |
Definition at line 99 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| bool ccGuiPythonInstance::haveOneSelection | ( | ) | const |
Definition at line 94 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| bool ccGuiPythonInstance::haveSelection | ( | ) | const |
Definition at line 89 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| ccHObject * ccGuiPythonInstance::loadFile | ( | const char * | filename, |
| FileIOFilter::LoadParameters & | parameters | ||
| ) |
Definition at line 109 of file ccGuiPythonInstance.cpp.
References CC_FERR_NO_ERROR, filename, FileIOFilter::LoadFromFile(), result, and ThrowForFileError().
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::redrawAll | ( | bool | only2D = false | ) |
Definition at line 167 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::refreshAll | ( | bool | only2D = false | ) |
Definition at line 172 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::removeFromDB | ( | pybind11::object & | obj | ) |
Definition at line 143 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::setSelectedInDB | ( | ccHObject * | obj, |
| bool | selected | ||
| ) |
Definition at line 104 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().
| void ccGuiPythonInstance::updateUI | ( | ) |
Definition at line 187 of file ccGuiPythonInstance.cpp.
Referenced by define_ccGUIPythonInstance().