BufferObject

class BufferObject[source]

Bases: compas_view2.objects.object.Object

A shared object to handle GL buffer creation and drawings

Attributes
visualisationlist[str], read-only

List of visualisation properties which can be edited in the GUI.

Methods

draw

Draw the object from its buffers

draw_instance

Draw the object instance for picking

init

Initialize the object

make_buffer_from_data

Create buffers from point/line/face data.

make_buffers

Create all buffers from object's data

update

Update the object

update_buffer_from_data

Update existing buffers from point/line/face data.

update_buffers

Update all buffers from object's data

Inherited Methods

add

build

Build an object class according to its corrensponding data type

create

register

Register an object class to its corrensponding data type

remove