v_sim.NodeMasker¶
- Implementations:
v_sim.Box,v_sim.Colorization,v_sim.DataColorizerFragment,v_sim.GlExtMarks,v_sim.PlaneSet
Methods¶
|
|
|
|
|
Virtual Methods¶
|
|
|
Properties¶
None
Signals¶
Name |
Short Description |
|---|---|
This signal is emitted when some masking parameters changed. |
Fields¶
None
Class Details¶
- class v_sim.NodeMasker¶
- Bases:
- Structure:
Interface object.
New in version 3.8.
- apply(array)¶
- Parameters:
array (
v_sim.NodeArray) – av_sim.NodeArrayobject.- Returns:
a location for a boolean
- Return type:
redraw:
bool
Apply the masking properties of self over array. If any node visibility has changed, redraw is set to
True.New in version 3.8.
- emitDirty()¶
Emits the “masking-dirty” signal. To be used by implementation of this interface to signal that some masking properties have changed.
New in version 3.8.
- setMaskFunc(func)¶
- Parameters:
func (
v_sim.NodeMaskerFuncorNone) – av_sim.NodeMaskerFuncobject.- Returns:
Trueif value is actually changed.- Return type:
If the implementation provides a user defined masking function, this calls the #VisuNodeMaskerInterface::set_mask_func() routine.
New in version 3.8.
- do_apply(array) virtual¶
- Parameters:
array (
v_sim.NodeArray) –- Return type:
a method used to apply a visibility mask on a
v_sim.NodeArray.
- do_set_mask_func(func, data) virtual¶
- Parameters:
func (
v_sim.NodeMaskerFunc) –
- Return type:
a method to specify a custom masking routine.
Signal Details¶
- v_sim.NodeMasker.signals.masking_dirty(node_masker)¶
- Signal Name:
masking-dirty- Flags:
- Parameters:
node_masker (
v_sim.NodeMasker) – The object which received the signal
This signal is emitted when some masking parameters changed.
New in version 3.8.