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

Public Member Functions

def __init__ (self)
 
def addPassThroughKey (self, key)
 
def addUnpickable (self, item)
 
def beginOOBE (self)
 
def deselect (self, nodePath)
 
def deselectAll (self)
 
def deselectAllCB (self)
 
def destroy (self)
 
def disable (self)
 
def disableActionEvents (self)
 
def disableKeyEvents (self)
 
def disableModifierEvents (self)
 
def disableMouseEvents (self)
 
def doReparent (self)
 
def doSelect (self)
 
def doSetActiveParent (self)
 
def downAncestry (self)
 
def doWrtReparent (self)
 
def enable (self)
 
def enableActionEvents (self)
 
def enableKeyEvents (self)
 
def enableLight (self)
 
def enableModifierEvents (self)
 
def enableMouseEvents (self)
 
def endOOBE (self)
 
def fitOnNodePath (self, nodePath='None Given')
 
def flash (self, nodePath='None Given')
 
def flashDone (self, state)
 
def flashDummy (self, state)
 
def followSelectedNodePathTask (self, state)
 
def getAndSetName (self, nodePath)
 
def getModifiers (self, input, base)
 
def gotAlt (self, modifiers)
 
def gotControl (self, modifiers)
 
def gotShift (self, modifiers)
 
def hideActiveParentReadout (self)
 
def hideDirectMessage (self, state)
 
def hideDirectMessageLater (self)
 
def hideSelectedNPReadout (self)
 
def inputHandler (self, input)
 
def isEnabled (self)
 
def isNotCycle (self, nodePath, parent)
 
def isolate (self, nodePath='None Given')
 
def message (self, text)
 
def minimumConfiguration (self)
 
def oobe (self)
 
def popRedoGroup (self)
 
def popUndoGroup (self)
 
def pushRedo (self, nodePathList)
 
def pushUndo (self, nodePathList, fResetRedo=1)
 
def redo (self)
 
def removeAllSelected (self)
 
def removeNodePath (self, nodePath='None Given')
 
def removeUnpickable (self, item)
 
def reparent (self, nodePath=None, fWrt=0)
 
def reset (self)
 
def select (self, nodePath, fMultiSelect=0, fSelectTag=1, fResetAncestry=1, fLEPane=0, fUndo=1)
 
def selectCB (self, nodePath, fMultiSelect=0, fSelectTag=1, fResetAncestry=1, fLEPane=0, fUndo=1)
 
def setActiveParent (self, nodePath=None)
 
def setCOAMode (self, mode)
 
def setFScaleWidgetByCam (self, flag)
 
def showAllDescendants (self, nodePath=None)
 
def toggleDirect (self)
 
def toggleVis (self, nodePath='None Given')
 
def toggleWidgetVis (self)
 
def undo (self)
 
def upAncestry (self)
 
def useObjectHandles (self)
 
def widgetResizeTask (self, state)
 
- Public Member Functions inherited from DirectObject
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

 actionEvents
 
 activeParent
 
 activeParentReadout
 
 ancestry
 
 ancestryIndex
 
 cam
 
 camera
 
 cameraControl
 
 camNode
 
 cluster
 
 clusterMode
 
 coaMode
 
 deviceManager
 
 directMessageReadout
 
 directOnlyKeyMap
 
 dr
 
 drList
 
 fAlt
 
 fastrak
 
 fControl
 
 fEnabled
 
 fEnabledLight
 
 fIgnoreDirectOnlyKeyMap
 
 fMouse1
 
 fMouse2
 
 fMouse3
 
 font
 
 fScaleWidgetByCam
 
 fShift
 
 grid
 
 group
 
 hitPt
 
 hotKeyMap
 
 hpr
 
 iRay
 
 iRayList
 
 joybox
 
 keyEvents
 
 lights
 
 manipulationControl
 
 modifierEvents
 
 mouseEvents
 
 oobeCamera
 
 oobeMode
 
 oobeVis
 
 panel
 
 passThroughKeys
 
 pos
 
 radamec
 
 redoList
 
 scale
 
 selected
 
 selectedNPReadout
 
 specialKeys
 
 speicalKeyMap
 
 trueCamera
 
 undoList
 
 widget
 
 win
 

