The NURBSCurveKit class is a user space object. More...
#include <hps.h>
Public Member Functions | |
NURBSCurveKit () | |
The default constructor creates an empty NURBSCurveKit object. More... | |
NURBSCurveKit (NURBSCurveKit const &in_kit) | |
The copy constructor creates a new NURBSCurveKit object that contains the same settings as the source NURBSCurveKit. More... | |
NURBSCurveKit (NURBSCurveKit &&in_that) | |
The move constructor creates a NURBSCurveKit by transferring the underlying impl of the rvalue reference to this NURBSCurveKit thereby avoiding a copy and allocation. More... | |
NURBSCurveKit & | operator= (NURBSCurveKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this NURBSCurveKit thereby avoiding a copy. More... | |
virtual | ~NURBSCurveKit () |
HPS::Type | ObjectType () const |
void | Consume (NURBSCurveKit &in_kit) |
Copies the source NURBSCurveKit into this NURBSCurveKit and resets the source kit. More... | |
void | Set (NURBSCurveKit const &in_kit) |
Copies the source NURBSCurveKit into this NURBSCurveKit. More... | |
void | Show (NURBSCurveKit &out_kit) const |
Copies this NURBSCurveKit into the given NURBSCurveKit. More... | |
NURBSCurveKit & | operator= (NURBSCurveKit const &in_kit) |
Copies the source NURBSCurveKit into this NURBSCurveKit. More... | |
bool | Empty () const |
Indicates whether this NURBSCurveKit has any values set on it. More... | |
bool | Equals (NURBSCurveKit const &in_kit) const |
Check if the source NURBSCurveKit is equivalent to this NURBSCurveKit. More... | |
bool | operator== (NURBSCurveKit const &in_kit) const |
Check if the source NURBSCurveKit is equivalent to this NURBSCurveKit. More... | |
bool | operator!= (NURBSCurveKit const &in_kit) const |
Check if the source NURBSCurveKit is not equivalent to this NURBSCurveKit. More... | |
size_t | GetPointCount () const |
Retrieves the number of points in this NURBS curve. More... | |
NURBSCurveKit & | SetPriority (int in_priority) |
Assigns a specific drawing priority value to the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetPriority () |
Removes a drawing priority setting. More... | |
bool | ShowPriority (int &out_priority) const |
Shows the drawing priority. More... | |
NURBSCurveKit & | SetDegree (size_t in_degree) |
Sets the degree of the NURBSCurveKit. More... | |
NURBSCurveKit & | SetPoints (PointArray const &in_points) |
Sets the control points for the NURBSCurveKit. More... | |
NURBSCurveKit & | SetPoints (size_t in_count, Point const in_points []) |
Sets the control points for the NURBSCurveKit. More... | |
NURBSCurveKit & | SetWeights (FloatArray const &in_weights) |
Sets the control point weights for the NURBSCurveKit. More... | |
NURBSCurveKit & | SetWeights (size_t in_count, float const in_weights []) |
Sets the control point weights for the NURBSCurveKit. More... | |
NURBSCurveKit & | SetKnots (FloatArray const &in_knots) |
Sets the knots for the NURBSCurveKit. More... | |
NURBSCurveKit & | SetKnots (size_t in_count, float const in_knots []) |
Sets the knots for the NURBSCurveKit. More... | |
NURBSCurveKit & | SetParameters (float in_start, float in_end) |
Sets the normalized start and end parameters for the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetDegree () |
Removes the setting for the degree of the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetPoints () |
Removes the control points for the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetWeights () |
Removes the control point weights for the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetKnots () |
Removes the knots for the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetParameters () |
Removes the normalized start and end parameters for the NURBSCurveKit. More... | |
NURBSCurveKit & | UnsetEverything () |
Removes all settings from the NURBSCurveKit. More... | |
bool | ShowDegree (size_t &out_degree) const |
Shows the degree of this NURBSCurveKit. More... | |
bool | ShowPoints (PointArray &out_points) const |
Shows the control points for this NURBSCurveKit. More... | |
bool | ShowPointsByRange (size_t in_start_index, size_t in_count, PointArray &out_points) const |
Show a subset of the points for this NURBSCurveKit by range. More... | |
bool | ShowPointsByList (SizeTArray const &in_indices, PointArray &out_points) const |
Show a subset of the points for this NURBSCurveKit by list. More... | |
bool | ShowPointsByList (size_t in_count, size_t const in_indices[], PointArray &out_points) const |
Show a subset of the points for this NURBSCurveKit by list. More... | |
bool | ShowWeights (FloatArray &out_weights) const |
Shows the control point weights for this NURBSCurveKit. More... | |
bool | ShowKnots (FloatArray &out_knots) const |
Shows the knots for this NURBSCurveKit. More... | |
bool | ShowParameters (float &out_start, float &out_end) const |
Shows the normalized start and end parameters for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditPointsByInsertion (size_t in_offset, size_t in_count, Point const in_points[]) |
Adds points to the control point list for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditPointsByInsertion (size_t in_offset, PointArray const &in_points) |
Adds points to the control point list for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditPointsByDeletion (size_t in_offset, size_t in_count) |
Removes points from the control point list for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditPointsByReplacement (size_t in_offset, size_t in_count, Point const in_points[]) |
Replaces control points for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditPointsByReplacement (size_t in_offset, PointArray const &in_points) |
Replaces control points for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditWeightsByInsertion (size_t in_offset, size_t in_count, float const in_weights[]) |
Adds weights to the control point weight list for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditWeightsByInsertion (size_t in_offset, FloatArray const &in_weights) |
Adds weights to the control point weight list for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditWeightsByDeletion (size_t in_offset, size_t in_count) |
Removes weights from the control point weight list for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditWeightsByReplacement (size_t in_offset, size_t in_count, float const in_weights[]) |
Replaces control point weights for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditWeightsByReplacement (size_t in_offset, FloatArray const &in_weights) |
Replaces control point weights for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditKnotsByInsertion (size_t in_offset, size_t in_count, float const in_knots[]) |
Adds knots for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditKnotsByInsertion (size_t in_offset, FloatArray const &in_knots) |
Adds knots for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditKnotsByDeletion (size_t in_offset, size_t in_count) |
Removes knots for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditKnotsByReplacement (size_t in_offset, size_t in_count, float const in_knots[]) |
Replaces knots for this NURBSCurveKit. More... | |
NURBSCurveKit & | EditKnotsByReplacement (size_t in_offset, FloatArray const &in_knots) |
Replaces knots for this NURBSCurveKit. More... | |
NURBSCurveKit & | SetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[]) |
Sets user data on this kit. More... | |
NURBSCurveKit & | SetUserData (intptr_t in_index, ByteArray const &in_data) |
Sets user data on this kit. More... | |
NURBSCurveKit & | SetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data) |
Sets user data on this kit. More... | |
NURBSCurveKit & | UnsetUserData (intptr_t in_index) |
Removes the user data at the given index from this kit. More... | |
NURBSCurveKit & | UnsetUserData (size_t in_count, intptr_t const in_indices[]) |
Removes the user data at the given indices from this kit. More... | |
NURBSCurveKit & | UnsetUserData (IntPtrTArray const &in_indices) |
Removes the user data at the given indices from this kit. More... | |
NURBSCurveKit & | UnsetAllUserData () |
Removes all user data from this kit. More... | |
size_t | ShowUserDataCount () const |
Get the number of user data indices set on this kit. More... | |
bool | ShowUserDataIndices (IntPtrTArray &out_indices) const |
Shows the indices of all user data set on this kit. More... | |
bool | ShowUserData (intptr_t in_index, ByteArray &out_data) const |
Shows the user data at a given index for this kit. More... | |
bool | ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const |
Shows all user data for this kit. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::NURBSCurveKit |
The NURBSCurveKit class is a user space object.
It is a kit analog to a NURBSCurveKey.
HPS::NURBSCurveKit::NURBSCurveKit | ( | ) |
The default constructor creates an empty NURBSCurveKit object.
HPS::NURBSCurveKit::NURBSCurveKit | ( | NURBSCurveKit const & | in_kit | ) |
The copy constructor creates a new NURBSCurveKit object that contains the same settings as the source NURBSCurveKit.
in_kit | The source NURBSCurveKit to copy. |
HPS::NURBSCurveKit::NURBSCurveKit | ( | NURBSCurveKit && | in_that | ) |
The move constructor creates a NURBSCurveKit by transferring the underlying impl of the rvalue reference to this NURBSCurveKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a NURBSCurveKit to take the impl from. |
|
virtual |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
void HPS::NURBSCurveKit::Consume | ( | NURBSCurveKit & | in_kit | ) |
Copies the source NURBSCurveKit into this NURBSCurveKit and resets the source kit.
in_kit | The source NURBSCurveKit to consume. |
NURBSCurveKit& HPS::NURBSCurveKit::EditKnotsByDeletion | ( | size_t | in_offset, |
size_t | in_count | ||
) |
Removes knots for this NURBSCurveKit.
This will allow modification of the default knots if no explicit knots are set if possible.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditKnotsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_knots[] | ||
) |
Adds knots for this NURBSCurveKit.
This will allow modification of the default knots if no explicit knots are set if possible.
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_count | Size of the following array. |
in_knots | The knots to insert at the specified offset. |
NURBSCurveKit& HPS::NURBSCurveKit::EditKnotsByInsertion | ( | size_t | in_offset, |
FloatArray const & | in_knots | ||
) |
Adds knots for this NURBSCurveKit.
This will allow modification of the default knots if no explicit knots are set if possible.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditKnotsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | in_knots[] | ||
) |
Replaces knots for this NURBSCurveKit.
This will allow modification of the default knots if no explicit knots are set if possible.
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_count | Size of the following array. This value must be such that in_offset+in_count<=control_point_count+degree+1 for the replacement to succeed. |
in_knots | The knots to use to replace those at the specified offset. |
NURBSCurveKit& HPS::NURBSCurveKit::EditKnotsByReplacement | ( | size_t | in_offset, |
FloatArray const & | in_knots | ||
) |
Replaces knots for this NURBSCurveKit.
This will allow modification of the default knots if no explicit knots are set if possible.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditPointsByDeletion | ( | size_t | in_offset, |
size_t | in_count | ||
) |
Removes points from the control point list for this NURBSCurveKit.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditPointsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
Point const | in_points[] | ||
) |
Adds points to the control point list for this NURBSCurveKit.
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_count | Size of the following array. |
in_points | The points to insert into the control point list at the specified offset. |
NURBSCurveKit& HPS::NURBSCurveKit::EditPointsByInsertion | ( | size_t | in_offset, |
PointArray const & | in_points | ||
) |
Adds points to the control point list for this NURBSCurveKit.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditPointsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
Point const | in_points[] | ||
) |
Replaces control points for this NURBSCurveKit.
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_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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditPointsByReplacement | ( | size_t | in_offset, |
PointArray const & | in_points | ||
) |
Replaces control points for this NURBSCurveKit.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditWeightsByDeletion | ( | size_t | in_offset, |
size_t | 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.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditWeightsByInsertion | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | 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.
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_count | Size of the following array. |
in_weights | The weights to insert into the control point weight list at the specified offset. |
NURBSCurveKit& HPS::NURBSCurveKit::EditWeightsByInsertion | ( | size_t | in_offset, |
FloatArray const & | 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.
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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditWeightsByReplacement | ( | size_t | in_offset, |
size_t | in_count, | ||
float const | 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.
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_count | Size of the following array. This value must be such that in_offset+in_count<=weight_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. |
NURBSCurveKit& HPS::NURBSCurveKit::EditWeightsByReplacement | ( | size_t | in_offset, |
FloatArray const & | 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.
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. |
|
virtual |
Indicates whether this NURBSCurveKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::NURBSCurveKit::Equals | ( | NURBSCurveKit const & | in_kit | ) | const |
Check if the source NURBSCurveKit is equivalent to this NURBSCurveKit.
in_kit | The source NURBSCurveKit to compare to this NURBSCurveKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
inherited |
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.
size_t HPS::NURBSCurveKit::GetPointCount | ( | ) | const |
Retrieves the number of points in this NURBS curve.
|
inherited |
|
inlinevirtual |
bool HPS::NURBSCurveKit::operator!= | ( | NURBSCurveKit const & | in_kit | ) | const |
Check if the source NURBSCurveKit is not equivalent to this NURBSCurveKit.
in_kit | The source NURBSCurveKit to compare to this NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::operator= | ( | NURBSCurveKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this NURBSCurveKit thereby avoiding a copy.
in_that | An rvalue reference to a NURBSCurveKit to take the impl from. |
NURBSCurveKit& HPS::NURBSCurveKit::operator= | ( | NURBSCurveKit const & | in_kit | ) |
Copies the source NURBSCurveKit into this NURBSCurveKit.
in_kit | The source NURBSCurveKit to copy. |
bool HPS::NURBSCurveKit::operator== | ( | NURBSCurveKit const & | in_kit | ) | const |
Check if the source NURBSCurveKit is equivalent to this NURBSCurveKit.
in_kit | The source NURBSCurveKit to compare to this NURBSCurveKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::NURBSCurveKit::Set | ( | NURBSCurveKit const & | in_kit | ) |
Copies the source NURBSCurveKit into this NURBSCurveKit.
in_kit | The source NURBSCurveKit to copy. |
NURBSCurveKit& HPS::NURBSCurveKit::SetDegree | ( | size_t | in_degree | ) |
Sets the degree of the NURBSCurveKit.
in_degree | The degree of the NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::SetKnots | ( | FloatArray const & | in_knots | ) |
Sets the knots for the NURBSCurveKit.
in_knots | The knots for the NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::SetKnots | ( | size_t | in_count, |
float const | in_knots[] | ||
) |
Sets the knots for the NURBSCurveKit.
in_count | Size of the following array. |
in_knots | The knots for the NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::SetParameters | ( | float | in_start, |
float | in_end | ||
) |
Sets the normalized start and end parameters for the NURBSCurveKit.
in_start | The noramlized start parameter for the NURBSCurveKit. |
in_end | The noramlized end parameter for the NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::SetPoints | ( | PointArray const & | in_points | ) |
Sets the control points for the NURBSCurveKit.
in_points | The control points for the NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::SetPoints | ( | size_t | in_count, |
Point const | in_points[] | ||
) |
Sets the control points for the NURBSCurveKit.
in_count | Size of the following array. |
in_points | The control points for the NURBSCurveKit. |
NURBSCurveKit& 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.
in_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
NURBSCurveKit& HPS::NURBSCurveKit::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. |
NURBSCurveKit& HPS::NURBSCurveKit::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. |
NURBSCurveKit& HPS::NURBSCurveKit::SetUserData | ( | IntPtrTArray const & | in_indices, |
ByteArrayArray const & | in_data | ||
) |
Sets user data on this kit.
in_indices | An array of user data indices to set. |
in_data | An array of bytes of user data to set. |
NURBSCurveKit& HPS::NURBSCurveKit::SetWeights | ( | FloatArray const & | in_weights | ) |
Sets the control point weights for the NURBSCurveKit.
in_weights | The control point weights for the NURBSCurveKit. |
NURBSCurveKit& HPS::NURBSCurveKit::SetWeights | ( | size_t | in_count, |
float const | in_weights[] | ||
) |
Sets the control point weights for the NURBSCurveKit.
in_count | Size of the following array. |
in_weights | The control point weights for the NURBSCurveKit. |
void HPS::NURBSCurveKit::Show | ( | NURBSCurveKit & | out_kit | ) | const |
Copies this NURBSCurveKit into the given NURBSCurveKit.
out_kit | The NURBSCurveKit to populate with the contents of this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowDegree | ( | size_t & | out_degree | ) | const |
Shows the degree of this NURBSCurveKit.
out_degree | The degree of this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowKnots | ( | FloatArray & | out_knots | ) | const |
Shows the knots for this NURBSCurveKit.
out_knots | The knots for this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowParameters | ( | float & | out_start, |
float & | out_end | ||
) | const |
Shows the normalized start and end parameters for this NURBSCurveKit.
out_start | The normalized start parameter for this NURBSCurveKit. |
out_end | The normalized end parameter for this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowPoints | ( | PointArray & | out_points | ) | const |
Shows the control points for this NURBSCurveKit.
out_points | The control points for this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowPointsByList | ( | SizeTArray const & | in_indices, |
PointArray & | out_points | ||
) | const |
Show a subset of the points for this NURBSCurveKit by list.
in_indices | The list of point indices to show. |
out_points | The requested points for this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowPointsByList | ( | size_t | in_count, |
size_t const | in_indices[], | ||
PointArray & | out_points | ||
) | const |
Show a subset of the points for this NURBSCurveKit by list.
in_count | The number of points to show. |
in_indices | The list of point indices to show. |
out_points | The requested points for this NURBSCurveKit. |
bool HPS::NURBSCurveKit::ShowPointsByRange | ( | size_t | in_start_index, |
size_t | in_count, | ||
PointArray & | out_points | ||
) | const |
Show a subset of the points for this NURBSCurveKit by range.
in_start_index | The first point to show. |
in_count | The number of points to show. |
out_points | The requested points for this NURBSCurveKit. |
bool HPS::NURBSCurveKit::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 HPS::NURBSCurveKit::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 HPS::NURBSCurveKit::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. |
out_data | An array of all user data set on this kit. |
size_t HPS::NURBSCurveKit::ShowUserDataCount | ( | ) | const |
Get the number of user data indices set on this kit.
bool HPS::NURBSCurveKit::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 HPS::NURBSCurveKit::ShowWeights | ( | FloatArray & | out_weights | ) | const |
Shows the control point weights for this NURBSCurveKit.
out_weights | The control point weights for this NURBSCurveKit. |
|
inlinevirtualinherited |
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.
Reimplemented from HPS::Object.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetAllUserData | ( | ) |
Removes all user data from this kit.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetDegree | ( | ) |
Removes the setting for the degree of the NURBSCurveKit.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetEverything | ( | ) |
Removes all settings from the NURBSCurveKit.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetKnots | ( | ) |
Removes the knots for the NURBSCurveKit.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetParameters | ( | ) |
Removes the normalized start and end parameters for the NURBSCurveKit.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetPoints | ( | ) |
Removes the control points for the NURBSCurveKit.
NURBSCurveKit& HPS::NURBSCurveKit::UnsetPriority | ( | ) |
Removes a drawing priority setting.
NURBSCurveKit& HPS::NURBSCurveKit::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. |
NURBSCurveKit& HPS::NURBSCurveKit::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. |
NURBSCurveKit& HPS::NURBSCurveKit::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. |
NURBSCurveKit& HPS::NURBSCurveKit::UnsetWeights | ( | ) |
Removes the control point weights for the NURBSCurveKit.
|
static |