Mod.Show.TVStack.TVStack Class Reference

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 
)

◆ 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 
)

◆ purge_dead()

def Mod.Show.TVStack.TVStack.purge_dead (   self)

◆ rebuild_index()

◆ restoreAll()

def Mod.Show.TVStack.TVStack.restoreAll (   self)

◆ rewindAfterSaving()

def Mod.Show.TVStack.TVStack.rewindAfterSaving (   self)

References Mod.Show.TVStack.TVStack._rewind_tv.

Referenced by Mod.Show.TVStack.TVStack.unwindForSaving().

◆ unwindForSaving()

◆ 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()

Member Data Documentation

◆ document

Mod.Show.TVStack.TVStack.document = None
static

◆ index_LUT

◆ stack


The documentation for this class was generated from the following file:
  • src/Mod/Show/TVStack.py