REFERENCE MANUAL
#include <hps.h>
Public Member Functions | |
void | Consume (NURBSSurfaceKit &in_kit) |
NURBSSurfaceKit & | EditPointsByDeletion (size_t in_offset, size_t in_count) |
NURBSSurfaceKit & | EditPointsByInsertion (size_t in_offset, size_t in_count, Point const in_points[]) |
NURBSSurfaceKit & | EditPointsByInsertion (size_t in_offset, PointArray const &in_points) |
NURBSSurfaceKit & | EditPointsByReplacement (size_t in_offset, size_t in_count, Point const in_points[]) |
NURBSSurfaceKit & | EditPointsByReplacement (size_t in_offset, PointArray const &in_points) |
NURBSSurfaceKit & | EditUKnotsByDeletion (size_t in_offset, size_t in_count) |
NURBSSurfaceKit & | EditUKnotsByInsertion (size_t in_offset, size_t in_count, float const in_knots[]) |
NURBSSurfaceKit & | EditUKnotsByInsertion (size_t in_offset, FloatArray const &in_knots) |
NURBSSurfaceKit & | EditUKnotsByReplacement (size_t in_offset, size_t in_count, float const in_knots[]) |
NURBSSurfaceKit & | EditUKnotsByReplacement (size_t in_offset, FloatArray const &in_knots) |
NURBSSurfaceKit & | EditVKnotsByDeletion (size_t in_offset, size_t in_count) |
NURBSSurfaceKit & | EditVKnotsByInsertion (size_t in_offset, size_t in_count, float const in_knots[]) |
NURBSSurfaceKit & | EditVKnotsByInsertion (size_t in_offset, FloatArray const &in_knots) |
NURBSSurfaceKit & | EditVKnotsByReplacement (size_t in_offset, size_t in_count, float const in_knots[]) |
NURBSSurfaceKit & | EditVKnotsByReplacement (size_t in_offset, FloatArray const &in_knots) |
NURBSSurfaceKit & | EditWeightsByDeletion (size_t in_offset, size_t in_count) |
NURBSSurfaceKit & | EditWeightsByInsertion (size_t in_offset, size_t in_count, float const in_weights[]) |
NURBSSurfaceKit & | EditWeightsByInsertion (size_t in_offset, FloatArray const &in_weights) |
NURBSSurfaceKit & | EditWeightsByReplacement (size_t in_offset, size_t in_count, float const in_weights[]) |
NURBSSurfaceKit & | EditWeightsByReplacement (size_t in_offset, FloatArray const &in_weights) |
bool | Empty () const |
bool | Equals (NURBSSurfaceKit const &in_kit) const |
size_t | GetPointCount () const |
NURBSSurfaceKit () | |
NURBSSurfaceKit (NURBSSurfaceKit const &in_kit) | |
NURBSSurfaceKit (NURBSSurfaceKit &&in_that) | |
Type | ObjectType () const |
bool | operator!= (NURBSSurfaceKit const &in_kit) const |
NURBSSurfaceKit & | operator= (NURBSSurfaceKit &&in_that) |
NURBSSurfaceKit & | operator= (NURBSSurfaceKit const &in_kit) |
bool | operator== (NURBSSurfaceKit const &in_kit) const |
void | Set (NURBSSurfaceKit const &in_kit) |
NURBSSurfaceKit & | SetPoints (PointArray const &in_points) |
NURBSSurfaceKit & | SetPoints (size_t in_count, Point const in_points[]) |
NURBSSurfaceKit & | SetPriority (int in_priority) |
NURBSSurfaceKit & | SetTrims (TrimKitArray const &in_trims) |
NURBSSurfaceKit & | SetTrims (size_t in_count, TrimKit const in_trims[]) |
NURBSSurfaceKit & | SetUCount (size_t in_count) |
NURBSSurfaceKit & | SetUDegree (size_t in_degree) |
NURBSSurfaceKit & | SetUKnots (FloatArray const &in_knots) |
NURBSSurfaceKit & | SetUKnots (size_t in_count, float const in_knots[]) |
NURBSSurfaceKit & | SetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[]) |
NURBSSurfaceKit & | SetUserData (intptr_t in_index, ByteArray const &in_data) |
NURBSSurfaceKit & | SetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data) |
NURBSSurfaceKit & | SetVCount (size_t in_count) |
NURBSSurfaceKit & | SetVDegree (size_t in_degree) |
NURBSSurfaceKit & | SetVKnots (FloatArray const &in_knots) |
NURBSSurfaceKit & | SetVKnots (size_t in_count, float const in_knots[]) |
NURBSSurfaceKit & | SetWeights (FloatArray const &in_weights) |
NURBSSurfaceKit & | SetWeights (size_t in_count, float const in_weights[]) |
void | Show (NURBSSurfaceKit &out_kit) const |
bool | ShowPoints (PointArray &out_points) const |
bool | ShowPriority (int &out_priority) const |
bool | ShowTrims (TrimKitArray &out_trims) const |
bool | ShowUCount (size_t &out_count) const |
bool | ShowUDegree (size_t &out_degree) const |
bool | ShowUKnots (FloatArray &out_knots) const |
bool | ShowUserData (intptr_t in_index, ByteArray &out_data) const |
bool | ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const |
size_t | ShowUserDataCount () const |
bool | ShowUserDataIndices (IntPtrTArray &out_indices) const |
bool | ShowVCount (size_t &out_count) const |
bool | ShowVDegree (size_t &out_degree) const |
bool | ShowVKnots (FloatArray &out_knots) const |
bool | ShowWeights (FloatArray &out_weights) const |
NURBSSurfaceKit & | UnsetAllUserData () |
NURBSSurfaceKit & | UnsetEverything () |
NURBSSurfaceKit & | UnsetPoints () |
NURBSSurfaceKit & | UnsetPriority () |
NURBSSurfaceKit & | UnsetTrims () |
NURBSSurfaceKit & | UnsetUCount () |
NURBSSurfaceKit & | UnsetUDegree () |
NURBSSurfaceKit & | UnsetUKnots () |
NURBSSurfaceKit & | UnsetUserData (intptr_t in_index) |
NURBSSurfaceKit & | UnsetUserData (size_t in_count, intptr_t const in_indices[]) |
NURBSSurfaceKit & | UnsetUserData (IntPtrTArray const &in_indices) |
NURBSSurfaceKit & | UnsetVCount () |
NURBSSurfaceKit & | UnsetVDegree () |
NURBSSurfaceKit & | UnsetVKnots () |
NURBSSurfaceKit & | UnsetWeights () |
![]() | |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (Type in_mask) const |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
Type | Type () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The NURBSSurfaceKit class is a user space object. It is a kit analog to a NURBSSurfaceKey.
NURBSSurfaceKit::NURBSSurfaceKit | ( | ) |
The default constructor creates an empty NURBSSurfaceKit object.
NURBSSurfaceKit::NURBSSurfaceKit | ( | NURBSSurfaceKit const & | in_kit | ) |
The copy constructor creates a new NURBSSurfaceKit object that contains the same settings as the source NURBSSurfaceKit.
in_kit | The source NURBSSurfaceKit to copy. |
NURBSSurfaceKit::NURBSSurfaceKit | ( | NURBSSurfaceKit && | in_that | ) |
The move constructor creates a NURBSSurfaceKit by transferring the underlying impl of the rvalue reference to this NURBSSurfaceKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a NURBSSurfaceKit to take the impl from. |
void NURBSSurfaceKit::Consume | ( | NURBSSurfaceKit & | in_kit | ) |
Copies the source NURBSSurfaceKit into this NURBSSurfaceKit and resets the source kit.
in_kit | The source NURBSSurfaceKit to consume. |
NURBSSurfaceKit& NURBSSurfaceKit::EditPointsByDeletion | ( | size_t | in_offset, |
size_t | in_count | ||
) |
Removes points from the control point list for this NURBSSurfaceKit.
in_offset | The offset into the control point list for the NURBSSurfaceKit 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 NURBSSurfaceKit. This value must be such that in_offset+in_count<=control_point_count for the deletion to succeed. |
NURBSSurfaceKit& NURBSSurfaceKit::EditPointsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
Point const | in_points[] | ||
) |
Adds points to the control point list for this NURBSSurfaceKit.
in_offset | The offset into the control point list for the NURBSSurfaceKit at which to insert points. This value must be such that in_offset<control_point_count for insertion to succeed. |
in_count | Size of the following array. |
in_points | The points to insert into the control point list at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditPointsByInsertion | ( | size_t | in_offset, |
PointArray const & | in_points | ||
) |
Adds points to the control point list for this NURBSSurfaceKit.
in_offset | The offset into the control point list for the NURBSSurfaceKit 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. |
NURBSSurfaceKit& NURBSSurfaceKit::EditPointsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
Point const | in_points[] | ||
) |
Replaces control points for this NURBSSurfaceKit.
in_offset | The offset into the control point list for the NURBSSurfaceKit at which to replace points. This value must be such that in_offset<control_point_count for insertion to succeed. |
in_count | Size of the following array. This value must be such that in_offset+in_count<=control_point_count for the replacement to succeed. |
in_points | The points to use to replace those in the control point list at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditPointsByReplacement | ( | size_t | in_offset, |
PointArray const & | in_points | ||
) |
Replaces control points for this NURBSSurfaceKit.
in_offset | The offset into the control point list for the NURBSSurfaceKit 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. |
NURBSSurfaceKit& NURBSSurfaceKit::EditUKnotsByDeletion | ( | size_t | in_offset, |
size_t | in_count | ||
) |
Removes knots in the U direction for this NURBSSurfaceKit. This will allow modification of the default knots in the U direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the U direction for the NURBSSurfaceKit at which to start removing knots. This value must be such that in_offset<u_count+u_degree+1 for deletion to succeed. |
in_count | The number of knots in the U direction to delete for the NURBSSurfaceKit. This value must be such that in_offset+in_count<=u_count+u_degree+1 for the deletion to succeed. |
NURBSSurfaceKit& NURBSSurfaceKit::EditUKnotsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_knots[] | ||
) |
Adds knots in the U direction for this NURBSSurfaceKit. This will allow modification of the default knots in the U direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the U direction for the NURBSSurfaceKit at which to insert knots. This value must be such that in_offset<u_count+u_degree+1 for insertion to succeed. |
in_count | Size of the following array. |
in_knots | The knots to insert in the U direction at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditUKnotsByInsertion | ( | size_t | in_offset, |
FloatArray const & | in_knots | ||
) |
Adds knots in the U direction for this NURBSSurfaceKit. This will allow modification of the default knots in the U direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the U direction for the NURBSSurfaceKit at which to insert knots. This value must be such that in_offset<u_count+u_degree+1 for insertion to succeed. |
in_knots | The knots to insert in the U direction at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditUKnotsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_knots[] | ||
) |
Replaces knots in the U direction for this NURBSSurfaceKit. This will allow modification of the default knots in the U direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the U direction for the NURBSSurfaceKit at which to replace knots. This value must be such that in_offset<u_count+u_degree+1 for the replacement to succeed. |
in_count | Size of the following array. This value must be such that in_offset+in_count<=u_count+u_degree+1 for the replacement to succeed. |
in_knots | The knots to use to replace those in the U direction at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditUKnotsByReplacement | ( | size_t | in_offset, |
FloatArray const & | in_knots | ||
) |
Replaces knots in the U direction for this NURBSSurfaceKit. This will allow modification of the default knots in the U direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the U direction for the NURBSSurfaceKit at which to replace knots. This value must be such that in_offset<u_count+u_degree+1 for the replacement to succeed. |
in_knots | The knots to use to replace those in the U direction at the specified offset. The size of the array must be such that in_offset+in_knots.size()<=u_count+u_degree+1 for the replacement to succeed. |
NURBSSurfaceKit& NURBSSurfaceKit::EditVKnotsByDeletion | ( | size_t | in_offset, |
size_t | in_count | ||
) |
Removes knots in the V direction for this NURBSSurfaceKit. This will allow modification of the default knots in the V direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the V direction for the NURBSSurfaceKit at which to start removing knots. This value must be such that in_offset<v_count+v_degree+1 for deletion to succeed. |
in_count | The number of knots in the V direction to delete for the NURBSSurfaceKit. This value must be such that in_offset+in_count<=v_count+v_degree+1 for the deletion to succeed. |
NURBSSurfaceKit& NURBSSurfaceKit::EditVKnotsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_knots[] | ||
) |
Adds knots in the V direction for this NURBSSurfaceKit. This will allow modification of the default knots in the V direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the V direction for the NURBSSurfaceKit at which to insert knots. This value must be such that in_offset<v_count+v_degree+1 for insertion to succeed. |
in_count | Size of the following array. |
in_knots | The knots to insert in the V direction at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditVKnotsByInsertion | ( | size_t | in_offset, |
FloatArray const & | in_knots | ||
) |
Adds knots in the V direction for this NURBSSurfaceKit. This will allow modification of the default knots in the V direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the V direction for the NURBSSurfaceKit at which to insert knots. This value must be such that in_offset<v_count+v_degree+1 for insertion to succeed. |
in_knots | The knots to insert in the V direction at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditVKnotsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_knots[] | ||
) |
Replaces knots in the V direction for this NURBSSurfaceKit. This will allow modification of the default knots in the V direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the V direction for the NURBSSurfaceKit at which to replace knots. This value must be such that in_offset<v_count+v_degree+1 for the replacement to succeed. |
in_count | Size of the following array. This value must be such that in_offset+in_count<=v_count+v_degree+1 for the replacement to succeed. |
in_knots | The knots to use to replace those in the V direction at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditVKnotsByReplacement | ( | size_t | in_offset, |
FloatArray const & | in_knots | ||
) |
Replaces knots in the V direction for this NURBSSurfaceKit. This will allow modification of the default knots in the V direction if no such explicit knots are set if possible.
in_offset | The offset into the knots in the V direction for the NURBSSurfaceKit at which to replace knots. This value must be such that in_offset<v_count+v_degree+1 for the replacement to succeed. |
in_knots | The knots to use to replace those in the V direction at the specified offset. The size of the array must be such that in_offset+in_knots.size()<=v_count+v_degree+1 for the replacement to succeed. |
NURBSSurfaceKit& NURBSSurfaceKit::EditWeightsByDeletion | ( | size_t | in_offset, |
size_t | in_count | ||
) |
Removes weights from the control point weight list for this NURBSSurfaceKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
in_offset | The offset into the control point weight list for the NURBSSurfaceKit 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 NURBSSurfaceKit. This value must be such that in_offset+in_count<=control_point_count for the deletion to succeed. |
NURBSSurfaceKit& NURBSSurfaceKit::EditWeightsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_weights[] | ||
) |
Adds weights to the control point weight list for this NURBSSurfaceKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
in_offset | The offset into the control point weight list for the NURBSSurfaceKit at which to insert weights. This value must be such that in_offset<control_point_count for insertion to succeed. |
in_count | Size of the following array. |
in_weights | The weights to insert into the control point weight list at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditWeightsByInsertion | ( | size_t | in_offset, |
FloatArray const & | in_weights | ||
) |
Adds weights to the control point weight list for this NURBSSurfaceKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
in_offset | The offset into the control point weight list for the NURBSSurfaceKit 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. |
NURBSSurfaceKit& NURBSSurfaceKit::EditWeightsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_weights[] | ||
) |
Replaces control point weights for this NURBSSurfaceKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
in_offset | The offset into the control point weight list for the NURBSSurfaceKit at which to replace weights. This value must be such that in_offset<control_point_count for insertion to succeed. |
in_count | Size of the following array. This value must be such that in_offset+in_count<=control_point_count for the replacement to succeed. |
in_weights | The weights to use to replace those in the control point weight list at the specified offset. |
NURBSSurfaceKit& NURBSSurfaceKit::EditWeightsByReplacement | ( | size_t | in_offset, |
FloatArray const & | in_weights | ||
) |
Replaces control point weights for this NURBSSurfaceKit. This will allow modification of the default control point weights if no explicit weights are set if possible.
in_offset | The offset into the control point weight list for the NURBSSurfaceKit 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()<=control_point_count for the replacement to succeed. |
|
virtual |
Indicates whether this NURBSSurfaceKit has any values set on it.
Reimplemented from Object.
bool NURBSSurfaceKit::Equals | ( | NURBSSurfaceKit const & | in_kit | ) | const |
Check if the source NURBSSurfaceKit is equivalent to this NURBSSurfaceKit.
in_kit | The source NURBSSurfaceKit to compare to this NURBSSurfaceKit. |
size_t NURBSSurfaceKit::GetPointCount | ( | ) | const |
Retrieves the number of points in this NURBS surface.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from Object.
bool NURBSSurfaceKit::operator!= | ( | NURBSSurfaceKit const & | in_kit | ) | const |
Check if the source NURBSSurfaceKit is not equivalent to this NURBSSurfaceKit.
in_kit | The source NURBSSurfaceKit to compare to this NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::operator= | ( | NURBSSurfaceKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this NURBSSurfaceKit thereby avoiding a copy.
in_that | An rvalue reference to a NURBSSurfaceKit to take the impl from. |
NURBSSurfaceKit& NURBSSurfaceKit::operator= | ( | NURBSSurfaceKit const & | in_kit | ) |
Copies the source NURBSSurfaceKit into this NURBSSurfaceKit.
in_kit | The source NURBSSurfaceKit to copy. |
bool NURBSSurfaceKit::operator== | ( | NURBSSurfaceKit const & | in_kit | ) | const |
Check if the source NURBSSurfaceKit is equivalent to this NURBSSurfaceKit.
in_kit | The source NURBSSurfaceKit to compare to this NURBSSurfaceKit. |
void NURBSSurfaceKit::Set | ( | NURBSSurfaceKit const & | in_kit | ) |
Copies the source NURBSSurfaceKit into this NURBSSurfaceKit.
in_kit | The source NURBSSurfaceKit to copy. |
NURBSSurfaceKit& NURBSSurfaceKit::SetPoints | ( | PointArray const & | in_points | ) |
Sets the control points for the NURBSSurfaceKit.
in_points | The control points for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetPoints | ( | size_t | in_count, |
Point const | in_points[] | ||
) |
Sets the control points for the NURBSSurfaceKit.
in_count | Size of the following array. |
in_points | The control points for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetPriority | ( | int | in_priority | ) |
Assigns a specific drawing priority value to the NURBSSurfaceKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority.
in_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
NURBSSurfaceKit& NURBSSurfaceKit::SetTrims | ( | TrimKitArray const & | in_trims | ) |
Sets the trims for the NURBSSurfaceKit.
in_trims | The trims for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetTrims | ( | size_t | in_count, |
TrimKit const | in_trims[] | ||
) |
Sets the trims for the NURBSSurfaceKit.
in_count | Size of the following array. |
in_trims | The trims for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUCount | ( | size_t | in_count | ) |
Sets the number of control points in the U direction for the NURBSSurfaceKit.
in_count | The number of control points in the U direction for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUDegree | ( | size_t | in_degree | ) |
Sets degree of the NURBSSurfaceKit in the U direction.
in_degree | The degree of the NURBSSurfaceKit in the U direction. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUKnots | ( | FloatArray const & | in_knots | ) |
Sets the knots in the U direction for the NURBSSurfaceKit. If no knots are set when this kit is used to insert a NURBS surface, default knots of increasing value in the range [0,u_count+u_degree+1) will be used.
in_knots | The knots in the U direction for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUKnots | ( | size_t | in_count, |
float const | in_knots[] | ||
) |
Sets the knots in the U direction for the NURBSSurfaceKit. If no knots are set when this kit is used to insert a NURBS surface, default knots of increasing value in the range [0,u_count+u_degree+1) will be used.
in_count | Size of the following array. |
in_knots | The knots in the U direction for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUserData | ( | intptr_t | in_index, |
size_t | in_bytes, | ||
byte const | in_data[] | ||
) |
Sets user data on this kit.
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. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUserData | ( | intptr_t | in_index, |
ByteArray const & | in_data | ||
) |
Sets user data on this kit.
in_index | The index of the user data to set. |
in_data | The bytes of user data to set. |
NURBSSurfaceKit& NURBSSurfaceKit::SetUserData | ( | IntPtrTArray const & | in_indices, |
ByteArrayArray const & | in_data | ||
) |
Sets user data on this kit.
out_indices | An array of user data indices to set. |
in_data | An array of bytes of user data to set. |
NURBSSurfaceKit& NURBSSurfaceKit::SetVCount | ( | size_t | in_count | ) |
Sets the number of control points in the V direction for the NURBSSurfaceKit.
in_count | The number of control points in the V direction for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetVDegree | ( | size_t | in_degree | ) |
Sets degree of the NURBSSurfaceKit in the V direction.
in_degree | The degree of the NURBSSurfaceKit in the V direction. |
NURBSSurfaceKit& NURBSSurfaceKit::SetVKnots | ( | FloatArray const & | in_knots | ) |
Sets the knots in the V direction for the NURBSSurfaceKit. If no knots are set when this kit is used to insert a NURBS surface, default knots of increasing value in the range [0,v_count+v_degree+1) will be used.
in_knots | The knots in the V direction for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetVKnots | ( | size_t | in_count, |
float const | in_knots[] | ||
) |
Sets the knots in the V direction for the NURBSSurfaceKit. If no knots are set when this kit is used to insert a NURBS surface, default knots of increasing value in the range [0,v_count+v_degree+1) will be used.
in_count | Size of the following array. |
in_knots | The knots in the V direction for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetWeights | ( | FloatArray const & | in_weights | ) |
Sets the control point weights for the NURBSSurfaceKit. If no weights are set when this kit is used to insert a NURBS surface, default weights of 1.0f per control point will be used.
in_weights | The control point weights for the NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::SetWeights | ( | size_t | in_count, |
float const | in_weights[] | ||
) |
Sets the control point weights for the NURBSSurfaceKit. If no weights are set when this kit is used to insert a NURBS surface, default weights of 1.0f per control point will be used.
in_count | Size of the following array. |
in_weights | The control point weights for the NURBSSurfaceKit. |
void NURBSSurfaceKit::Show | ( | NURBSSurfaceKit & | out_kit | ) | const |
Copies this NURBSSurfaceKit into the given NURBSSurfaceKit.
out_kit | The NURBSSurfaceKit to populate with the contents of this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowPoints | ( | PointArray & | out_points | ) | const |
Shows the control points for this NURBSSurfaceKit.
out_points | The control points for this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowPriority | ( | int & | out_priority | ) | const |
Shows the drawing priority.
out_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
bool NURBSSurfaceKit::ShowTrims | ( | TrimKitArray & | out_trims | ) | const |
Shows the trims for this NURBSSurfaceKit.
out_trims | The trims for this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowUCount | ( | size_t & | out_count | ) | const |
Shows the number of control points in the U direction for this NURBSSurfaceKit.
out_count | The number of control points in the U direction for this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowUDegree | ( | size_t & | out_degree | ) | const |
Shows the degree of this NURBSSurfaceKit in the U direction.
out_degree | The degree of this NURBSSurfaceKit in the U direction. |
bool NURBSSurfaceKit::ShowUKnots | ( | FloatArray & | out_knots | ) | const |
Shows the knots in the U direction for this NURBSSurfaceKit.
out_knots | The knots in the U direction for this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowUserData | ( | intptr_t | in_index, |
ByteArray & | out_data | ||
) | const |
Shows the user data at a given index for this kit.
in_index | The index of the user data to show. |
out_data | The user data at the given index. |
bool NURBSSurfaceKit::ShowUserData | ( | IntPtrTArray & | out_indices, |
ByteArrayArray & | out_data | ||
) | const |
Shows all user data for this kit.
out_indices | An array of all user data indices set on this kit. |
in_data | An array of all user data set on this kit. |
size_t NURBSSurfaceKit::ShowUserDataCount | ( | ) | const |
Get the number of user data indices set on this kit.
bool NURBSSurfaceKit::ShowUserDataIndices | ( | IntPtrTArray & | out_indices | ) | const |
Shows the indices of all user data set on this kit.
out_indices | The user data indices set on this kit. |
bool NURBSSurfaceKit::ShowVCount | ( | size_t & | out_count | ) | const |
Shows the number of control points in the V direction for this NURBSSurfaceKit.
out_count | The number of control points in the V direction for this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowVDegree | ( | size_t & | out_degree | ) | const |
Shows the degree of this NURBSSurfaceKit in the V direction.
out_degree | The degree of this NURBSSurfaceKit in the V direction. |
bool NURBSSurfaceKit::ShowVKnots | ( | FloatArray & | out_knots | ) | const |
Shows the knots in the V direction for this NURBSSurfaceKit.
out_knots | The knots in the V direction for this NURBSSurfaceKit. |
bool NURBSSurfaceKit::ShowWeights | ( | FloatArray & | out_weights | ) | const |
Shows the control point weights for this NURBSSurfaceKit.
out_weights | The control point weights for this NURBSSurfaceKit. |
NURBSSurfaceKit& NURBSSurfaceKit::UnsetAllUserData | ( | ) |
Removes all user data from this kit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetEverything | ( | ) |
Removes all settings from the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetPoints | ( | ) |
Removes the control points for the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetPriority | ( | ) |
Removes a drawing priority setting.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetTrims | ( | ) |
Removes the trims from the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetUCount | ( | ) |
Removes the setting for the number of points in the U direction for the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetUDegree | ( | ) |
Removes the setting for the degree of the NURBSSurfaceKit in the U direction.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetUKnots | ( | ) |
Removes the knots in the U direction for the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetUserData | ( | intptr_t | in_index | ) |
Removes the user data at the given index from this kit.
in_index | The index of the user data to remove. |
NURBSSurfaceKit& NURBSSurfaceKit::UnsetUserData | ( | size_t | in_count, |
intptr_t const | in_indices[] | ||
) |
Removes the user data at the given indices from this kit.
in_count | The size of the following array. |
in_indices | The indices of the user data to remove. |
NURBSSurfaceKit& NURBSSurfaceKit::UnsetUserData | ( | IntPtrTArray const & | in_indices | ) |
Removes the user data at the given indices from this kit.
in_indices | The indices of the user data to remove. |
NURBSSurfaceKit& NURBSSurfaceKit::UnsetVCount | ( | ) |
Removes the setting for the number of points in the V direction for the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetVDegree | ( | ) |
Removes the setting for the degree of the NURBSSurfaceKit in the V direction.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetVKnots | ( | ) |
Removes the knots in the V direction for the NURBSSurfaceKit.
NURBSSurfaceKit& NURBSSurfaceKit::UnsetWeights | ( | ) |
Removes the control point weights for the NURBSSurfaceKit.