habitat_sim.gfx.DebugLineRender class

Methods

def draw_box(self, arg0: magnum.Vector3, arg1: magnum.Vector3, arg2: magnum.Color4, /) -> None
Draw a box in world-space or local-space (see pushTransform).
def draw_circle(self, translation: magnum.Vector3, radius: float, color: magnum.Color4, num_segments: int = 24, normal: magnum.Vector3 = Vector(0, 1, 0)) -> None
Draw a circle in world-space or local-space (see pushTransform). The circle is an approximation; see numSegments.
def draw_path_with_endpoint_circles(self, points: typing.List[magnum.Vector3], radius: float, color: magnum.Color4, num_segments: int = 24, normal: magnum.Vector3 = Vector(0, 1, 0)) -> None
Draw a sequence of line segments with circles at the two endpoints. In world-space or local-space (see pushTransform).
def draw_transformed_line(self, from: magnum.Vector3, to: magnum.Vector3, from_color: magnum.Color4, to_color: magnum.Color4) -> None
Draw a line segment in world-space or local-space (see pushTransform) with interpolated color.
def draw_transformed_line(self, from: magnum.Vector3, to: magnum.Vector3, color: magnum.Color4) -> None
Draw a line segment in world-space or local-space (see pushTransform).
def pop_transform(self, /) -> None
See push_transform.
def push_transform(self, arg0: magnum.Matrix4, /) -> None
Push (multiply) a transform onto the transform stack, affecting all line-drawing until popped. Must be paired with popTransform().
def set_line_width(self, arg0: float, /) -> None
Set global line width for all lines rendered by DebugLineRender.