Table of Contents

Class CbtrPickable

Namespace
Hi.Cbtr
Assembly
HiCbtr.dll

Pickable of CubeTree grids.

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 vec3f

The 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

double

Rgb

Color RGB.

public virtual Vec3d Rgb { get; set; }

Property Value

Vec3d

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 bool

highligt 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_type

event type

state panel_state_t

panel 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_type

event type

state panel_state_t

panel state

ShrinkToFitNodeMap()

ShrinkToFitNodeMap. Not thread safe with substraction process.

public void ShrinkToFitNodeMap()