Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CurveEditor Class Reference
Inheritance diagram for CurveEditor:

## Public Member Functions
| __init__ (self, editor)
| createControler (self, x, y)
| createCurve (self)
| doneEdit (self)
| editCurve (self, task)
| onBaseMode (self)
| onControlerDelete (self)
| ropeUpdate (self, curve)
| updateScene (self)
Public Member Functions inherited from DirectObject
| __init__ (self)
| 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
| controler = render.attachNewNode("controler")
| currentCurve = self.currentRope.ropeNode.getCurve()
| currentRope = None
list | curve = []
list | curveControl = []
int | degree = 3
| editor = editor
int | i = 0
| onBaseMode
| onControlerDelete
| point = item
int | ropeNum = 0
| selected = None
| view = self.editor.ui.currentView

## Additional Inherited Members
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
Protected Member Functions inherited from DirectObject
| _addTask (self, task)
| _clearTask (self, task)
Protected Attributes inherited from DirectObject
dict | _taskList = {}

## Detailed Description

     CurveEditor will create and edit the curve

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | editor )

## Member Function Documentation

## ◆ createControler()

createControler | ( |  | self,
|  |  | x,
|  |  | y )

## ◆ createCurve()

createCurve | ( |  | self | ) |

## ◆ doneEdit()

doneEdit | ( |  | self | ) |

## ◆ editCurve()

editCurve | ( |  | self,
|  |  | task )

## ◆ onBaseMode()

onBaseMode | ( |  | self | ) |

## ◆ onControlerDelete()

onControlerDelete | ( |  | self | ) |

## ◆ ropeUpdate()

ropeUpdate | ( |  | self,
|  |  | curve )

## ◆ updateScene()

updateScene | ( |  | self | ) |

## Member Data Documentation

## ◆ controler

controler = render.attachNewNode("controler")

## ◆ currentCurve

currentCurve = self.currentRope.ropeNode.getCurve()

## ◆ currentRope

currentRope = None

## ◆ curve

curve = []

## ◆ curveControl

list curveControl = []

## ◆ degree

degree = 3

## ◆ editor

editor = editor

## ◆ i

int i = 0

## ◆ onBaseMode

onBaseMode

## ◆ onControlerDelete

onControlerDelete

## ◆ point

point = item

## ◆ ropeNum

int ropeNum = 0

## ◆ selected

selected = None

## ◆ view

view = self.editor.ui.currentView