Panda3D
Public Member Functions | Public Attributes | List of all members
DirectBoundingBox Class Reference

Public Member Functions

def __init__ (self, nodePath, bboxColor=None)
 
def __repr__ (self)
 
def computeBounds (self)
 
def computeTightBounds (self)
 
def createBBoxLines (self, bboxColor=None)
 
def getBounds (self)
 
def getCenter (self)
 
def getMax (self)
 
def getMin (self)
 
def getRadius (self)
 
def hide (self)
 
def recompute (self)
 
def setBoxColorScale (self, r, g, b, a)
 
def show (self)
 
def updateBBoxLines (self)
 
def vecAsString (self, vec)
 

Public Attributes

 bounds
 
 center
 
 lines
 
 max
 
 min
 
 nodePath
 
 radius
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  nodePath,
  bboxColor = None 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ computeBounds()

def computeBounds (   self)

◆ computeTightBounds()

def computeTightBounds (   self)

◆ createBBoxLines()

def createBBoxLines (   self,
  bboxColor = None 
)

◆ getBounds()

def getBounds (   self)

◆ getCenter()

def getCenter (   self)

◆ getMax()

def getMax (   self)

◆ getMin()

def getMin (   self)

◆ getRadius()

def getRadius (   self)

◆ hide()

def hide (   self)

◆ recompute()

def recompute (   self)

◆ setBoxColorScale()

def setBoxColorScale (   self,
  r,
  g,
  b,
  a 
)

◆ show()

def show (   self)

◆ updateBBoxLines()

def updateBBoxLines (   self)

◆ vecAsString()

def vecAsString (   self,
  vec 
)

Member Data Documentation

◆ bounds

bounds

◆ center

center

◆ lines

lines

◆ max

max

◆ min

min

◆ nodePath

nodePath

◆ radius

radius