Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AnimPanel Class Reference
Inheritance diagram for AnimPanel:
AppShell DirectObject

Public Member Functions

def __init__ (self, aList=[], parent=None, session=None, **kw)
 
def clearActorControls (self)
 
def createActorControls (self)
 
def createInterface (self)
 
def destroy (self)
 
def disableActorControlAt (self, index)
 
def disableActorControls (self)
 
def displayFrameCounts (self)
 
def displaySeconds (self)
 
def enableActorControlAt (self, index)
 
def enableActorControls (self)
 
def getActorControlAt (self, index)
 
def loadAnim (self)
 
def nextFrame (self)
 
def play (self, task)
 
def playActorControls (self)
 
def previousFrame (self)
 
def resetAllToEnd (self)
 
def resetAllToZero (self)
 
def setActors (self)
 
def setDestroyCallBack (self, callBack)
 
def stopActorControls (self)
 
def toggleAllControls (self)
 
- Public Member Functions inherited from AppShell
def __init__ (self, parent=None, **kw)
 
def addVariable (self, category, text, variable)
 
def addWidget (self, category, text, widget)
 WIDGET UTILITY FUNCTIONS ##. More...
 
def alignbuttons (self)
 
def appInit (self)
 USER METHODS ### To be overridden. More...
 
def balloon (self)
 
def bind (self, child, balloonHelpMsg, statusHelpMsg=None)
 
def buttonAdd (self, buttonName, helpMessage=None, statusMessage=None, **kw)
 
def buttonBox (self)
 
def createMenuBar (self)
 
def createWidget (self, parent, category, text, widgetClass, help, command, side, fill, expand, kw)
 
def getVariable (self, category, text)
 
def getWidget (self, category, text)
 
def interior (self)
 
def messageBar (self)
 
def newCreateButton (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateCheckbutton (self, parent, category, text, help='', command=None, initialState=0, anchor=W, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateColorEntry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateComboBox (self, parent, category, text, help='', command=None, items=[], state=DISABLED, history=0, labelpos=W, label_anchor=W, label_width=16, entry_width=16, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateDial (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateEntryScale (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateFloater (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateLabeledEntry (self, parent, category, text, help='', command=None, value='', width=12, relief=SUNKEN, side=LEFT, fill=X, expand=0)
 
def newCreateOptionMenu (self, parent, category, text, help='', command=None, items=[], labelpos=W, label_anchor=W, label_width=16, menu_tearoff=1, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateRadiobutton (self, parent, category, text, variable, value, command=None, help='', anchor=W, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateSider (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateVector2Entry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateVector3Entry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def onDestroy (self, event)
 
def quit (self)
 
def showAbout (self)
 
def toggleBalloon (self)
 
def transformRGB (self, rgb, max=1.0)
 
def updateProgress (self, newValue=0, newMax=0)
 
- Public Member Functions inherited from DirectObject
def __init__ (self)
 
def accept (self, event, method, extraArgs=[])
 
def acceptOnce (self, event, method, extraArgs=[])
 
def addTask (self, *args, **kwargs)
 
def detectLeaks (self)
 
def doMethodLater (self, *args, **kwargs)
 
def getAllAccepting (self)
 
def ignore (self, event)
 
def ignoreAll (self)
 
def isAccepting (self, event)
 
def isIgnoring (self, event)
 
def removeAllTasks (self)
 
def removeTask (self, taskOrName)
 

Public Attributes

 actorControlIndex
 
 actorControlList
 
 actorFrame
 
 destroyCallBack
 
 frameHeight
 
 fToggleAll
 
 id
 
 lastT
 
 loopButton
 
 loopVar
 
 playButton
 
 playList
 
 session
 
 stopButton
 
 toEndButton
 
 toNextFrameButton
 
 toPreviousFrameButton
 
 toStartButton
 
- Public Attributes inherited from AppShell
 about
 
 balloonState
 
 dataArea
 
 id
 
 menuBar
 
 menuFrame
 
 parent
 
 toggleBalloonVar
 
 variableDict
 
 widgetDict
 

Static Public Attributes

string appname = 'Anim Panel'
 
int frameHeight = 250
 
int frameWidth = 675
 
int index = 0
 
int usecommandarea = 0
 
int usestatusarea = 0
 
- Static Public Attributes inherited from AppShell
string appname = 'Generic Application Frame'
 
string appversion = '1.0'
 
string balloonState = 'none'
 
string contactemail = 'Mark.Mine@disney.com'
 
string contactname = 'Mark R. Mine'
 
string contactphone = '(818) 544-2921'
 
tuple copyright
 
int frameHeight = 320
 
int frameWidth = 450
 
int padx = 5
 
int pady = 5
 
int panelCount = 0
 
int usecommandarea = 0
 
int usestatusarea = 0
 
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
 
def add_task = addTask
 
def detect_leaks = detectLeaks
 
def do_method_later = doMethodLater
 
def get_all_accepting = getAllAccepting
 
def ignore_all = ignoreAll
 
def is_accepting = isAccepting
 
def is_ignoring = isIgnoring
 
def remove_all_tasks = removeAllTasks
 
def remove_task = removeTask
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  aList = [],
  parent = None,
  session = None,
**  kw 
)

Member Function Documentation

◆ clearActorControls()

def clearActorControls (   self)

◆ createActorControls()

def createActorControls (   self)

◆ createInterface()

def createInterface (   self)

Reimplemented from AppShell.

◆ destroy()

def destroy (   self)

◆ disableActorControlAt()

def disableActorControlAt (   self,
  index 
)

◆ disableActorControls()

def disableActorControls (   self)

◆ displayFrameCounts()

def displayFrameCounts (   self)

◆ displaySeconds()

def displaySeconds (   self)

◆ enableActorControlAt()

def enableActorControlAt (   self,
  index 
)

◆ enableActorControls()

def enableActorControls (   self)

◆ getActorControlAt()

def getActorControlAt (   self,
  index 
)

◆ loadAnim()

def loadAnim (   self)

◆ nextFrame()

def nextFrame (   self)

◆ play()

def play (   self,
  task 
)

◆ playActorControls()

def playActorControls (   self)

◆ previousFrame()

def previousFrame (   self)

◆ resetAllToEnd()

def resetAllToEnd (   self)

◆ resetAllToZero()

def resetAllToZero (   self)

◆ setActors()

def setActors (   self)

◆ setDestroyCallBack()

def setDestroyCallBack (   self,
  callBack 
)

◆ stopActorControls()

def stopActorControls (   self)

◆ toggleAllControls()

def toggleAllControls (   self)

Member Data Documentation

◆ actorControlIndex

actorControlIndex

◆ actorControlList

actorControlList

◆ actorFrame

actorFrame

◆ appname

string appname = 'Anim Panel'
static

◆ destroyCallBack

destroyCallBack

◆ frameHeight [1/2]

int frameHeight = 250
static

◆ frameHeight [2/2]

frameHeight

◆ frameWidth

int frameWidth = 675
static

◆ fToggleAll

fToggleAll

◆ id

id

◆ index

int index = 0
static

◆ lastT

lastT

◆ loopButton

loopButton

◆ loopVar

loopVar

◆ playButton

playButton

◆ playList

playList

◆ session

session

◆ stopButton

stopButton

◆ toEndButton

toEndButton

◆ toNextFrameButton

toNextFrameButton

◆ toPreviousFrameButton

toPreviousFrameButton

◆ toStartButton

toStartButton

◆ usecommandarea

int usecommandarea = 0
static

◆ usestatusarea

int usestatusarea = 0
static