/ . / SurfaceCap / surfcaps.py / Surface_Capper
Manager class for recalculating surface caps at clip planes as clip planes
move or surface shape changes. Surfaces can be capped at multiple planes. Each cap for a surface has a
name (eg. per-model or near ).
Methods
|
|
|
unshow_cap
|
unshow_cap (
self,
m,
cap_name=None,
)
The cap_name argument is per-model or near or None (implying both).
|
|
set_subdivision_factor
|
set_subdivision_factor ( self, sf )
|
|
set_style
|
set_style ( self, use_mesh )
|
|
new_model_cb
|
new_model_cb (
self,
trigName,
unused,
mlist,
)
|
|
camera_changed_cb
|
camera_changed_cb (
self,
trigName,
myData,
trigData,
)
Capture clip plane change.
|
|
register_cap_handlers
|
register_cap_handlers ( self )
|
|
model_changed_cb
|
model_changed_cb (
self,
trigName,
myData,
trigData,
)
Capture per-model clip plane change.
|
|
xform_changed_cb
|
xform_changed_cb (
self,
trigName,
myData,
trigData,
)
Capture model motion.
|
|
surface_models
|
surface_models ( self )
|
|
update_caps
|
update_caps ( self, surface_model_list )
|
|
set_cap_color
|
set_cap_color ( self, rgba )
|
|
__init__
|
__init__ ( self )
|
|
show_caps
|
show_caps ( self )
|
|
unshow_caps
|
unshow_caps ( self )
|
|
geometry_changed_cb
|
geometry_changed_cb (
self,
p,
type,
)
|
|
set_cap_offset
|
set_cap_offset ( self, cap_offset )
|
|
show_cap
|
show_cap ( self, m )
|
|
deregister_cap_handlers
|
deregister_cap_handlers ( self )
|
|
|