PointObject
-
class
compas_view2.objects.PointObject(data, name=None, is_selected=False, color=None, size=10)[source] Bases:
compas_view2.objects.bufferobject.BufferObjectObject for displaying COMPAS point geometry.
Methods
build(data, **kwargs)Build an object class according to its corrensponding data type
create()draw(shader[, wireframe, is_lighted])Draw the object from its buffers
draw_instance(shader[, wireframe])Draw the object instance for picking
edit([on_update])init()Initialize the object
make_buffer_from_data(data)Create buffers from point/line/face data.
Create all buffers from object’s data
register(dtype, vtype)Register an object class to its corrensponding data type
update()Update the object
update_buffer_from_data(data, buffer[, …])Update existing buffers from point/line/face data.
Update all buffers from object’s data