Class CbtrPickable
public class CbtrPickable : Pickable, IPickableGetter, IDisposable
- Inheritance
-
CbtrPickable
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
CbtrPickable()
Initializes a new instance of the CbtrPickable class with default white color.
public CbtrPickable()
CbtrPickable(vec3f)
Initializes a new instance of the CbtrPickable class with specified color.
public CbtrPickable(vec3f rgb)
Parameters
rgb
vec3fThe RGB color for the pickable object.
Properties
AttachmentPriority
The color and Pickable priority if several attachments occupied at the same pixel. NAN is the lowest priority. the smaller number is the lower priority.
public virtual double AttachmentPriority { get; set; }
Property Value
Rgb
Color RGB.
public virtual Vec3d Rgb { get; set; }
Property Value
Methods
CleanLinkedCbtrNodesDrawingCache()
CleanLinkedNodesDrawingCache. Not thread safe with substraction process.
public void CleanLinkedCbtrNodesDrawingCache()
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposing
bool
Highlight(bool)
Highlight the CbtrPickable by triangles line. Only one CbtrPickable can be highlighted on a CubeTree.
public void Highlight(bool b)
Parameters
b
boolhighligt or not
OnMouseEnter(ui_event_type, panel_state_t)
Behavior on mouse enter
public override void OnMouseEnter(ui_event_type e, panel_state_t state)
Parameters
e
ui_event_typeevent type
state
panel_state_tpanel state
OnMouseLeave(ui_event_type, panel_state_t)
Behavior on mouse leave
public override void OnMouseLeave(ui_event_type e, panel_state_t state)
Parameters
e
ui_event_typeevent type
state
panel_state_tpanel state
ShrinkToFitNodeMap()
ShrinkToFitNodeMap. Not thread safe with substraction process.
public void ShrinkToFitNodeMap()