The HPS::NURBSSurfaceAttributeControl class is a smart pointer that is tied to a database object. This object allows you to manipulate various settings related to NURBS surfaces, such as budget, angle, deviation, and width. This table lists default values for the various segment attributes accessible from HPS::NURBSSurfaceAttributeControl. More...
Public Member Functions | |
override void | Dispose () |
NURBSSurfaceAttributeControl (HPS.SegmentKey in_seg) | |
Initializes a control tied to the segment in_seg. More... | |
NURBSSurfaceAttributeControl (HPS.NURBSSurfaceAttributeControl 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. This does not necessarily give the true type of the underlying object. More... | |
HPS.NURBSSurfaceAttributeControl | SetBudget (ulong in_budget) |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of NURBS surfaces. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumDeviation (float in_deviation) |
Sets an upper bound for the distance, in object space, of the tessellation to the parametric definition of the surface. Note that since this setting is in object space, it should be set differently depending on the scale of the NURBS control points. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumAngle (float in_degrees) |
Sets the largest angle allowed between the surface tangents evaluated at any two corners of a given facet. Expressed in degrees. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumWidth (float in_width) |
The largest allowable length, in the NURBS surface's normalized [0..1] parametric space, of any facet's edge. More... | |
HPS.NURBSSurfaceAttributeControl | SetTrimBudget (ulong in_budget) |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of a trim curve. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumTrimDeviation (float in_deviation) |
Sets an upper bound for the distance, in the NURBS surface's normalized [0..1] parametric space, of trim curve vertices from the parametric definition of the trimming curve. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetBudget () |
Unsets the NURBS surface tessellation budget. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumDeviation () |
Removes the upper bound of the difference between the NURBS surface and its parametric definition. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumAngle () |
Removes the largest angle allowed between the surface tangents. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumWidth () |
Removes the setting for the largest allowable length of any facet's edge. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetTrimBudget () |
Removes the upper bound of vertices to be used in trim curve tessellation. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumTrimDeviation () |
Removes the upper bound of trim curve vertices from the parametric definition of the trimming curve. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetEverything () |
Removes all settings from this object. More... | |
bool | ShowBudget (out ulong out_budget) |
Shows the NURBS surface tessellation budget. More... | |
bool | ShowMaximumDeviation (out float out_deviation) |
Shows the upper bound of the difference between the NURBS surface and its parametric definition. More... | |
bool | ShowMaximumAngle (out float out_degrees) |
Shows the largest angle allowed between the surface tangents. More... | |
bool | ShowMaximumWidth (out float out_width) |
Shows the setting for the largest allowable length of any facet's edge. More... | |
bool | ShowTrimBudget (out ulong out_budget) |
Shows the upper bound of vertices to be used in trim curve tessellation. More... | |
bool | ShowMaximumTrimDeviation (out float out_deviation) |
Shows the upper bound of trim curve vertices from the parametric definition of the trimming curve. 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::NURBSSurfaceAttributeControl class is a smart pointer that is tied to a database object. This object allows you to manipulate various settings related to NURBS surfaces, such as budget, angle, deviation, and width. This table lists default values for the various segment attributes accessible from HPS::NURBSSurfaceAttributeControl.
|
inline |
Initializes a control tied to the segment in_seg.
|
inline |
Initializes a control tied to the same object as in_that.
|
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 an upper bound on the number of vertices that will be allowed in the tessellation of NURBS surfaces.
in_budget | The maximum number of vertices to be used in NURBS surface tessellation. |
|
inline |
Sets the largest angle allowed between the surface tangents evaluated at any two corners of a given facet. Expressed in degrees.
in_degrees | The maximum angle allowed between the surface tangents, in degrees. |
|
inline |
Sets an upper bound for the distance, in object space, of the tessellation to the parametric definition of the surface. Note that since this setting is in object space, it should be set differently depending on the scale of the NURBS control points.
in_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the surface. |
|
inline |
Sets an upper bound for the distance, in the NURBS surface's normalized [0..1] parametric space, of trim curve vertices from the parametric definition of the trimming curve.
in_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the trimming curve. |
|
inline |
The largest allowable length, in the NURBS surface's normalized [0..1] parametric space, of any facet's edge.
in_width | The largest allowable length of any facet's edge. Valid range is [0, sqrt(2)]. |
|
inline |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of a trim curve.
in_budget | The maximum number of vertices to be used in trim curve tessellation. |
|
inline |
Shows the NURBS surface tessellation budget.
out_budget | The maximum number of vertices to be used in NURBS surface tessellation. |
|
inline |
Shows the largest angle allowed between the surface tangents.
out_degrees | The maximum angle allowed between the surface tangents, in degrees. |
|
inline |
Shows the upper bound of the difference between the NURBS surface and its parametric definition.
out_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the surface. |
|
inline |
Shows the upper bound of trim curve vertices from the parametric definition of the trimming curve.
out_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the trimming curve. |
|
inline |
Shows the setting for the largest allowable length of any facet's edge.
out_width | The largest allowable length of any facet's edge.. |
|
inline |
Shows the upper bound of vertices to be used in trim curve tessellation.
out_budget | The maximum number of vertices to be used in trim curve tessellation. |
|
inline |
Unsets the NURBS surface tessellation budget.
|
inline |
Removes all settings from this object.
|
inline |
Removes the largest angle allowed between the surface tangents.
|
inline |
Removes the upper bound of the difference between the NURBS surface and its parametric definition.
|
inline |
Removes the upper bound of trim curve vertices from the parametric definition of the trimming curve.
|
inline |
Removes the setting for the largest allowable length of any facet's edge.
|
inline |
Removes the upper bound of vertices to be used in trim curve tessellation.