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

Public Member Functions

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

Public Attributes

 actorControlIndex
 
 actorControlList
 
 actorFrame
 
 appname
 
 destroyCallBack
 
 frameHeight
 
 fToggleAll
 
 id
 
 lastT
 
 loopButton
 
 loopVar
 
 menuFrame
 
 play
 
 playButton
 
 playList
 
 session
 
 stopButton
 
 toEndButton
 
 toNextFrameButton
 
 toPreviousFrameButton
 
 toStartButton
 
- Public Attributes inherited from AppShell
 about
 
 appname
 
 appversion
 
 balloonState
 
 contactemail
 
 contactname
 
 contactphone
 
 copyright
 
 dataArea
 
 frameHeight
 
 frameWidth
 
 id
 
 menuBar
 
 menuFrame
 
 onDestroy
 
 parent
 
 toggleBalloonVar
 
 usecommandarea
 
 usestatusarea
 
 variableDict
 
 widgetDict
 

Static Public Attributes

str appname = 'Anim Panel'
 
int frameHeight = 250
 
int frameWidth = 675
 
int index = 0
 
int usecommandarea = 0
 
int usestatusarea = 0
 
- Static Public Attributes inherited from AppShell
str appname = 'Generic Application Frame'
 
str appversion = '1.0'
 
str balloonState = 'none'
 
str contactemail = 'Mark.Mine@disney.com'
 
str contactname = 'Mark R. Mine'
 
str 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
 accept_once = acceptOnce
 
 add_task = addTask
 
 detect_leaks = detectLeaks
 
 do_method_later = doMethodLater
 
 get_all_accepting = getAllAccepting
 
 ignore_all = ignoreAll
 
 is_accepting = isAccepting
 
 is_ignoring = isIgnoring
 
 remove_all_tasks = removeAllTasks
 
 remove_task = removeTask
 

Additional Inherited Members

- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 
- Protected Attributes inherited from AppShell
 _hull
 
- Protected Attributes inherited from DirectObject
 _taskList
 

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from AppShell.

Member Function Documentation

◆ clearActorControls()

clearActorControls ( self)

◆ createActorControls()

createActorControls ( self)

◆ createInterface()

createInterface ( self)

Reimplemented from AppShell.

◆ destroy()

destroy ( self)

◆ disableActorControlAt()

disableActorControlAt ( self,
index )

◆ disableActorControls()

disableActorControls ( self)

◆ displayFrameCounts()

displayFrameCounts ( self)

◆ displaySeconds()

displaySeconds ( self)

◆ enableActorControlAt()

enableActorControlAt ( self,
index )

◆ enableActorControls()

enableActorControls ( self)

◆ getActorControlAt()

getActorControlAt ( self,
index )

◆ loadAnim()

loadAnim ( self)

◆ nextFrame()

nextFrame ( self)

◆ play()

play ( self,
task )

◆ playActorControls()

playActorControls ( self)

◆ previousFrame()

previousFrame ( self)

◆ resetAllToEnd()

resetAllToEnd ( self)

◆ resetAllToZero()

resetAllToZero ( self)

◆ setActors()

setActors ( self)

◆ setDestroyCallBack()

setDestroyCallBack ( self,
callBack )

◆ stopActorControls()

stopActorControls ( self)

◆ toggleAllControls()

toggleAllControls ( self)

Member Data Documentation

◆ actorControlIndex

actorControlIndex

◆ actorControlList

actorControlList

◆ actorFrame

actorFrame

◆ appname [1/2]

str appname = 'Anim Panel'
static

◆ appname [2/2]

appname

◆ 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

◆ menuFrame

menuFrame

◆ play

play

◆ 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