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

Public Member Functions

def __init__ (self, parent=None, **kw)
 
def addNodePath (self, nodePath)
 
def addNodePathToDict (self, nodePath, names, menu, dict)
 
def addRefNodePath (self, nodePath)
 
def appInit (self)
 USER METHODS ### To be overridden. More...
 
def createInterface (self)
 
def onDestroy (self, event)
 
def printNodePathInfo (self)
 
def pushRedo (self)
 
def pushRedoHook (self)
 
def pushUndo (self, fResetRedo=1)
 
def pushUndoHook (self)
 
def redoHook (self, nodePathList=[])
 
def redoListEmptyHook (self)
 
def resetAll (self)
 
def resetHpr (self)
 
def resetPos (self)
 
def resetScale (self)
 
def selectNodePathNamed (self, name)
 
def selectRefNodePathNamed (self, name)
 
def setActiveNodePath (self, nodePath)
 
def setMovementMode (self, movementMode)
 WIDGET OPERATIONS ###. More...
 
def setReferenceNodePath (self, nodePath)
 
def setScalingMode (self)
 
def undoHook (self, nodePathList=[])
 
def undoListEmptyHook (self)
 
def unitScale (self)
 
def updateAuxiliaryCoordinateSystems (self)
 
def updateHprWidgets (self, hpr)
 
def updatePlacer (self)
 
def updatePosWidgets (self, pos)
 
def updateResetValues (self, nodePath)
 
def updateScaleWidgets (self, scale)
 
def xform (self, value, axis)
 NODE PATH TRANSFORMATION OPERATIONS ###. More...
 
def xformOrbit (self, value, axis)
 
def xformRelative (self, value, axis)
 
def xformScale (self, value, axis)
 
def xformStart (self, data)
 
def xformStop (self, data)
 
def zeroAll (self)
 
def zeroHpr (self)
 
def zeroPos (self)
 
- Public Member Functions inherited from AppShell
def addVariable (self, category, text, variable)
 
def addWidget (self, category, text, widget)
 WIDGET UTILITY FUNCTIONS ##. More...
 
def alignbuttons (self)
 
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 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

 deltaHpr
 
 hprH
 
 hprP
 
 hprR
 
 initHpr
 
 initPos
 
 initScale
 
 movementMode
 
 nodePathDict
 
 nodePathMenu
 
 nodePathMenuBG
 
 nodePathMenuEntry
 
 nodePathNames
 
 orbitFromCS
 
 orbitToCS
 
 posOffset
 
 posX
 
 posY
 
 posZ
 
 redoButton
 
 refCS
 
 refNodePathDict
 
 refNodePathMenu
 
 refNodePathMenuEntry
 
 refNodePathNames
 
 scaleMenubutton
 
 scaleX
 
 scaleY
 
 scaleZ
 
 scalingMode
 
 tempCS
 
 undoButton
 
 undoEvents
 
- Public Attributes inherited from AppShell
 about
 
 balloonState
 
 dataArea
 
 id
 
 menuBar
 
 menuFrame
 
 parent
 
 toggleBalloonVar
 
 variableDict
 
 widgetDict
 

Static Public Attributes

string appname = 'Placer Panel'
 
int frameHeight = 215
 
int frameWidth = 625
 
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,
  parent = None,
**  kw 
)

Reimplemented from AppShell.

Member Function Documentation

◆ addNodePath()

def addNodePath (   self,
  nodePath 
)

◆ addNodePathToDict()

def addNodePathToDict (   self,
  nodePath,
  names,
  menu,
  dict 
)

◆ addRefNodePath()

def addRefNodePath (   self,
  nodePath 
)

◆ appInit()

def appInit (   self)

USER METHODS ### To be overridden.

Reimplemented from AppShell.

◆ createInterface()

def createInterface (   self)

Reimplemented from AppShell.

◆ onDestroy()

def onDestroy (   self,
  event 
)

Reimplemented from AppShell.

◆ printNodePathInfo()

def printNodePathInfo (   self)

◆ pushRedo()

def pushRedo (   self)

