ColorInterpolationControl

class HPS.ColorInterpolationControl : public HPS.Control

The HPS.ColorInterpolationControl class is a smart pointer that is tied to a database object. This class is the interface that allows you to manipulate whether color is interpolated over faces and edges. This table lists default values for the various segment attributes accessible from HPS.ColorInterpolationControl.

Public Functions

ColorInterpolationControl (HPS.ColorInterpolationControl in_that)

Initializes a control tied to the same object as in_that.

ColorInterpolationControl (HPS.SegmentKey in_seg)

Initializes a control tied to the segment in_seg.

override void Dispose ()
override HPS.Type ObjectType ()

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Return

The declared type of the object in question, which may differ from the true, underlying type.

HPS.ColorInterpolationControl SetEdgeColor (bool in_state)

Controls whether edge colors will be interpolated.

Param in_state

Whether edge colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationControl SetEdgeIndex (bool in_state)

Controls whether edge index colors will be interpolated.

Param in_state

Whether edge index colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationControl SetFaceColor (bool in_state)

Controls whether face colors will be interpolated.

Param in_state

Whether face colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationControl SetFaceIndex (bool in_state)

Controls whether face colors index will be interpolated.

Param in_state

Whether face index colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationControl SetVertexColor (bool in_state)

Controls whether vertex colors will be interpolated.

Param in_state

Whether vertex colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationControl SetVertexIndex (bool in_state)

Controls whether vertex index colors will be interpolated.

Param in_state

Whether vertex index colors will be interpolated.

Return

a reference to this object.

bool ShowEdgeColor (out bool out_state)

Shows whether color interpolation for the edge color is set

Param out_state

The edge setting for the color interpolation

Return

true if the setting is valid, false otherwise.

bool ShowEdgeIndex (out bool out_state)

Shows whether color index interpolation for the edge index is set

Param out_state

The edge setting for the color index interpolation

Return

true if the setting is valid, false otherwise.

bool ShowFaceColor (out bool out_state)

Shows whether color interpolation for the face color is set

Param out_state

The face setting for the color interpolation

Return

true if the setting is valid, false otherwise.

bool ShowFaceIndex (out bool out_state)

Shows whether color index interpolation for the face index is set

Param out_state

The face setting for the color index interpolation

Return

true if the setting is valid, false otherwise.

bool ShowVertexColor (out bool out_state)

Shows whether color interpolation for the vertex color is set

Param out_state

The vertex setting for the color interpolation

Return

true if the setting is valid, false otherwise.

bool ShowVertexIndex (out bool out_state)

Shows whether color index interpolation for the vertex index is set

Param out_state

The vertex setting for the color index interpolation

Return

true if the setting is valid, false otherwise.

HPS.ColorInterpolationControl UnsetEdgeColor ()

Removes the edge color interpolation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.

HPS.ColorInterpolationControl UnsetEdgeIndex ()

Removes the edge index color interpolation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.

HPS.ColorInterpolationControl UnsetEverything ()

Unsets all settings in this control. If the control is attached to a WindowKey this function restores the default settings of this control as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.

HPS.ColorInterpolationControl UnsetFaceColor ()

Removes the face color interpolation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.

HPS.ColorInterpolationControl UnsetFaceIndex ()

Removes the face index color interpolation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.

HPS.ColorInterpolationControl UnsetVertexColor ()

Removes the vertex color interpolation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.

HPS.ColorInterpolationControl UnsetVertexIndex ()

Removes the vertex index color interpolation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by ColorInterpolationKit.GetDefault().

Return

a reference to this object.