
Public Member Functions | |
override void | Dispose () |
HiddenLineAttributeControl (HPS.SegmentKey in_seg) | |
Initializes a control tied to the segment in_seg. More... | |
HiddenLineAttributeControl (HPS.HiddenLineAttributeControl in_that) | |
Initializes a control tied to the same object as in_that. More... | |
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). More... | |
HPS.HiddenLineAttributeControl | SetAlgorithm (HPS.HiddenLine.Algorithm in_algorithm) |
Specifies the sorting algorithm that should be used to sort faces that have been made visible by the SetRenderFaces method. Default is ZBuffer. More... | |
HPS.HiddenLineAttributeControl | SetColor (HPS.RGBAColor in_color) |
Sets the color to be applied to the hidden lines and markers. More... | |
HPS.HiddenLineAttributeControl | SetDimFactor (float in_zero_to_one) |
Specifies the fraction of the current line color's R, G, and B channels to use for the color of hidden lines and markers. By default, Visualize will automatically take a fraction of the RGB values to darken the hidden lines and markers. More... | |
HPS.HiddenLineAttributeControl | SetFaceDisplacement (float in_buckets) |
Specifies how many units to push faces away from the camera. This can help improve hidden line scene quality if distinct polylines/lines are being used to denote user-defined edges on shell/mesh regions, but are not exactly coincident with the actual shell/mesh edges. Note: hidden line face displacement is separate from the general face displacement value set with the DrawingAttributeKit.SetFaceDisplacement. More... | |
HPS.HiddenLineAttributeControl | SetLinePattern (string in_pattern) |
Specifies the pattern of the hidden lines. More... | |
HPS.HiddenLineAttributeControl | SetLineSorting (bool in_on, float in_activation_weight, HPS.Line.SizeUnits in_units) |
Species whether hidden lines are sorted, and if so, what the threshold for sorting is. If Hidden Line Sorting is activated, lines will be draw in proper z-order.If this option is not activated, the order in which lines are drawn is non-deterministic. Enabling this option will result in slower performance. Due to the poor performance, this option is not recommended for screen drawing. However, it may be useful for hardcopy export. Use the functions HPS.Hardcopy.GDI.ExportOptionsKit.SetHiddenLineSorting() or HPS.Hardcopy.File.ExportOptionsKit.SetHiddenLineSorting() to enable this option for hardcopy export. More... | |
HPS.HiddenLineAttributeControl | SetLineSorting (bool in_on, float in_activation_weight) |
Species whether hidden lines are sorted, and if so, what the threshold for sorting is. If Hidden Line Sorting is activated, lines will be draw in proper z-order.If this option is not activated, the order in which lines are drawn is non-deterministic. Enabling this option will result in slower performance. Due to the poor performance, this option is not recommended for screen drawing. However, it may be useful for hardcopy export. Use the functions HPS.Hardcopy.GDI.ExportOptionsKit.SetHiddenLineSorting() or HPS.Hardcopy.File.ExportOptionsKit.SetHiddenLineSorting() to enable this option for hardcopy export. More... | |
HPS.HiddenLineAttributeControl | SetLineSorting (bool in_on) |
Species whether hidden lines are sorted, and if so, what the threshold for sorting is. If Hidden Line Sorting is activated, lines will be draw in proper z-order.If this option is not activated, the order in which lines are drawn is non-deterministic. Enabling this option will result in slower performance. Due to the poor performance, this option is not recommended for screen drawing. However, it may be useful for hardcopy export. Use the functions HPS.Hardcopy.GDI.ExportOptionsKit.SetHiddenLineSorting() or HPS.Hardcopy.File.ExportOptionsKit.SetHiddenLineSorting() to enable this option for hardcopy export. More... | |
HPS.HiddenLineAttributeControl | SetRenderFaces (bool in_state) |
Specifies whether triangles will be displayed during a hidden-line rendering. More... | |
HPS.HiddenLineAttributeControl | SetRenderText (bool in_state) |
Specifies whether text will be displayed during a hidden-line rendering. More... | |
HPS.HiddenLineAttributeControl | SetSilhouetteCleanup (bool in_state) |
Silhouette edges can show unpleasant "fishtail" patterns at points on smooth surfaces where curvature in one orientation is very different from the curvature in another (e.g. the inside of a torus). Silhouette cleanup causes a post-process to remove most of these patterns. More... | |
HPS.HiddenLineAttributeControl | SetTransparencyCutoff (float in_zero_to_one) |
Specifies the threshold for when transparent objects are considered opaque. Objects with transparency greater than the cutoff will be considered opaque while objects with transparency less than the cutoff will treated as transparent. More... | |
HPS.HiddenLineAttributeControl | SetVisibility (bool in_state) |
Specifies whether hidden lines and markers should be displayed. More... | |
HPS.HiddenLineAttributeControl | SetWeight (float in_weight, HPS.Line.SizeUnits in_units) |
Sets the weight of lines drawn in hidden line rendering. More... | |
HPS.HiddenLineAttributeControl | SetWeight (float in_weight) |
Sets the weight of lines drawn in hidden line rendering. More... | |
bool | ShowAlgorithm (out HPS.HiddenLine.Algorithm out_algorithm) |
Shows the algorithm to be used during hidden line rendering. More... | |
bool | ShowColor (out HPS.RGBAColor out_color) |
Shows the color applied to hidden lines and markers. More... | |
bool | ShowDimFactor (out float out_zero_to_one) |
Shows the dim factor multiplier applied to each channel of the hidden line color. More... | |
bool | ShowFaceDisplacement (out float out_buckets) |
Shows the number of units to push faces away from the camera. More... | |
bool | ShowLinePattern (out string out_pattern) |
Shows the pattern of the hidden lines. More... | |
bool | ShowLineSorting (out bool out_state, out float out_threshold, out HPS.Line.SizeUnits out_units) |
Shows the hidden line sorting options. More... | |
bool | ShowRenderFaces (out bool out_state) |
Shows whether triangles will be displayed during a hidden-line rendering. More... | |
bool | ShowRenderText (out bool out_state) |
Shows whether text will be displayed during a hidden-line rendering. More... | |
bool | ShowSilhouetteCleanup (out bool out_state) |
Shows whether hidden line rendering should be post-processed to remove visual artifacts of silhouette edges. More... | |
bool | ShowTransparencyCutoff (out float out_zero_to_one) |
Shows the threshold for when transparent objects are considered opaque. More... | |
bool | ShowVisibility (out bool out_state) |
Shows whether hidden lines and markers should be displayed. More... | |
bool | ShowWeight (out float out_weight, out HPS.Line.SizeUnits out_units) |
Shows the weight of lines drawn in hidden line rendering. More... | |
override HPS.Type | Type () |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More... | |
HPS.HiddenLineAttributeControl | UnsetAlgorithm () |
Removes the hidden line algorithm setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetColor () |
Removes the hidden line color setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetDimFactor () |
Removes the dim factor setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | 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 HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetFaceDisplacement () |
Removes the face displacement setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetLinePattern () |
Removes the line pattern setting for hidden lines. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetLineSorting () |
Removes the line sorting settings for hidden lines. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetRenderFaces () |
Removes the face rendering setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetRenderText () |
Removes the text rendering setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetSilhouetteCleanup () |
Removes the silhouette cleanup setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetTransparencyCutoff () |
Removes the transparency cutoff setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetVisibility () |
Removes the hidden line visibility setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
HPS.HiddenLineAttributeControl | UnsetWeight () |
Removes the weight setting for hidden line. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault(). More... | |
![]() | |
Control (HPS.Control in_that) | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The HPS.HiddenLineAttributeControl class is a smart pointer that is tied to a database object. This control allows you to manipulate the various attributes associated with hidden lines. Hidden line is a rendering mode that applies to the scene as a whole. You should not set disparate hidden line attributes in your scene.
This table lists default values for the various segment attributes accessible from HPS.HiddenLineAttributeControl.
Constructor & Destructor Documentation
|
inline |
Initializes a control tied to the segment in_seg.
|
inline |
Initializes a control tied to the same object as in_that.
Member Function Documentation
|
inlinevirtual |
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).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Control.
|
inline |
Specifies the sorting algorithm that should be used to sort faces that have been made visible by the SetRenderFaces method. Default is ZBuffer.
- Parameters
-
in_algorithm The algorithm used to sort visible faces.
- Returns
- A reference to this object.
|
inline |
Sets the color to be applied to the hidden lines and markers.
- Parameters
-
in_color The color hidden line geometry should be drawn in.
- Returns
- A reference to this object.
|
inline |
Specifies the fraction of the current line color's R, G, and B channels to use for the color of hidden lines and markers. By default, Visualize will automatically take a fraction of the RGB values to darken the hidden lines and markers.
- Parameters
-
in_zero_to_one A multiplier, between [0,1], applied to each channel of the hidden line color.
- Returns
- A reference to this object.
|
inline |
Specifies how many units to push faces away from the camera. This can help improve hidden line scene quality if distinct polylines/lines are being used to denote user-defined edges on shell/mesh regions, but are not exactly coincident with the actual shell/mesh edges. Note: hidden line face displacement is separate from the general face displacement value set with the DrawingAttributeKit.SetFaceDisplacement.
- Parameters
-
in_buckets The number of units to move faces in the Z-Buffer. The units are 1/2^24 in the normalized depth range [0,1]. Negative values will move faces toward the camera, positive values away from the camera.
- Returns
- A reference to this object.
|
inline |
Specifies the pattern of the hidden lines.
- Parameters
-
in_pattern The name of a line pattern, defined in a portfolio that is accessible.
- Returns
- A reference to this object.
|
inline |
Species whether hidden lines are sorted, and if so, what the threshold for sorting is. If Hidden Line Sorting is activated, lines will be draw in proper z-order.If this option is not activated, the order in which lines are drawn is non-deterministic. Enabling this option will result in slower performance. Due to the poor performance, this option is not recommended for screen drawing. However, it may be useful for hardcopy export. Use the functions HPS.Hardcopy.GDI.ExportOptionsKit.SetHiddenLineSorting() or HPS.Hardcopy.File.ExportOptionsKit.SetHiddenLineSorting() to enable this option for hardcopy export.
- Parameters
-
in_on Whether to sort or not. in_activation_weight Lines thicker than this will be sorted. Thinner ones will be ignored. in_units Units applied to in_activation_weight.
- Returns
- A reference to this object.
|
inline |
Species whether hidden lines are sorted, and if so, what the threshold for sorting is. If Hidden Line Sorting is activated, lines will be draw in proper z-order.If this option is not activated, the order in which lines are drawn is non-deterministic. Enabling this option will result in slower performance. Due to the poor performance, this option is not recommended for screen drawing. However, it may be useful for hardcopy export. Use the functions HPS.Hardcopy.GDI.ExportOptionsKit.SetHiddenLineSorting() or HPS.Hardcopy.File.ExportOptionsKit.SetHiddenLineSorting() to enable this option for hardcopy export.
- Parameters
-
in_on Whether to sort or not. in_activation_weight Lines thicker than this will be sorted. Thinner ones will be ignored.
- Returns
- A reference to this object.
|
inline |
Species whether hidden lines are sorted, and if so, what the threshold for sorting is. If Hidden Line Sorting is activated, lines will be draw in proper z-order.If this option is not activated, the order in which lines are drawn is non-deterministic. Enabling this option will result in slower performance. Due to the poor performance, this option is not recommended for screen drawing. However, it may be useful for hardcopy export. Use the functions HPS.Hardcopy.GDI.ExportOptionsKit.SetHiddenLineSorting() or HPS.Hardcopy.File.ExportOptionsKit.SetHiddenLineSorting() to enable this option for hardcopy export.
- Parameters
-
in_on Whether to sort or not.
- Returns
- A reference to this object.
|
inline |
Specifies whether triangles will be displayed during a hidden-line rendering.
- Parameters
-
in_state Whether triangles will displayed during a hidden-line rendering.
- Returns
- A reference to this object.
|
inline |
Specifies whether text will be displayed during a hidden-line rendering.
- Parameters
-
in_state Whether text will displayed during a hidden-line rendering.
- Returns
- A reference to this object.
|
inline |
Silhouette edges can show unpleasant "fishtail" patterns at points on smooth surfaces where curvature in one orientation is very different from the curvature in another (e.g. the inside of a torus). Silhouette cleanup causes a post-process to remove most of these patterns.
- Parameters
-
in_state Whether hidden line rendering should be post-processed to remove visual artifacts.
- Returns
- A reference to this object.
|
inline |
Specifies the threshold for when transparent objects are considered opaque. Objects with transparency greater than the cutoff will be considered opaque while objects with transparency less than the cutoff will treated as transparent.
- Parameters
-
in_zero_to_one The cutoff value, between [0,1].
- Returns
- A reference to this object.
|
inline |
Specifies whether hidden lines and markers should be displayed.
- Parameters
-
in_state The algorithm to be used during hidden line rendering.
- Returns
- A reference to this object.
|
inline |
Sets the weight of lines drawn in hidden line rendering.
- Parameters
-
in_weight The weight value for hidden lines. in_units The units applied to in_weight.
- Returns
- A reference to this object.
|
inline |
Sets the weight of lines drawn in hidden line rendering.
- Parameters
-
in_weight The weight value for hidden lines.
- Returns
- A reference to this object.
|
inline |
Shows the algorithm to be used during hidden line rendering.
- Parameters
-
out_algorithm The algorithm used for hidden line rendering.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the color applied to hidden lines and markers.
- Parameters
-
out_color The color of hidden line geometry.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the dim factor multiplier applied to each channel of the hidden line color.
- Parameters
-
out_zero_to_one A multiplier, between [0,1], applied to each channel of the hidden line color.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the number of units to push faces away from the camera.
- Parameters
-
out_buckets The number of "z buckets" to push faces away from the camera.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the pattern of the hidden lines.
- Parameters
-
out_pattern The name of a line pattern, defined in a portfolio that is accessible.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the hidden line sorting options.
- Parameters
-
out_state Whether hidden line sorting is on or off. out_threshold The minimum width at which hidden lines are sorted. out_units The units that out_threshold is measured in.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows whether triangles will be displayed during a hidden-line rendering.
- Parameters
-
out_state Whether triangles will displayed during a hidden-line rendering.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows whether text will be displayed during a hidden-line rendering.
- Parameters
-
out_state Whether text will displayed during a hidden-line rendering.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows whether hidden line rendering should be post-processed to remove visual artifacts of silhouette edges.
- Parameters
-
out_state Whether hidden line rendering should be post-processed to remove visual artifacts.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the threshold for when transparent objects are considered opaque.
- Parameters
-
out_zero_to_one The cutoff value, between [0,1].
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows whether hidden lines and markers should be displayed.
- Parameters
-
out_state Whether hidden lines and markers should be displayed.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the weight of lines drawn in hidden line rendering.
- Parameters
-
out_weight The weight value for hidden lines. out_units The units applied to in_weight.
- Returns
- true if the setting is valid, false otherwise.
|
inlinevirtual |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
- Returns
- The true type of the object in question.
Reimplemented from HPS.Control.
|
inline |
Removes the hidden line algorithm setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the hidden line color setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the dim factor setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
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 HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the face displacement setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the line pattern setting for hidden lines. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the line sorting settings for hidden lines. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the face rendering setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the text rendering setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the silhouette cleanup setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the transparency cutoff setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the hidden line visibility setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
|
inline |
Removes the weight setting for hidden line. If the control is attached to a WindowKey this function restores the default value of this setting as specified by HiddenLineAttributeKit.GetDefault().
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.HiddenLineAttributeControl.cs