Panda3D
Public Member Functions | Public Attributes | List of all members
LevelEditorUIBase Class Reference
Inheritance diagram for LevelEditorUIBase:
WxPandaShell WxAppShell LevelEditorUI

Public Member Functions

def __init__ (self, editor)
 
def bindKeyEvents (self, toBind=True)
 
def buildContextMenu (self, nodePath)
 
def createInterface (self)
 
def createMenu (self)
 
def onAnimation (self, e)
 
def onCreateCurve (self, e)
 
def onCurveAnim (self, e)
 
def onDestroy (self, evt)
 
def onDuplicate (self, evt)
 
def onEditCurve (self, e)
 
def onExportToMaya (self, evt)
 
def onGraphEditor (self, e)
 
def onGridSize (self, evt)
 
def onHotKeys (self, evt)
 
def onKeyDownEvent (self, evt)
 
def onKeyEvent (self, evt)
 
def onKeyUpEvent (self, evt)
 
def onMakeLive (self, evt)
 
def onNew (self, evt=None)
 
def onOpen (self, evt=None)
 
def onRightDown (self, evt=None)
 
def onSave (self, evt=None)
 
def onSaveAs (self, evt)
 
def onShowPandaObjects (self, evt)
 
def replaceObject (self, evt, all=False)
 
def reset (self)
 
def toggleGrid (self, evt)
 
def toggleGridSnap (self, evt)
 
def updateGrids (self, newSize, newSpacing)
 
def updateMenu (self)
 
- Public Member Functions inherited from WxPandaShell
def appInit (self)
 
def getCurrentView (self)
 
def initialize (self)
 
def onViewChange (self, evt, viewIdx)
 
def wxStep (self, task=None)
 
- Public Member Functions inherited from WxAppShell
def __init__ (self, *args, **kw)
 
def createMenuBar (self)
 
def quit (self, event=None)
 
def showAbout (self, event)
 

Public Attributes

 animUI
 
 contextMenu
 
 createCurveMenuItem
 
 currentView
 
 curveAnimMenuItem
 
 curveAnimUI
 
 curveObj
 
 editAnimMenuItem
 
 editCurveMenuItem
 
 editor
 
 graphEditorMenuItem
 
 graphEditorUI
 
 gridSizeMenuItem
 
 gridSnapMenuItem
 
 hotKeysMenuItem
 
 layerEditorUI
 
 leftBarDownNB
 
 leftBarDownPane0
 
 leftBarUpNB
 
 leftBarUpPane0
 
 leftBarUpPane1
 
 menuAnim
 
 menuCurve
 
 menuEdit
 
 menuOptions
 
 objectPaletteUI
 
 objectPropertyUI
 
 parentToSelectedMenuItem
 
 protoPaletteUI
 
 rightBarDownNB
 
 rightBarDownPane0
 
 sceneGraphUI
 
 showGridMenuItem
 
 showPandaObjectsMenuItem
 
- Public Attributes inherited from WxPandaShell
 baseFrame
 
 currentView
 
 evtLoop
 
 frontView
 
 fStartDirect
 
 leftBarDownPane
 
 leftBarUpPane
 
 leftFrame
 
 leftView
 
 mainFrame
 
 menuView
 
 oldLoop
 
 perspView
 
 perspViewMenuItem
 
 rightBarDownPane
 
 rightBarUpPane
 
 rightFrame
 
 topView
 
 viewFrame
 
 wxApp
 
- Public Attributes inherited from WxAppShell
 about
 
 menuBar
 
 menuFile
 
 menuHelp
 

Additional Inherited Members

- Static Public Attributes inherited from WxPandaShell
string appname = 'Panda3D Generic WX Frame'
 
string appversion = '1.0'
 
tuple copyright
 
int frameHeight = 600
 
int frameWidth = 800
 
dictionary MENU_TEXTS
 
- Static Public Attributes inherited from WxAppShell
string appname = 'Generic Application Frame'
 
string appversion = '1.0'
 
string balloonState = 'none'
 
string contactemail = 'Gyedo.Jeon@disney.com'
 
string contactname = 'Gyedo Jeon'
 
tuple copyright
 
int frameHeight = 320
 
int frameWidth = 450
 
int padx = 5
 
int pady = 5
 
int panelCount = 0
 
int usecommandarea = 0
 
int usestatusarea = 0
 

Detailed Description

Class for Panda3D LevelEditor 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  editor 
)

