CylinderAttributeControl
-
class
HPS.CylinderAttributeControl: HPS.Control The HPS.CylinderAttributeControl class is a smart pointer that is tied to a database object. This object is used to manipulate the various cylinder attributes, such as orientation and tessellation. This table lists default values for the various segment attributes accessible from HPS.CylinderAttributeControl.
Public Functions
-
CylinderAttributeControl(HPS.CylinderAttributeControl in_that) Initializes a control tied to the same object as in_that.
-
CylinderAttributeControl(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.CylinderAttributeControl
SetOrientation(HPS.Cylinder.Orientation in_orientation) Sets the orientation of colors and radii of cylinders. This can be used to invert the order of the radii and/or colors of all cylinders in a segment without editing each one.
Param in_orientation: The orientation of colors and radii of cylinders. Return: A reference to this object.
-
HPS.CylinderAttributeControl
SetTessellation(ulong in_facets) Sets the number of faces that should be generated around cylinders.
Param in_facets: the number of faces that should be generated around cylinders. Return: A reference to this object.
-
bool
ShowOrientation(out HPS.Cylinder.Orientation out_adjust) Shows the orientation of colors and radii of cylinders.
Return: true if the setting is valid, false otherwise.
-
bool
ShowTessellation(out ulong out_facets) Shows the number of faces that should be generated around cylinders.
Param out_facets: Whether text should be bold. Return: true if the setting is valid, false otherwise.
-
HPS.CylinderAttributeControl
UnsetEverything() Removes all settings from this object. If the control is attached to a WindowKey this function restores the default settings of this control as specified by CylinderAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CylinderAttributeControl
UnsetOrientation() Removes the cylinder orientation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CylinderAttributeKit.GetDefault().
Return: A reference to this object.
-
HPS.CylinderAttributeControl
UnsetTessellation() Removes the cylinder tessellation setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by CylinderAttributeKit.GetDefault().
Return: A reference to this object.
-