Table of Contents

Interface IColorGuide

Namespace
Hi.Coloring
Assembly
HiMech.dll

Interface of setting color and the rendering priority.

public interface IColorGuide : IMakeXmlSource, IGetColorGuide
Inherited Members
Extension Methods

Methods

TryGetRgb(object, out vec3d_t)

Get rgb bystep.

bool TryGetRgb(object step, out vec3d_t rgb)

Parameters

step object

step

rgb vec3d_t

rgb, when the method returns true

Returns

bool

True when this guide has a colour for step; false when it has none

TryGetRgbWithPriority(object, out vec3d_t, out double)

Get color with the showing priority if the showing area overlapped by shrinking. Only effect on CubeTree.

bool TryGetRgbWithPriority(object step, out vec3d_t rgb, out double attachmentPriority)

Parameters

step object

step

rgb vec3d_t

rgb, when the method returns true

attachmentPriority double

priority. Larger one takes priority. Set on either answer.

Returns

bool

True when this guide has a colour for step; false when it has none and the caller applies its own default