Reimplemented from WxPandaShell.

Reimplemented in LevelEditorUI.

Member Function Documentation

◆ bindKeyEvents()

def bindKeyEvents (   self,
  toBind = True 
)

◆ buildContextMenu()

def buildContextMenu (   self,
  nodePath 
)

◆ createInterface()

def createInterface (   self)

Reimplemented from WxPandaShell.

◆ createMenu()

def createMenu (   self)

Reimplemented from WxPandaShell.

◆ onAnimation()

def onAnimation (   self,
  e 
)

◆ onCreateCurve()

def onCreateCurve (   self,
  e 
)
Function to invoke curve creating, need to check previous mode

◆ onCurveAnim()

def onCurveAnim (   self,
  e 
)

◆ onDestroy()

def onDestroy (   self,
  evt 
)

Reimplemented from WxAppShell.

◆ onDuplicate()

def onDuplicate (   self,
  evt 
)

◆ onEditCurve()

def onEditCurve (   self,
  e 
)
Function to invoke curve editing and translate global information to local information. Need to check previous mode

◆ onExportToMaya()

def onExportToMaya (   self,
  evt 
)

◆ onGraphEditor()

def onGraphEditor (   self,
  e 
)

◆ onGridSize()

def onGridSize (   self,
  evt 
)

◆ onHotKeys()

def onHotKeys (   self,
  evt 
)

◆ onKeyDownEvent()

def onKeyDownEvent (   self,
  evt 
)

◆ onKeyEvent()

def onKeyEvent (   self,
  evt 
)

◆ onKeyUpEvent()

def onKeyUpEvent (   self,
  evt 
)

◆ onMakeLive()

def onMakeLive (   self,
  evt 
)

◆ onNew()

def onNew (   self,
  evt = None 
)

◆ onOpen()

def onOpen (   self,
  evt = None 
)

◆ onRightDown()

def onRightDown (   self,
  evt = None 
)
Invoked when the viewport is right-clicked.

◆ onSave()

def onSave (   self,
  evt = None 
)

◆ onSaveAs()

def onSaveAs (   self,
  evt 
)

◆ onShowPandaObjects()

def onShowPandaObjects (   self,
  evt 
)

◆ replaceObject()

def replaceObject (   self,
  evt,
  all = False 
)

◆ reset()

def reset (   self)

◆ toggleGrid()

def toggleGrid (   self,
  evt 
)

◆ toggleGridSnap()

def toggleGridSnap (   self,
  evt 
)

◆ updateGrids()

def updateGrids (   self,
  newSize,
  newSpacing 
)

◆ updateMenu()

def updateMenu (   self)

Member Data Documentation

◆ animUI

animUI

◆ contextMenu

contextMenu

◆ createCurveMenuItem

createCurveMenuItem

◆ currentView

currentView

◆ curveAnimMenuItem

curveAnimMenuItem

◆ curveAnimUI

curveAnimUI

◆ curveObj

curveObj

◆ editAnimMenuItem

editAnimMenuItem

◆ editCurveMenuItem

editCurveMenuItem

◆ editor

editor

◆ graphEditorMenuItem

graphEditorMenuItem

◆ graphEditorUI

graphEditorUI

◆ gridSizeMenuItem

gridSizeMenuItem

◆ gridSnapMenuItem

gridSnapMenuItem

◆ hotKeysMenuItem

hotKeysMenuItem

◆ layerEditorUI

layerEditorUI

◆ leftBarDownNB

leftBarDownNB

◆ leftBarDownPane0

leftBarDownPane0

◆ leftBarUpNB

leftBarUpNB

◆ leftBarUpPane0

leftBarUpPane0

◆ leftBarUpPane1

leftBarUpPane1

◆ menuAnim

menuAnim

◆ menuCurve

menuCurve

◆ menuEdit

menuEdit

◆ menuOptions

menuOptions

◆ objectPaletteUI

objectPaletteUI

◆ objectPropertyUI

objectPropertyUI

◆ parentToSelectedMenuItem

parentToSelectedMenuItem

◆ protoPaletteUI

protoPaletteUI

◆ rightBarDownNB

rightBarDownNB

◆ rightBarDownPane0

rightBarDownPane0

◆ sceneGraphUI

sceneGraphUI

◆ showGridMenuItem

showGridMenuItem

◆ showPandaObjectsMenuItem

showPandaObjectsMenuItem