
Public Member Functions | |
void | Consume (HPS.NURBSCurveKit in_kit) |
Copies the source NURBSCurveKit into this NURBSCurveKit and resets the source kit. More... | |
override void | Dispose () |
HPS.NURBSCurveKit | EditKnotsByDeletion (ulong in_offset, ulong in_count) |
Removes knots for this NURBSCurveKit. This will allow modification of the default knots if no explicit knots are set if possible. More... | |
HPS.NURBSCurveKit | EditKnotsByInsertion (ulong in_offset, float[] in_knots) |
Adds knots for this NURBSCurveKit. This will allow modification of the default knots if no explicit knots are set if possible. More... | |
HPS.NURBSCurveKit | EditKnotsByReplacement (ulong in_offset, float[] in_knots) |
Replaces knots for this NURBSCurveKit. This will allow modification of the default knots if no explicit knots are set if possible. More... | |
HPS.NURBSCurveKit | EditPointsByDeletion (ulong in_offset, ulong in_count) |
Removes points from the control point list for this NURBSCurveKit. More... | |
HPS.NURBSCurveKit | EditPointsByInsertion (ulong in_offset, HPS.Point[] in_points) |
Adds points to the control point list for this NURBSCurveKit. More... | |
HPS.NURBSCurveKit | EditPointsByReplacement (ulong in_offset, HPS.Point[] in_points) |
Replaces control points for this NURBSCurveKit. More... | |
HPS.NURBSCurveKit | EditWeightsByDeletion (ulong in_offset, ulong in_count) |
Removes weights from the control point weight list for this NURBSCurveKit. This will allow modification of the default control point weights if no explicit weights are set if possible. More... | |
HPS.NURBSCurveKit | EditWeightsByInsertion (ulong in_offset, float[] in_weights) |
Adds weights to the control point weight list for this NURBSCurveKit. This will allow modification of the default control point weights if no explicit weights are set if possible. More... | |
HPS.NURBSCurveKit | EditWeightsByReplacement (ulong in_offset, float[] in_weights) |
Replaces control point weights for this NURBSCurveKit. This will allow modification of the default control point weights if no explicit weights are set if possible. More... | |
override bool | Empty () |
Indicates whether this NURBSCurveKit has any values set on it. More... | |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.NURBSCurveKit in_kit) |
Check if the source NURBSCurveKit is equivalent to this NURBSCurveKit. More... | |
override int | GetHashCode () |
ulong | GetPointCount () |
Retrieves the number of points in this NURBS curve. More... | |
NURBSCurveKit () | |
The default constructor creates an empty NURBSCurveKit object. More... | |
NURBSCurveKit (HPS.NURBSCurveKit in_kit) | |
The copy constructor creates a new NURBSCurveKit object that contains the same settings as the source NURBSCurveKit. More... | |
override HPS.Type | ObjectType () |
void | Set (HPS.NURBSCurveKit in_kit) |
Copies the source NURBSCurveKit into this NURBSCurveKit. More... | |
HPS.NURBSCurveKit | SetDegree (ulong in_degree) |
Sets the degree of the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | SetKnots (float[] in_knots) |
Sets the knots for the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | SetParameters (float in_start, float in_end) |
Sets the normalized start and end parameters for the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | SetPoints (HPS.Point[] in_points) |
Sets the control points for the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | SetPriority (int in_priority) |
Assigns a specific drawing priority value to the NURBSCurveKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority. More... | |
HPS.NURBSCurveKit | SetUserData (IntPtr in_index, ulong in_bytes, byte[] in_data) |
Sets user data on this kit. More... | |
HPS.NURBSCurveKit | SetUserData (IntPtr in_index, byte[] in_data) |
Sets user data on this kit. More... | |
HPS.NURBSCurveKit | SetUserData (IntPtr[] in_indices, byte[][] in_data) |
Sets user data on this kit. More... | |
HPS.NURBSCurveKit | SetWeights (float[] in_weights) |
Sets the control point weights for the NURBSCurveKit. More... | |
void | Show (out HPS.NURBSCurveKit out_kit) |
Copies this NURBSCurveKit into the given NURBSCurveKit. More... | |
bool | ShowDegree (out ulong out_degree) |
Shows the degree of this NURBSCurveKit. More... | |
bool | ShowKnots (out float[] out_knots) |
Shows the knots for this NURBSCurveKit. More... | |
bool | ShowParameters (out float out_start, out float out_end) |
Shows the normalized start and end parameters for this NURBSCurveKit. More... | |
bool | ShowPoints (out HPS.Point[] out_points) |
Shows the control points for this NURBSCurveKit. More... | |
bool | ShowPointsByList (ulong[] in_indices, out HPS.Point[] out_points) |
Show a subset of the points for this NURBSCurveKit by list. More... | |
bool | ShowPointsByRange (ulong in_start_index, ulong in_count, out HPS.Point[] out_points) |
Show a subset of the points for this NURBSCurveKit by range. More... | |
bool | ShowPriority (out int out_priority) |
Shows the drawing priority. More... | |
bool | ShowUserData (IntPtr in_index, out byte[] out_data) |
Shows the user data at a given index for this kit. More... | |
bool | ShowUserData (out IntPtr[] out_indices, out byte[][] out_data) |
Shows all user data for this kit. More... | |
ulong | ShowUserDataCount () |
Get the number of user data indices set on this kit. More... | |
bool | ShowUserDataIndices (out IntPtr[] out_indices) |
Shows the indices of all user data set on this kit. More... | |
bool | ShowWeights (out float[] out_weights) |
Shows the control point weights for this NURBSCurveKit. More... | |
HPS.NURBSCurveKit | UnsetAllUserData () |
Removes all user data from this kit. More... | |
HPS.NURBSCurveKit | UnsetDegree () |
Removes the setting for the degree of the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | UnsetEverything () |
Removes all settings from the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | UnsetKnots () |
Removes the knots for the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | UnsetParameters () |
Removes the normalized start and end parameters for the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | UnsetPoints () |
Removes the control points for the NURBSCurveKit. More... | |
HPS.NURBSCurveKit | UnsetPriority () |
Removes a drawing priority setting. More... | |
HPS.NURBSCurveKit | UnsetUserData (IntPtr in_index) |
Removes the user data at the given index from this kit. More... | |
HPS.NURBSCurveKit | UnsetUserData (IntPtr[] in_indices) |
Removes the user data at the given indices from this kit. More... | |
HPS.NURBSCurveKit | UnsetWeights () |
Removes the control point weights for the NURBSCurveKit. More... | |
![]() | |
Kit (HPS.Kit in_that) | |
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... | |
![]() | |
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... | |
Static Public Member Functions | |
static bool | operator!= (HPS.NURBSCurveKit a, HPS.NURBSCurveKit b) |
static bool | operator== (HPS.NURBSCurveKit a, HPS.NURBSCurveKit b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The NURBSCurveKit class is a user space object. It is a kit analog to a NURBSCurveKey.
Constructor & Destructor Documentation
|
inline |
The default constructor creates an empty NURBSCurveKit object.
|
inline |
The copy constructor creates a new NURBSCurveKit object that contains the same settings as the source NURBSCurveKit.
- Parameters
-
in_kit The source NURBSCurveKit to copy.
Member Function Documentation
|
inline |
Copies the source NURBSCurveKit into this NURBSCurveKit and resets the source kit.
- Parameters
-
in_kit The source NURBSCurveKit to consume.
|
inline |
Removes knots for this NURBSCurveKit. This will allow modification of the default knots if no explicit knots are set if possible.
- Parameters
-
in_offset The offset into the knots for the NURBSCurveKit at which to start removing knots. This value must be such that in_offset<control_point_count+degree+1 for deletion to succeed. in_count The number of knots to delete for the NURBSCurveKit. This value must be such that in_offset+in_count<=control_point_count+degree+1 for the deletion to succeed.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Adds knots for this NURBSCurveKit. This will allow modification of the default knots if no explicit knots are set if possible.
- Parameters
-
in_offset The offset into the knots the NURBSCurveKit at which to insert knots. This value must be such that in_offset<control_point_count+degree+1 for insertion to succeed. in_knots The knots to insert at the specified offset.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Replaces knots for this NURBSCurveKit. This will allow modification of the default knots if no explicit knots are set if possible.
- Parameters
-
in_offset The offset into the knots for the NURBSCurveKit at which to replace knots. This value must be such that in_offset<control_point_count+degree+1 for the replacement to succeed. in_knots The knots to use to replace those at the specified offset. The size of the array must be such that in_offset+in_knots.size()<=control_point_count+degree+1 for the replacement to succeed.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes points from the control point list for this NURBSCurveKit.
- Parameters
-
in_offset The offset into the control point list for the NURBSCurveKit at which to start removing points. This value must be such that in_offset<control_point_count for deletion to succeed. in_count The number of points to delete from the control point list for the NURBSCurveKit. This value must be such that in_offset+in_count<=control_point_count for the deletion to succeed.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Adds points to the control point list for this NURBSCurveKit.
- Parameters
-
in_offset The offset into the control point list for the NURBSCurveKit at which to insert points. This value must be such that in_offset<control_point_count for insertion to succeed. in_points The points to insert into the control point list at the specified offset.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Replaces control points for this NURBSCurveKit.
- Parameters
-
in_offset The offset into the control point list for the NURBSCurveKit at which to replace points. This value must be such that in_offset<control_point_count for insertion to succeed. in_points The points to use to replace those in the control point list at the specified offset. This size of the array must be such that in_offset+in_points.size()<=control_point_count for the replacement to succeed.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes weights from the control point weight list for this NURBSCurveKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
- Parameters
-
in_offset The offset into the control point weight list for the NURBSCurveKit at which to start removing weights. This value must be such that in_offset<control_point_count for deletion to succeed. in_count The number of weights to delete from the control point weight list for the NURBSCurveKit. This value must be such that in_offset+in_count<=weight_count for the deletion to succeed.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Adds weights to the control point weight list for this NURBSCurveKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
- Parameters
-
in_offset The offset into the control point weight list for the NURBSCurveKit at which to insert weights. This value must be such that in_offset<control_point_count for insertion to succeed. in_weights The weights to insert into the control point weight list at the specified offset.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Replaces control point weights for this NURBSCurveKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
- Parameters
-
in_offset The offset into the control point weight list for the NURBSCurveKit at which to replace weights. This value must be such that in_offset<control_point_count for insertion to succeed. in_weights The weights to use to replace those in the control point weight list at the specified offset. This size of the array must be such that in_offset+in_weights.size()<=weight_count for the replacement to succeed.
- Returns
- A reference to this NURBSCurveKit.
|
inlinevirtual |
Indicates whether this NURBSCurveKit has any values set on it.
- Returns
- true if no values are set on this NURBSCurveKit, false otherwise.
Reimplemented from HPS.Object.
|
inline |
Check if the source NURBSCurveKit is equivalent to this NURBSCurveKit.
- Parameters
-
in_kit The source NURBSCurveKit to compare to this NURBSCurveKit.
- Returns
- true if the objects are equivalent, false otherwise.
|
inline |
Retrieves the number of points in this NURBS curve.
- Returns
- The number of points in this NURBS curve.
|
inline |
Copies the source NURBSCurveKit into this NURBSCurveKit.
- Parameters
-
in_kit The source NURBSCurveKit to copy.
|
inline |
Sets the degree of the NURBSCurveKit.
- Parameters
-
in_degree The degree of the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Sets the knots for the NURBSCurveKit.
- Parameters
-
in_knots The knots for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Sets the normalized start and end parameters for the NURBSCurveKit.
- Parameters
-
in_start The noramlized start parameter for the NURBSCurveKit. in_end The noramlized end parameter for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Sets the control points for the NURBSCurveKit.
- Parameters
-
in_points The control points for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Assigns a specific drawing priority value to the NURBSCurveKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority.
- Parameters
-
in_priority The drawing priority, higher priority items are drawn on top of lower priority items.
- Returns
- A reference to this object.
SubwindowKit.SetPriority()
|
inline |
Sets user data on this kit.
- Parameters
-
in_index The index of the user data to set. in_bytes The number of bytes of user data to set. in_data The bytes of user data to set.
- Returns
- A reference to this kit.
|
inline |
Sets user data on this kit.
- Parameters
-
in_index The index of the user data to set. in_data The bytes of user data to set.
- Returns
- A reference to this kit.
|
inline |
Sets user data on this kit.
- Parameters
-
in_indices An array of user data indices to set. in_data An array of bytes of user data to set.
- Returns
- A reference to this kit.
|
inline |
Sets the control point weights for the NURBSCurveKit.
- Parameters
-
in_weights The control point weights for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Copies this NURBSCurveKit into the given NURBSCurveKit.
- Parameters
-
out_kit The NURBSCurveKit to populate with the contents of this NURBSCurveKit.
|
inline |
Shows the degree of this NURBSCurveKit.
- Parameters
-
out_degree The degree of this NURBSCurveKit.
- Returns
- true if a degree was set, false otherwise.
|
inline |
Shows the knots for this NURBSCurveKit.
- Parameters
-
out_knots The knots for this NURBSCurveKit.
- Returns
- true if knots were set, false otherwise.
|
inline |
Shows the normalized start and end parameters for this NURBSCurveKit.
- Parameters
-
out_start The normalized start parameter for this NURBSCurveKit. out_end The normalized end parameter for this NURBSCurveKit.
- Returns
- true if start and end parameters were set, false otherwise.
|
inline |
Shows the control points for this NURBSCurveKit.
- Parameters
-
out_points The control points for this NURBSCurveKit.
- Returns
- true if control points were set, false otherwise.
|
inline |
Show a subset of the points for this NURBSCurveKit by list.
- Parameters
-
in_indices The list of point indices to show. out_points The requested points for this NURBSCurveKit.
- Returns
- true if all requested points were set, false otherwise.
|
inline |
Show a subset of the points for this NURBSCurveKit by range.
- Parameters
-
in_start_index The first point to show. in_count The number of points to show. out_points The requested points for this NURBSCurveKit.
- Returns
- true if all requested points were set, false otherwise.
|
inline |
Shows the drawing priority.
- Parameters
-
out_priority The drawing priority, higher priority items are drawn on top of lower priority items.
- Returns
- true if the setting is valid, false otherwise.
|
inline |
Shows the user data at a given index for this kit.
- Parameters
-
in_index The index of the user data to show. out_data The user data at the given index.
- Returns
- true if there is user data at the given index, false otherwise.
|
inline |
Shows all user data for this kit.
- Parameters
-
out_indices An array of all user data indices set on this kit. out_data An array of all user data set on this kit.
- Returns
- true if there is user data on this kit, false otherwise.
|
inline |
Get the number of user data indices set on this kit.
|
inline |
Shows the indices of all user data set on this kit.
- Parameters
-
out_indices The user data indices set on this kit.
- Returns
- The number of user data indices set on this kit.
|
inline |
Shows the control point weights for this NURBSCurveKit.
- Parameters
-
out_weights The control point weights for this NURBSCurveKit.
- Returns
- true if control point weights were set, false otherwise.
|
inline |
Removes all user data from this kit.
- Returns
- A reference to this kit.
|
inline |
Removes the setting for the degree of the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes all settings from the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes the knots for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes the normalized start and end parameters for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes the control points for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
|
inline |
Removes a drawing priority setting.
- Returns
- A reference to this object.
|
inline |
Removes the user data at the given index from this kit.
- Parameters
-
in_index The index of the user data to remove.
- Returns
- A reference to this kit.
|
inline |
Removes the user data at the given indices from this kit.
- Parameters
-
in_indices The indices of the user data to remove.
- Returns
- A reference to this kit.
|
inline |
Removes the control point weights for the NURBSCurveKit.
- Returns
- A reference to this NURBSCurveKit.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.NURBSCurveKit.cs