Eidolon
Public Member Functions | Public Attributes | List of all members
NodeSelectHandle Class Reference
Inheritance diagram for NodeSelectHandle:
Inheritance graph
Collaboration diagram for NodeSelectHandle:
Collaboration graph

Public Member Functions

def __init__
 
def addToScene (self, mgr, scene)
 
def getAbsolutePosition (self)
 
def setPosition (self, pos)
 
def mouseDrag (self, e, dragvec)
 
def mouseRelease (self, e)
 
- Public Member Functions inherited from DragSphereHandle
def __init__ (self, value, col, selectCol)
 
def getAbsolutePosition (self)
 
def setPosition (self, pos)
 
def checkSelected (self, ray)
 
def addToScene (self, mgr, scene)
 
def setVisible (self, isVisible)
 
def mouseRelease (self, e)
 
def mousePress (self, camera, e)
 
- Public Member Functions inherited from Handle3D
def __init__ (self)
 
def isSelected (self)
 
def checkMeshIntersect (self, ray, nodes, tris)
 
def mousePress (self, camera, e)
 
def mouseRelease (self, e)
 
def mouseMove (self, e)
 
def getCameraRay (self, x=None, y=None)
 
def getCameraDirection (self)
 
def getDragDistance (self, axis, dragvec, startpos, isPerpendicular=False)
 
def setPosition (self, pos)
 
def setScale (self, scale)
 
def setRotation (self, yaw, pitch, roll)
 
- Public Member Functions inherited from Handle
def __init__ (self)
 
def isVisible (self)
 
def setVisible (self, isVisible)
 
def isSelected (self)
 
def setSelected (self, isSelected)
 
def checkSelected (self, selectObj)
 
def isActive (self)
 
def setActive (self, isActive)
 
def addToScene (self, mgr, scene)
 
def removeFromScene (self, mgr, scene)
 
def mousePress (self, camera, e)
 
def mouseRelease (self, e)
 
def mouseMove (self, e)
 
def mouseDrag (self, e, dragvec)
 
def getPosition (self)
 
def setPosition (self, pos)
 
def setScale (self, scale)
 
def setRotation (self, yaw, pitch, roll)
 

Public Attributes

 position
 
 positionOffset
 
 radiusQuery
 
 selectCallback
 
 text
 
 selectFig
 
 buttons
 
- Public Attributes inherited from DragSphereHandle
 value
 
 col
 
 selectCol
 
 lastIntersect
 
- Public Attributes inherited from Handle3D
 figscale
 
 prevX
 
 prevY
 
 buttons
 
 pressedCamera
 
 lastIntersect
 
- Public Attributes inherited from Handle
 figs
 

Additional Inherited Members

- Static Public Attributes inherited from DragSphereHandle
 sphereNodes
 
 sphereInds
 
 sphereNorms
 
 sphereScale
 
 materialName
 
- Static Public Attributes inherited from Handle
 handleMatName
 

Detailed Description

Handle for selecting a node/vertex from a set defined by a radius search query callback. This is used to select a 
node from a mesh by moving the handle around.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  positionOffset,
  value,
  radiusQuery,
  selectCallback = lambda h,
  i,
  r 
)

Member Function Documentation

◆ addToScene()

def addToScene (   self,
  mgr,
  scene 
)
Here is the call graph for this function:

◆ getAbsolutePosition()

def getAbsolutePosition (   self)

◆ mouseDrag()

def mouseDrag (   self,
  e,
  dragvec 
)
Here is the caller graph for this function:

◆ mouseRelease()

def mouseRelease (   self,
  e 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPosition()

def setPosition (   self,
  pos 
)
Here is the caller graph for this function:

Member Data Documentation

◆ buttons

buttons

◆ position

position

◆ positionOffset

positionOffset

◆ radiusQuery

radiusQuery

◆ selectCallback

selectCallback

◆ selectFig

selectFig

◆ text

text

The documentation for this class was generated from the following file: