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

Public Member Functions

def __init__ (self, parent, windowSize, property, xRange, yRange, curFrame, object)
 
def DrawCurve (self, dc)
 
def DrawFrame (self, dc)
 
def drawHandler (self, list, dc)
 
def drawKeys (self, list, dc)
 
def DrawSelectRec (self, dc)
 
def drawSingleCurve (self, list, dc)
 
def drawX (self, dc)
 
def DrawXCoord (self, dc)
 
def drawXNumber (self, dc, st, pos)
 
def drawY (self, dc)
 
def DrawYCoord (self, dc)
 
def drawYNumber (self, dc, st, pos)
 
def drawZ (self, dc)
 
def generateHandler (self, item)
 
def generateInfo (self)
 
def InitBuffer (self)
 
def inside (self, point0, point1, point)
 
def onAnimation (self)
 
def OnLeftDown (self, evt)
 
def OnLeftUp (self, evt)
 
def OnMiddleDown (self, evt)
 
def OnMiddleUp (self, evt)
 
def OnMotion (self, evt)
 
def OnPaint (self, evt)
 
def OnSize (self, evt)
 
def recalculateSlope (self)
 
def recalculateSlopeBase (self, list)
 
def refresh (self)
 
def selectHandler (self)
 
def setExistKey (self, list)
 
def SetGraphEditorData (self, property, curFrame=1)
 
def setNewKey (self, list)
 
def setSelection (self)
 
def setSelectionBase (self, list)
 

Public Attributes

 buffer
 
 curFrame
 
 h
 
 keyFramesInfo
 
 midPos
 
 newMidPos
 
 newPos
 
 object
 
 pos
 
 property
 
 th
 
 unitHeight
 
 unitWidth
 
 X
 
 Y
 
 Z
 
 zero
 
 zeroPos
 
 zoom
 

Detailed Description

This is the main graph editor window.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  parent,
  windowSize,
  property,
  xRange,
  yRange,
  curFrame,
  object 
)

Member Function Documentation

◆ DrawCurve()

def DrawCurve (   self,
  dc 
)

◆ DrawFrame()

def DrawFrame (   self,
  dc 
)

◆ drawHandler()

def drawHandler (   self,
  list,
  dc 
)

◆ drawKeys()

def drawKeys (   self,
  list,
  dc 
)

◆ DrawSelectRec()

def DrawSelectRec (   self,
  dc 
)

◆ drawSingleCurve()

def drawSingleCurve (   self,
  list,
  dc 
)

◆ drawX()

def drawX (   self,
  dc 
)

◆ DrawXCoord()

def DrawXCoord (   self,
  dc 
)

◆ drawXNumber()

def drawXNumber (   self,
  dc,
  st,
  pos 
)

◆ drawY()

def drawY (   self,
  dc 
)

◆ DrawYCoord()

def DrawYCoord (   self,
  dc 
)

◆ drawYNumber()

def drawYNumber (   self,
  dc,
  st,
  pos 
)

◆ drawZ()

def drawZ (   self,
  dc 
)

◆ generateHandler()

def generateHandler (   self,
  item 
)

◆ generateInfo()

def generateInfo (   self)

◆ InitBuffer()

def InitBuffer (   self)

◆ inside()

def inside (   self,
  point0,
  point1,
  point 
)

◆ onAnimation()

def onAnimation (   self)

◆ OnLeftDown()

def OnLeftDown (   self,
  evt 
)

◆ OnLeftUp()

def OnLeftUp (   self,
  evt 
)

◆ OnMiddleDown()

def OnMiddleDown (   self,
  evt 
)

◆ OnMiddleUp()

def OnMiddleUp (   self,
  evt 
)

◆ OnMotion()

def OnMotion (   self,
  evt 
)

◆ OnPaint()

def OnPaint (   self,
  evt 
)

◆ OnSize()

def OnSize (   self,
  evt 
)

◆ recalculateSlope()

def recalculateSlope (   self)

◆ recalculateSlopeBase()

def recalculateSlopeBase (   self,
  list 
)

◆ refresh()

def refresh (   self)

◆ selectHandler()

def selectHandler (   self)

◆ setExistKey()

def setExistKey (   self,
  list 
)

◆ SetGraphEditorData()

def SetGraphEditorData (   self,
  property,
  curFrame = 1 
)

◆ setNewKey()

def setNewKey (   self,
  list 
)

◆ setSelection()

def setSelection (   self)

◆ setSelectionBase()

def setSelectionBase (   self,
  list 
)

Member Data Documentation

◆ buffer

buffer

◆ curFrame

curFrame

◆ h

h

◆ keyFramesInfo

keyFramesInfo

◆ midPos

midPos

◆ newMidPos

newMidPos

◆ newPos

newPos

◆ object

object

◆ pos

pos

◆ property

property

◆ th

th

◆ unitHeight

unitHeight

◆ unitWidth

unitWidth

◆ X

X

◆ Y

Y

◆ Z

Z

◆ zero

zero

◆ zeroPos

zeroPos

◆ zoom

zoom