photogrammetry_importer.opengl.draw_manager

Module Contents

class photogrammetry_importer.opengl.draw_manager.DrawManager

Class that allows to represent point clouds with OpenGL in Blender.

classmethod get_singleton()

Return a singleton of this class.

register_points_draw_callback(object_anchor, coords, colors, point_size)

Register a callback to draw a point cloud.

get_coords_and_colors(visible_only=False)

Return the coordinates and the colors of the maintained points.

delete_anchor(object_anchor)

Delete the anchor used to control the pose of the point cloud.

get_draw_callback_handler(object_anchor)

Get the draw callback handler corresponding to the object anchor.