◆ pushRedoHook()

def pushRedoHook (   self)

◆ pushUndo()

def pushUndo (   self,
  fResetRedo = 1 
)

◆ pushUndoHook()

def pushUndoHook (   self)

◆ redoHook()

def redoHook (   self,
  nodePathList = [] 
)

◆ redoListEmptyHook()

def redoListEmptyHook (   self)

◆ resetAll()

def resetAll (   self)

◆ resetHpr()

def resetHpr (   self)

◆ resetPos()

def resetPos (   self)

◆ resetScale()

def resetScale (   self)

◆ selectNodePathNamed()

def selectNodePathNamed (   self,
  name 
)

◆ selectRefNodePathNamed()

def selectRefNodePathNamed (   self,
  name 
)

◆ setActiveNodePath()

def setActiveNodePath (   self,
  nodePath 
)

◆ setMovementMode()

def setMovementMode (   self,
  movementMode 
)

WIDGET OPERATIONS ###.

◆ setReferenceNodePath()

def setReferenceNodePath (   self,
  nodePath 
)

◆ setScalingMode()

def setScalingMode (   self)

◆ undoHook()

def undoHook (   self,
  nodePathList = [] 
)

◆ undoListEmptyHook()

def undoListEmptyHook (   self)

◆ unitScale()

def unitScale (   self)

◆ updateAuxiliaryCoordinateSystems()

def updateAuxiliaryCoordinateSystems (   self)

◆ updateHprWidgets()

def updateHprWidgets (   self,
  hpr 
)

◆ updatePlacer()

def updatePlacer (   self)

◆ updatePosWidgets()

def updatePosWidgets (   self,
  pos 
)

◆ updateResetValues()

def updateResetValues (   self,
  nodePath 
)

◆ updateScaleWidgets()

def updateScaleWidgets (   self,
  scale 
)

◆ xform()

def xform (   self,
  value,
  axis 
)

NODE PATH TRANSFORMATION OPERATIONS ###.

◆ xformOrbit()

def xformOrbit (   self,
  value,
  axis 
)

◆ xformRelative()

def xformRelative (   self,
  value,
  axis 
)

◆ xformScale()

def xformScale (   self,
  value,
  axis 
)

◆ xformStart()

def xformStart (   self,
  data 
)

◆ xformStop()

def xformStop (   self,
  data 
)

◆ zeroAll()

def zeroAll (   self)

◆ zeroHpr()

def zeroHpr (   self)

◆ zeroPos()

def zeroPos (   self)

Member Data Documentation

◆ appname

string appname = 'Placer Panel'
static

◆ deltaHpr

deltaHpr

◆ frameHeight

int frameHeight = 215
static

◆ frameWidth

int frameWidth = 625
static

◆ hprH

hprH

◆ hprP

hprP

◆ hprR

hprR

◆ initHpr

initHpr

◆ initPos

initPos

◆ initScale

initScale

◆ movementMode

movementMode

◆ nodePathDict

nodePathDict

◆ nodePathMenu

nodePathMenu

◆ nodePathMenuBG

nodePathMenuBG

◆ nodePathMenuEntry

nodePathMenuEntry

◆ nodePathNames

nodePathNames

◆ orbitFromCS

orbitFromCS

◆ orbitToCS

orbitToCS

◆ posOffset

posOffset

◆ posX

posX

◆ posY

posY

◆ posZ

posZ

◆ redoButton

redoButton

◆ refCS

refCS

◆ refNodePathDict

refNodePathDict

◆ refNodePathMenu

refNodePathMenu

◆ refNodePathMenuEntry

refNodePathMenuEntry

◆ refNodePathNames

refNodePathNames

◆ scaleMenubutton

scaleMenubutton

◆ scaleX

scaleX

◆ scaleY

scaleY

◆ scaleZ

scaleZ

◆ scalingMode

scalingMode

◆ tempCS

tempCS

◆ undoButton

undoButton

◆ undoEvents

undoEvents

◆ usecommandarea

int usecommandarea = 0
static

◆ usestatusarea

int usestatusarea = 0
static