The HPS::SelectionOptionsControl class is a smart pointer that is tied to a database object. It is used to set selection related options on a HPS::WindowKey. Options include the selection algorithm, granularity, internal limit, related limit, level, proximity, and sorting. Default values for the various fields of HPS::SelectionOptionsControl can be found here. More...
Public Member Functions | |
override void | Dispose () |
SelectionOptionsControl (HPS.WindowKey in_window) | |
This constructor creates a SelectionOptionsControl object which is tied to the specified window. More... | |
SelectionOptionsControl (HPS.SelectionOptionsControl in_that) | |
The copy constructor creates a SelectionOptionsControl object that shares the underlying smart-pointer of the source SelectionOptionsControl. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
HPS.SelectionOptionsControl | SetProximity (float in_proximity) |
Sets the selection proximity in centimeters. This will throw an exception if a negative proximity value is specified. More... | |
HPS.SelectionOptionsControl | SetLevel (HPS.Selection.Level in_level) |
Sets the level at which selection will occur. More... | |
HPS.SelectionOptionsControl | SetInternalLimit (ulong in_limit) |
Sets the internal selection limit. The internal selection limit is the maximum number of subentities for shells and meshes that will be returned if performing subentity selection. More... | |
HPS.SelectionOptionsControl | SetRelatedLimit (ulong in_limit) |
Sets the related selection limit. The related selection limit is the maximum number of items that will be returned as selected when performing a selection. A related selection limit of 0 would result in only the first item getting returned. If the value is greater than 0, this indicates the number of additional items beyond the first to return. The order of these additional items will depend on whether sorting is enabled (see SetSorting). More... | |
HPS.SelectionOptionsControl | SetSorting (bool in_sorted) |
Sets whether to sort selection results by relevance. For selection by area or ray, this means sorting results front to back. For all other types of selection, it means sorting results by proximity. This is only relevant if the related selection limit is greater than 0 (see SetRelatedLimit). More... | |
HPS.SelectionOptionsControl | SetAlgorithm (HPS.Selection.Algorithm in_algorithm) |
Sets the type of selection algorithm to use. This setting has no effect on object space selections (i.e., select by shell, volume and ray). More... | |
HPS.SelectionOptionsControl | SetGranularity (HPS.Selection.Granularity in_granularity) |
Sets the selection granularity to use. More... | |
HPS.SelectionOptionsControl | SetExtentCullingRespected (bool in_state) |
Sets whether to respect the extent culling option during selection. If this value is set to false, the extent culling option (see HPS::CullingControl) will be ignored. More... | |
HPS.SelectionOptionsControl | SetDeferralExtentCullingRespected (bool in_state) |
Sets whether to respect the deferral extent culling option during selection. If this value is set to false, the deferral extent culling option (see HPS::CullingControl) will be ignored. More... | |
HPS.SelectionOptionsControl | SetFrustumCullingRespected (bool in_state) |
Sets whether to respect the frustum culling option during selection. If this value is set to false, the frustum culling option (see HPS::CullingControl) will be ignored. More... | |
HPS.SelectionOptionsControl | SetVectorCullingRespected (bool in_state) |
Sets whether to respect the vector culling option during selection. If this value is set to false, the vector culling option (see HPS::CullingControl) will be ignored. More... | |
bool | ShowProximity (out float out_proximity) |
Shows the selection proximity for the associated window. More... | |
bool | ShowLevel (out HPS.Selection.Level out_level) |
Shows the selection level for the associated window. More... | |
bool | ShowInternalLimit (out ulong out_limit) |
Shows the internal selection limit for the associated window. More... | |
bool | ShowRelatedLimit (out ulong out_limit) |
Shows the related selection limit for the associated window. More... | |
bool | ShowSorting (out bool out_sorted) |
Shows whether selection sorting is enabled for the associated window. More... | |
bool | ShowAlgorithm (out HPS.Selection.Algorithm out_algorithm) |
Shows the selection algorithm for the associated window. More... | |
bool | ShowGranularity (out HPS.Selection.Granularity out_granularity) |
Shows the selection granularity for the associated window. More... | |
bool | ShowExtentCullingRespected (out bool out_state) |
Shows the extent culling respected state for the associated window. More... | |
bool | ShowDeferralExtentCullingRespected (out bool out_state) |
Shows the deferral extent culling respected state for the associated window. More... | |
bool | ShowFrustumCullingRespected (out bool out_state) |
Shows the frustum culling respected state for the associated window. More... | |
bool | ShowVectorCullingRespected (out bool out_state) |
Shows the vector culling respected state for the associated window. More... | |
![]() | |
Control (HPS.Control in_that) | |
![]() | |
IntPtr | GetClassID () |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
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... | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
HandleRef | cptr |
HandleRef | scptr |
bool | cMemOwn |
The HPS::SelectionOptionsControl class is a smart pointer that is tied to a database object. It is used to set selection related options on a HPS::WindowKey. Options include the selection algorithm, granularity, internal limit, related limit, level, proximity, and sorting. Default values for the various fields of HPS::SelectionOptionsControl can be found here.
|
inline |
This constructor creates a SelectionOptionsControl object which is tied to the specified window.
in_window | The window which this <ref refid="class_h_p_s_1_1_selection_options_control" kindref="compound">SelectionOptionsControl</ref> should operate on. |
|
inline |
The copy constructor creates a SelectionOptionsControl object that shares the underlying smart-pointer of the source SelectionOptionsControl.
in_that | The source <ref refid="class_h_p_s_1_1_selection_options_control" kindref="compound">SelectionOptionsControl</ref> to copy. |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
|
inline |
Sets the type of selection algorithm to use. This setting has no effect on object space selections (i.e., select by shell, volume and ray).
in_algorithm | The type of selection algorithm to use. |
Default value
|
inline |
Sets whether to respect the deferral extent culling option during selection. If this value is set to false, the deferral extent culling option (see HPS::CullingControl) will be ignored.
in_state | Whether to respect the deferral extent culling option during selection. |
Default value
|
inline |
Sets whether to respect the extent culling option during selection. If this value is set to false, the extent culling option (see HPS::CullingControl) will be ignored.
in_state | Whether to respect the extent culling option during selection. |
Default value
|
inline |
Sets whether to respect the frustum culling option during selection. If this value is set to false, the frustum culling option (see HPS::CullingControl) will be ignored.
in_state | Whether to respect the frustum culling option during selection. |
Default value
|
inline |
Sets the selection granularity to use.
in_granularity | The selection granularity to use. |
Default value
|
inline |
Sets the internal selection limit. The internal selection limit is the maximum number of subentities for shells and meshes that will be returned if performing subentity selection.
in_limit | The internal selection limit. |
Default value
|
inline |
Sets the level at which selection will occur.
in_level | The level at which selection will occur. |
Default value
|
inline |
Sets the selection proximity in centimeters. This will throw an exception if a negative proximity value is specified.
in_proximity | The radius around the selection point within which objects will be returned as selected. The value must be nonnegative. |
Default value
|
inline |
Sets the related selection limit. The related selection limit is the maximum number of items that will be returned as selected when performing a selection. A related selection limit of 0 would result in only the first item getting returned. If the value is greater than 0, this indicates the number of additional items beyond the first to return. The order of these additional items will depend on whether sorting is enabled (see SetSorting).
in_limit | Limit on the number of items that will be returned as selected when performing a selection. |
Default value
|
inline |
Sets whether to sort selection results by relevance. For selection by area or ray, this means sorting results front to back. For all other types of selection, it means sorting results by proximity. This is only relevant if the related selection limit is greater than 0 (see SetRelatedLimit).
in_sorted | Whether to sort selection results by relevance. |
Default value
|
inline |
Sets whether to respect the vector culling option during selection. If this value is set to false, the vector culling option (see HPS::CullingControl) will be ignored.
in_state | Whether to respect the vector culling option during selection. |
Default value
|
inline |
Shows the selection algorithm for the associated window.
out_algorithm | The selection algorithm for the associated window. |
|
inline |
Shows the deferral extent culling respected state for the associated window.
out_state | The deferral extent culling respected state. |
|
inline |
Shows the extent culling respected state for the associated window.
out_state | The extent culling respected state. |
|
inline |
Shows the frustum culling respected state for the associated window.
out_state | The frustum culling respected state. |
|
inline |
Shows the selection granularity for the associated window.
out_granularity | The selection granularity for the associated window. |
|
inline |
Shows the internal selection limit for the associated window.
out_limit | The internal selection limit for the associated window. |
|
inline |
Shows the selection level for the associated window.
out_level | The selection level for the associated window. |
|
inline |
Shows the selection proximity for the associated window.
out_proximity | The selection proximity for the associated window. |
|
inline |
Shows the related selection limit for the associated window.
out_limit | The related selection limit for the associated window. |
|
inline |
Shows whether selection sorting is enabled for the associated window.
out_sorted | whether selection sorting is enabled for the associated window. |
|
inline |
Shows the vector culling respected state for the associated window.
out_state | The vector culling respected state. |