The TrimKit class is a user space object. More...
#include <hps.h>
Public Member Functions | |
TrimKit () | |
The default constructor creates an empty TrimKit object. More... | |
TrimKit (TrimKit const &in_kit) | |
The copy constructor creates a new TrimKit object that contains the same settings as the source TrimKit. More... | |
TrimKit (TrimKit &&in_that) | |
The move constructor creates a TrimKit by transferring the underlying impl of the rvalue reference to this TrimKit thereby avoiding a copy and allocation. More... | |
TrimKit & | operator= (TrimKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this TrimKit thereby avoiding a copy. More... | |
virtual | ~TrimKit () |
HPS::Type | ObjectType () const |
void | Set (TrimKit const &in_kit) |
Copies the source TrimKit into this TrimKit. More... | |
void | Show (TrimKit &out_kit) const |
Copies this TrimKit into the given TrimKit. More... | |
TrimKit & | operator= (TrimKit const &in_kit) |
Copies the source TrimKit into this TrimKit. More... | |
bool | Empty () const |
Indicates whether this TrimKit has any values set on it. More... | |
bool | Equals (TrimKit const &in_kit) const |
Check if the source TrimKit is equivalent to this TrimKit. More... | |
bool | operator== (TrimKit const &in_kit) const |
Check if the source TrimKit is equivalent to this TrimKit. More... | |
bool | operator!= (TrimKit const &in_kit) const |
Check if the source TrimKit is not equivalent to this TrimKit. More... | |
TrimKit & | SetShape (size_t in_count, TrimElement const in_shape[]) |
Sets the shape of the trim region. More... | |
TrimKit & | SetShape (TrimElementArray const &in_shape) |
Sets the shape of the trim region. More... | |
TrimKit & | SetShape (TrimElement const &in_shape) |
Sets the shape of the trim region. More... | |
TrimKit & | SetOperation (Trim::Operation in_operation) |
Sets the operation for the trim. More... | |
TrimKit & | UnsetShape () |
Removes the trim elements defining a trim region. More... | |
TrimKit & | UnsetOperation () |
Removes the operation for the trim. More... | |
TrimKit & | UnsetEverything () |
Removes all settings from this TrimKit. More... | |
bool | ShowShape (TrimElementArray &out_shape) const |
Shows the shape of the trim region. More... | |
bool | ShowOperation (Trim::Operation &out_operation) const |
Shows the operation for the trim. 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::TrimKit |
The TrimKit class is a user space object.
It is used to define trim curves (either NURBS curves or lines) that can be used to trim NURBS surfaces.
HPS::TrimKit::TrimKit | ( | ) |
The default constructor creates an empty TrimKit object.
HPS::TrimKit::TrimKit | ( | TrimKit const & | in_kit | ) |
HPS::TrimKit::TrimKit | ( | TrimKit && | in_that | ) |
|
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.
|
virtual |
Indicates whether this TrimKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::TrimKit::Equals | ( | TrimKit const & | in_kit | ) | const |
|
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.
|
inherited |
|
inlinevirtual |
bool HPS::TrimKit::operator!= | ( | TrimKit const & | in_kit | ) | const |
bool HPS::TrimKit::operator== | ( | TrimKit const & | in_kit | ) | const |
|
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::TrimKit::Set | ( | TrimKit const & | in_kit | ) |
TrimKit& HPS::TrimKit::SetOperation | ( | Trim::Operation | in_operation | ) |
Sets the operation for the trim.
in_operation | The operation for the trim. |
TrimKit& HPS::TrimKit::SetShape | ( | size_t | in_count, |
TrimElement const | in_shape[] | ||
) |
Sets the shape of the trim region.
The shape is a collection of trim elements.
in_count | Size of the following array. |
in_shape | An array of trim elements defining a trim region. |
TrimKit& HPS::TrimKit::SetShape | ( | TrimElementArray const & | in_shape | ) |
Sets the shape of the trim region.
The shape is a collection of trim elements.
in_shape | An array of trim elements defining a trim region. |
TrimKit& HPS::TrimKit::SetShape | ( | TrimElement const & | in_shape | ) |
Sets the shape of the trim region.
in_shape | An trim element defining a trim region. |
void HPS::TrimKit::Show | ( | TrimKit & | out_kit | ) | const |
bool HPS::TrimKit::ShowOperation | ( | Trim::Operation & | out_operation | ) | const |
Shows the operation for the trim.
out_operation | The operation for the trim. |
bool HPS::TrimKit::ShowShape | ( | TrimElementArray & | out_shape | ) | const |
Shows the shape of the trim region.
out_shape | The array of trim elements defining a trim region. |
|
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.
TrimKit& HPS::TrimKit::UnsetEverything | ( | ) |
TrimKit& HPS::TrimKit::UnsetOperation | ( | ) |
Removes the operation for the trim.
TrimKit& HPS::TrimKit::UnsetShape | ( | ) |
Removes the trim elements defining a trim region.
|
static |