Static Public Attributes

string DIRECTdisablePost = 'disableDIRECT'
 
- 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)

Reimplemented from DirectObject.

Member Function Documentation

◆ addPassThroughKey()

def addPassThroughKey (   self,
  key 
)

◆ addUnpickable()

def addUnpickable (   self,
  item 
)

◆ beginOOBE()

def beginOOBE (   self)

◆ deselect()

def deselect (   self,
  nodePath 
)

◆ deselectAll()

def deselectAll (   self)

◆ deselectAllCB()

def deselectAllCB (   self)

◆ destroy()

def destroy (   self)

◆ disable()

def disable (   self)

◆ disableActionEvents()

def disableActionEvents (   self)

◆ disableKeyEvents()

def disableKeyEvents (   self)

◆ disableModifierEvents()

def disableModifierEvents (   self)

◆ disableMouseEvents()

def disableMouseEvents (   self)

◆ doReparent()

def doReparent (   self)

◆ doSelect()

def doSelect (   self)

◆ doSetActiveParent()

def doSetActiveParent (   self)

◆ downAncestry()

def downAncestry (   self)

◆ doWrtReparent()

def doWrtReparent (   self)

◆ enable()

def enable (   self)

◆ enableActionEvents()

def enableActionEvents (   self)

◆ enableKeyEvents()

def enableKeyEvents (   self)

◆ enableLight()

def enableLight (   self)

◆ enableModifierEvents()

def enableModifierEvents (   self)

◆ enableMouseEvents()

def enableMouseEvents (   self)

◆ endOOBE()

def endOOBE (   self)

◆ fitOnNodePath()

def fitOnNodePath (   self,
  nodePath = 'None Given' 
)

◆ flash()

def flash (   self,
  nodePath = 'None Given' 
)
Highlight an object by setting it red for a few seconds 

◆ flashDone()

def flashDone (   self,
  state 
)

◆ flashDummy()

def flashDummy (   self,
  state 
)

◆ followSelectedNodePathTask()

def followSelectedNodePathTask (   self,
  state 
)

◆ getAndSetName()

def getAndSetName (   self,
  nodePath 
)
Prompt user for new node path name 

◆ getModifiers()

def getModifiers (   self,
  input,
  base 
)

◆ gotAlt()

def gotAlt (   self,
  modifiers 
)

◆ gotControl()

def gotControl (   self,
  modifiers 
)

◆ gotShift()

def gotShift (   self,
  modifiers 
)

◆ hideActiveParentReadout()

def hideActiveParentReadout (   self)

◆ hideDirectMessage()

def hideDirectMessage (   self,
  state 
)

◆ hideDirectMessageLater()

def hideDirectMessageLater (   self)

◆ hideSelectedNPReadout()

def hideSelectedNPReadout (   self)

◆ inputHandler()

def inputHandler (   self,
  input 
)

◆ isEnabled()

def isEnabled (   self)

◆ isNotCycle()

def isNotCycle (   self,
  nodePath,
  parent 
)

◆ isolate()

def isolate (   self,
  nodePath = 'None Given' 
)
Show a node path and hide its siblings 

◆ message()

def message (   self,
  text 
)

◆ minimumConfiguration()

def minimumConfiguration (   self)

◆ oobe()

def oobe (   self)

◆ popRedoGroup()

def popRedoGroup (   self)

◆ popUndoGroup()

def popUndoGroup (   self)

◆ pushRedo()

def pushRedo (   self,
  nodePathList 
)

◆ pushUndo()

def pushUndo (   self,
  nodePathList,
  fResetRedo = 1 
)

◆ redo()

