/ . / 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 )
|
|
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.
Per-mode clip plane change generates a Model minor change. Also getting Surface_Model major change notice when Surface_Group added.
|
|
xform_changed_cb
|
xform_changed_cb (
self,
trigName,
myData,
trigData,
)
Capture model motion.
|
|
surface_changed_cb
|
surface_changed_cb (
self,
g,
detail,
)
g is Surface_Group.
|
|
surface_models
|
surface_models ( self, include_msms=True )
|
|
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 )
|
|
set_cap_offset
|
set_cap_offset ( self, cap_offset )
|
|
show_cap
|
show_cap ( self, m )
|
|
deregister_cap_handlers
|
deregister_cap_handlers ( self )
|
|
|