◆ Connection
◆ NodeMap
◆ Pointer
◆ LinkInfo()
References draftgeoutils.faces::bind(), childSensor, childSensorCB(), connChangeIcon, Gui::ViewProviderDocumentObject::forceUpdate(), App::DocumentObject::getFullName(), Gui::ViewProviderDocumentObject::getObject(), pcLinked, sensor, sensorCB(), Gui::ViewProvider::signalChangeIcon, slotChangeIcon(), switchSensor, switchSensorCB(), transformSensor, and transformSensorCB().
Referenced by get().
◆ ~LinkInfo()
Gui::LinkInfo::~LinkInfo |
( |
| ) |
|
◆ addref()
void Gui::LinkInfo::addref |
( |
| ) |
|
◆ checkName()
bool Gui::LinkInfo::checkName |
( |
const char * |
name | ) |
const |
◆ checkSubname()
static const char * Gui::LinkInfo::checkSubname |
( |
App::DocumentObject * |
obj, |
|
|
const char * |
subname |
|
) |
| |
|
static |
◆ childSensorCB()
static void Gui::LinkInfo::childSensorCB |
( |
void * |
data, |
|
|
SoSensor * |
|
|
) |
| |
|
static |
◆ detach()
void Gui::LinkInfo::detach |
( |
bool |
unlink | ) |
|
References childSensor, Gui::coinRemoveAllChildren(), connChangeIcon, getLinkedNameSafe(), links, pcChildGroup, pcLinked, pcLinkedSwitch, pcSnapshots, pcSwitches, sensor, switchSensor, and transformSensor.
Referenced by release().
◆ get() [1/2]
◆ get() [2/2]
◆ getDetail()
bool Gui::LinkInfo::getDetail |
( |
bool |
checkname, |
|
|
int |
type, |
|
|
const char * |
subname, |
|
|
SoDetail *& |
det, |
|
|
SoFullPath * |
path |
|
) |
| const |
References checkSubname(), Gui::ViewProvider::getChildRoot(), Gui::ViewProviderDocumentObject::getDetailPath(), Gui::ViewProviderDocumentObject::getObject(), Gui::Application::getViewProvider(), Gui::Application::Instance, isLinked(), Data::ComplexGeoData::isMappedElement(), nodeMap, pcChildGroup, pcLinked, pcSnapshots, pcSwitches, Gui::LinkView::SnapshotChild, and Gui::LinkView::SnapshotVisible.
◆ getDocName()
const char * Gui::LinkInfo::getDocName |
( |
| ) |
const |
◆ getElementPicked()
bool Gui::LinkInfo::getElementPicked |
( |
bool |
addname, |
|
|
int |
type, |
|
|
const SoPickedPoint * |
pp, |
|
|
std::ostream & |
str |
|
) |
| const |
◆ getIcon()
QIcon Gui::LinkInfo::getIcon |
( |
QPixmap |
px | ) |
|
◆ getLinkedLabel()
const char * Gui::LinkInfo::getLinkedLabel |
( |
| ) |
const |
◆ getLinkedName()
const char * Gui::LinkInfo::getLinkedName |
( |
| ) |
const |
◆ getLinkedNameSafe()
const char * Gui::LinkInfo::getLinkedNameSafe |
( |
| ) |
const |
◆ getSnapshot()
References Gui::coinRemoveAllChildren(), Gui::ViewProvider::getChildRoot(), Gui::ViewProvider::getModeSwitch(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Gui::ViewProvider::getRoot(), Gui::ViewProvider::getTransformNode(), Gui::ViewParams::instance(), isLinked(), pcChildGroup, pcLinked, pcLinkedSwitch, pcSnapshots, pcSwitches, sensor, Gui::LinkView::SnapshotMax, Gui::LinkView::SnapshotTransform, switchSensor, transformSensor, update(), and updateSwitch().
Referenced by transformSensorCB(), and update().
◆ getView()
◆ isLinked()
bool Gui::LinkInfo::isLinked |
( |
| ) |
const |
References App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), and pcLinked.
Referenced by checkName(), getDetail(), getElementPicked(), getIcon(), getLinkedNameSafe(), getSnapshot(), isVisible(), setVisible(), slotChangeIcon(), update(), updateChildren(), and updateSwitch().
◆ isVisible()
bool Gui::LinkInfo::isVisible |
( |
| ) |
const |
◆ release()
void Gui::LinkInfo::release |
( |
| ) |
|
◆ remove()
void Gui::LinkInfo::remove |
( |
LinkOwner * |
owner | ) |
|
◆ sensorCB()
static void Gui::LinkInfo::sensorCB |
( |
void * |
data, |
|
|
SoSensor * |
|
|
) |
| |
|
static |
◆ setVisible()
void Gui::LinkInfo::setVisible |
( |
bool |
visible | ) |
|
◆ slotChangeIcon()
void Gui::LinkInfo::slotChangeIcon |
( |
| ) |
|
◆ switchSensorCB()
static void Gui::LinkInfo::switchSensorCB |
( |
void * |
data, |
|
|
SoSensor * |
|
|
) |
| |
|
static |
◆ transformSensorCB()
static void Gui::LinkInfo::transformSensorCB |
( |
void * |
data, |
|
|
SoSensor * |
|
|
) |
| |
|
static |
◆ update()
void Gui::LinkInfo::update |
( |
| ) |
|
References getSnapshot(), isLinked(), Gui::ViewProvider::isRestoring(), pcLinked, pcSnapshots, and updateChildren().
Referenced by ArchStructure.CommandStructuralSystem::Activated(), ArchAxisSystem.AxisSystemTaskPanel::addElement(), ArchComponent.ComponentTaskPanel::addElement(), ArchSectionPlane.SectionPlaneTaskPanel::addElement(), DraftGui.FacebinderTaskPanel::addElement(), femtaskpanels.task_result_mechanical._TaskPanel::calculate(), Spreadsheet_legacy.SpreadsheetView::changeCell(), draftguitools.gui_edit.Edit::endEditing(), getSnapshot(), draftguitools.gui_trackers.boxTracker::height(), draftguitools.gui_trackers.rectangleTracker::p3(), Plot.Plot::plot(), Spreadsheet_legacy.SpreadsheetView::recompute(), ArchAxisSystem.AxisSystemTaskPanel::removeElement(), ArchComponent.ComponentTaskPanel::removeElement(), ArchSectionPlane.SectionPlaneTaskPanel::removeElement(), DraftGui.FacebinderTaskPanel::removeElement(), draftguitools.gui_trackers.gridTracker::reset(), ArchNesting.Nester::run(), sensorCB(), draftguitools.gui_trackers.gridTracker::setMainlines(), draftguitools.gui_trackers.gridTracker::setSize(), draftguitools.gui_trackers.gridTracker::setSpacing(), and draftguitools.gui_edit_arch_objects.ArchWallGuiTools::update_object_from_edit_points().
◆ updateChildren()
void Gui::LinkInfo::updateChildren |
( |
| ) |
|
References childSensor, Gui::ViewProvider::claimChildren3D(), Gui::coinRemoveAllChildren(), get(), Gui::ViewProvider::getChildRoot(), isLinked(), nodeMap, pcChildGroup, pcLinked, and Gui::LinkView::SnapshotChild.
Referenced by childSensorCB(), and update().
◆ updateData()
◆ updateSwitch()
void Gui::LinkInfo::updateSwitch |
( |
SoSwitch * |
node = nullptr | ) |
|
◆ intrusive_ptr_add_ref
void intrusive_ptr_add_ref |
( |
LinkInfo * |
px | ) |
|
|
friend |
◆ intrusive_ptr_release
void intrusive_ptr_release |
( |
LinkInfo * |
px | ) |
|
|
friend |
◆ childSensor
SoNodeSensor Gui::LinkInfo::childSensor |
◆ connChangeIcon
◆ iconMap
std::map<qint64, QIcon> Gui::LinkInfo::iconMap |
◆ links
◆ nodeMap
◆ pcChildGroup
◆ pcLinked
Referenced by detach(), getDetail(), getDocName(), getElementPicked(), getIcon(), getLinkedLabel(), getLinkedName(), getSnapshot(), isLinked(), LinkInfo(), release(), setVisible(), update(), updateChildren(), and updateSwitch().
◆ pcLinkedSwitch
CoinPtr<SoSwitch> Gui::LinkInfo::pcLinkedSwitch |
◆ pcSnapshots
◆ pcSwitches
◆ ref
std::atomic<int> Gui::LinkInfo::ref |
◆ sensor
SoNodeSensor Gui::LinkInfo::sensor |
◆ switchSensor
SoNodeSensor Gui::LinkInfo::switchSensor |
◆ transformSensor
SoNodeSensor Gui::LinkInfo::transformSensor |
The documentation for this class was generated from the following file:
- FreeCAD/src/Gui/ViewProviderLink.cpp