def redo (   self)

◆ removeAllSelected()

def removeAllSelected (   self)

◆ removeNodePath()

def removeNodePath (   self,
  nodePath = 'None Given' 
)

◆ removeUnpickable()

def removeUnpickable (   self,
  item 
)

◆ reparent()

def reparent (   self,
  nodePath = None,
  fWrt = 0 
)

◆ reset()

def reset (   self)

◆ select()

def select (   self,
  nodePath,
  fMultiSelect = 0,
  fSelectTag = 1,
  fResetAncestry = 1,
  fLEPane = 0,
  fUndo = 1 
)

◆ selectCB()

def selectCB (   self,
  nodePath,
  fMultiSelect = 0,
  fSelectTag = 1,
  fResetAncestry = 1,
  fLEPane = 0,
  fUndo = 1 
)

◆ setActiveParent()

def setActiveParent (   self,
  nodePath = None 
)

◆ setCOAMode()

def setCOAMode (   self,
  mode 
)

◆ setFScaleWidgetByCam()

def setFScaleWidgetByCam (   self,
  flag 
)

◆ showAllDescendants()

def showAllDescendants (   self,
  nodePath = None 
)
Show the level and its descendants 

◆ toggleDirect()

def toggleDirect (   self)

◆ toggleVis()

def toggleVis (   self,
  nodePath = 'None Given' 
)
Toggle visibility of node path 

◆ toggleWidgetVis()

def toggleWidgetVis (   self)

◆ undo()

def undo (   self)

◆ upAncestry()

def upAncestry (   self)

◆ useObjectHandles()

def useObjectHandles (   self)

◆ widgetResizeTask()

def widgetResizeTask (   self,
  state 
)

Member Data Documentation

◆ actionEvents

actionEvents

◆ activeParent

activeParent

◆ activeParentReadout

activeParentReadout

◆ ancestry

ancestry

◆ ancestryIndex

ancestryIndex

◆ cam

cam

◆ camera

camera

◆ cameraControl

cameraControl

◆ camNode

camNode

◆ cluster

cluster

◆ clusterMode

clusterMode

◆ coaMode

coaMode

◆ deviceManager

deviceManager

◆ DIRECTdisablePost

string DIRECTdisablePost = 'disableDIRECT'
static

◆ directMessageReadout

directMessageReadout

◆ directOnlyKeyMap

directOnlyKeyMap

◆ dr

dr

◆ drList

drList

◆ fAlt

fAlt

◆ fastrak

fastrak

◆ fControl

fControl

◆ fEnabled

fEnabled

◆ fEnabledLight

fEnabledLight

◆ fIgnoreDirectOnlyKeyMap

fIgnoreDirectOnlyKeyMap

◆ fMouse1

fMouse1

◆ fMouse2

fMouse2

◆ fMouse3

fMouse3

◆ font

font

◆ fScaleWidgetByCam

fScaleWidgetByCam

◆ fShift

fShift

◆ grid

grid

◆ group

group

◆ hitPt

hitPt

◆ hotKeyMap

hotKeyMap

◆ hpr

hpr

◆ iRay

iRay

◆ iRayList

iRayList

◆ joybox

joybox

◆ keyEvents

keyEvents

◆ lights

lights

◆ manipulationControl

manipulationControl

◆ modifierEvents

modifierEvents

◆ mouseEvents

mouseEvents

◆ oobeCamera

oobeCamera

◆ oobeMode

oobeMode

◆ oobeVis

oobeVis

◆ panel

panel

◆ passThroughKeys

passThroughKeys

◆ pos

pos

◆ radamec

radamec

◆ redoList

redoList

◆ scale

scale

◆ selected

selected

◆ selectedNPReadout

selectedNPReadout

◆ specialKeys

specialKeys

◆ speicalKeyMap

speicalKeyMap

◆ trueCamera

trueCamera

◆ undoList

undoList

◆ widget

widget

◆ win

win