Public Member Functions | |
def | byTag (self, tag) |
def | dissolve (self) |
def | getSplitSequence (self, tv) |
def | insert (self, tv, index=None) |
def | purge_dead (self) |
def | rebuild_index (self, start=0) |
def | restoreAll (self) |
def | rewindAfterSaving (self) |
def | unwindForSaving (self) |
def | value_after (self, tv, detail) |
def | withdraw (self, tv) |
Static Public Attributes | |
document = None | |
index_LUT = None | |
stack = None | |
Member Function Documentation
◆ byTag()
def Mod.Show.TVStack.TVStack.byTag | ( | self, | |
tag | |||
) |
References Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ dissolve()
def Mod.Show.TVStack.TVStack.dissolve | ( | self | ) |
silently cleans all TVs, so that they won't restore.
References Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ getSplitSequence()
def Mod.Show.TVStack.TVStack.getSplitSequence | ( | self, | |
tv | |||
) |
getSplitSequence(tv): returns (list_before, list_after), neither list includes tv.
References Mod.Show.TVStack.TVStack.index_LUT, Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ insert()
def Mod.Show.TVStack.TVStack.insert | ( | self, | |
tv, | |||
index = None |
|||
) |
References Mod.Show.TVStack.TVStack._destruction(), Mod.Show.TVStack.TVStack.index_LUT, Mod.Show.TVStack.TVStack.rebuild_index(), Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ purge_dead()
def Mod.Show.TVStack.TVStack.purge_dead | ( | self | ) |
removes dead TV instances from the stack
References Mod.Show.TVStack.TVStack.rebuild_index(), Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ rebuild_index()
def Mod.Show.TVStack.TVStack.rebuild_index | ( | self, | |
start = 0 |
|||
) |
References Mod.Show.TVStack.TVStack.index_LUT, Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
Referenced by Mod.Show.TVStack.TVStack.insert(), Mod.Show.TVStack.TVStack.purge_dead(), and Mod.Show.TVStack.TVStack.withdraw().
◆ restoreAll()
def Mod.Show.TVStack.TVStack.restoreAll | ( | self | ) |
References Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ rewindAfterSaving()
def Mod.Show.TVStack.TVStack.rewindAfterSaving | ( | self | ) |
References Mod.Show.TVStack.TVStack._rewind_tv.
Referenced by Mod.Show.TVStack.TVStack.unwindForSaving().
◆ unwindForSaving()
def Mod.Show.TVStack.TVStack.unwindForSaving | ( | self | ) |
References Mod.Show.TVStack.TVStack._rewind_tv, Mod.Show.TVStack.TVStack.document, femtest.app.test_material.TestMaterialUnits.document, femtest.app.test_result.TestResult.document, femtest.app.test_mesh.TestMeshCommon.document, femsolver.writerbase.FemInputWriter.document, femtest.app.test_common.TestFemCommon.document, femtest.app.test_object.TestObjectCreate.document, femtest.app.test_solverframework.TestSolverFrameWork.document, femtest.app.test_ccxtools.TestCcxTools.document, PartGui::Mirroring.document, Gui::MergeDocuments.document, PartGui::LoftWidget::Private.document, Import::ImpExpDxfRead.document, PartGui::SweepWidget::Private.document, Gui::DocumentT.document, femtest.app.test_open.TestObjectOpen.document, femtest.gui.test_open.TestObjectOpen.document, Mod.Show.mTempoVis.TempoVis.document, femtest.app.test_femimport.TestObjectExistance.document, App::DocumentT.document, PartGui::DlgExtrusion.document, MeshPartGui::Tessellation.document, DraftUtils::DraftDxfRead.document, Gui::ViewProviderT.document, femtest.app.test_object.TestObjectType.document, App::DocumentObjectT.document, femtest.app.test_mesh.TestMeshEleTetra10.document, femtest.app.test_mesh.TestMeshGroups.document, Mod.Show.TVStack.TVStack.rewindAfterSaving(), Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ value_after()
def Mod.Show.TVStack.TVStack.value_after | ( | self, | |
tv, | |||
detail | |||
) |
value_after(tv, detail): returns tuple (tv1, detail), or None. Here, tv1 is the tv that remembers the value, and detail is reference to recorded data in tv1. None is returned, if no TVs in the stack after the provided one have recorded a change to this detail. tv can be None, then, the function returns the original value of the detail, or None, if the current value matches the original.
References Mod.Show.TVStack.TVStack.index_LUT, Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
◆ withdraw()
def Mod.Show.TVStack.TVStack.withdraw | ( | self, | |
tv | |||
) |
References Mod.Show.TVStack.TVStack.index_LUT, Mod.Show.TVStack.TVStack.rebuild_index(), Mod.Show.TVStack.TVStack.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, and Gui::View3DInventor.stack.
Member Data Documentation
◆ document
|
static |
Referenced by Mod.Show.TVStack.TVStack.unwindForSaving().
◆ index_LUT
|
static |
◆ stack
|
static |
Referenced by Mod.Show.TVStack.TVStack.byTag(), Mod.Show.TVStack.TVStack.dissolve(), Mod.Show.TVStack.TVStack.getSplitSequence(), Mod.Show.TVStack.TVStack.insert(), Mod.Show.TVStack.TVStack.purge_dead(), Mod.Show.TVStack.TVStack.rebuild_index(), Mod.Show.TVStack.TVStack.restoreAll(), Mod.Show.TVStack.TVStack.unwindForSaving(), Mod.Show.TVStack.TVStack.value_after(), and Mod.Show.TVStack.TVStack.withdraw().
The documentation for this class was generated from the following file:
- src/Mod/Show/TVStack.py