director.debugVis module¶
-
class
director.debugVis.
DebugData
[source]¶ Bases:
object
-
addArrow
(start, end, headRadius=0.05, tubeRadius=0.01, color=[1, 1, 1], startHead=False, endHead=True)[source]¶
-
addEllipsoid
(center, radii, color=[1, 1, 1], alpha=1.0, resolution=24)[source]¶ Add an ellipsoid centered at [center] with x, y, and z principal axis radii given by radii = [x_scale, y_scale, z_scale]
-
addPolyData
(polyData, color=[1, 1, 1], extraLabels=None)[source]¶ Add a vtkPolyData to the debug data. A color can be provided. If the extraLabels argument is used, it should be a list of tuples, each tuple is (labelName, labelValue) where labelName is a string and labelValue is an int or float. An array with labelName will be filled with labelValue and added to the poly data.
-