The ShellKit class is a user space object. More...
#include <hps.h>
Public Member Functions | |
ShellRelationResultsKit () | |
The default constructor creates an empty ShellRelationResultsKit object. More... | |
ShellRelationResultsKit (ShellRelationResultsKit const &in_kit) | |
The copy constructor creates a new ShellRelationResultsKit object that contains the same settings as the source ShellRelationResultsKit. More... | |
ShellRelationResultsKit (ShellRelationResultsKit &&in_that) | |
The move constructor creates a ShellRelationResultsKit by transferring the underlying impl of the rvalue reference to this ShellRelationResultsKit thereby avoiding a copy and allocation. More... | |
ShellRelationResultsKit & | operator= (ShellRelationResultsKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ShellRelationResultsKit thereby avoiding a copy. More... | |
virtual | ~ShellRelationResultsKit () |
HPS::Type | ObjectType () const |
void | Consume (ShellRelationResultsKit &in_kit) |
Copies the source ShellRelationResultsKit into this ShellRelationResultsKit and resets the source kit. More... | |
void | Set (ShellRelationResultsKit const &in_kit) |
Copies the source ShellRelationResultsKit into this ShellRelationResultsKit. More... | |
void | Show (ShellRelationResultsKit &out_kit) const |
Copies this ShellRelationResultsKit into the given ShellRelationResultsKit. More... | |
ShellRelationResultsKit & | operator= (ShellRelationResultsKit const &in_kit) |
Copies the source ShellRelationResultsKit into this ShellRelationResultsKit. More... | |
bool | Empty () const |
Indicates whether this ShellRelationResultsKit has any values set on it. More... | |
bool | Equals (ShellRelationResultsKit const &in_kit) const |
Check if the source ShellRelationResultsKit is equivalent to this ShellRelationResultsKit. More... | |
bool | operator== (ShellRelationResultsKit const &in_kit) const |
Check if the source ShellRelationResultsKit is equivalent to this ShellRelationResultsKit. More... | |
bool | operator!= (ShellRelationResultsKit const &in_kit) const |
Check if the source ShellRelationResultsKit is not equivalent to this ShellRelationResultsKit. More... | |
bool | ShowRelations (ShellRelationArray &out_results) const |
Shows the relation of each point in a shell relation computation to the target shell. More... | |
bool | ShowNearestFaces (SizeTArray &out_faces) const |
Shows the nearest face in the target shell for each of a set of points. More... | |
bool | ShowDistances (FloatArray &out_distances) const |
Shows the smallest distance of each point in a shell relation computation to the target shell. 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::ShellRelationResultsKit |
The ShellKit class is a user space object.
It contains results from a shell relation operation.
HPS::ShellRelationResultsKit::ShellRelationResultsKit | ( | ) |
The default constructor creates an empty ShellRelationResultsKit object.
HPS::ShellRelationResultsKit::ShellRelationResultsKit | ( | ShellRelationResultsKit const & | in_kit | ) |
The copy constructor creates a new ShellRelationResultsKit object that contains the same settings as the source ShellRelationResultsKit.
in_kit | The source ShellRelationResultsKit to copy. |
HPS::ShellRelationResultsKit::ShellRelationResultsKit | ( | ShellRelationResultsKit && | in_that | ) |
The move constructor creates a ShellRelationResultsKit by transferring the underlying impl of the rvalue reference to this ShellRelationResultsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a ShellRelationResultsKit 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::ShellRelationResultsKit::Consume | ( | ShellRelationResultsKit & | in_kit | ) |
Copies the source ShellRelationResultsKit into this ShellRelationResultsKit and resets the source kit.
in_kit | The source ShellRelationResultsKit to consume. |
|
virtual |
Indicates whether this ShellRelationResultsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::ShellRelationResultsKit::Equals | ( | ShellRelationResultsKit const & | in_kit | ) | const |
Check if the source ShellRelationResultsKit is equivalent to this ShellRelationResultsKit.
in_kit | The source ShellRelationResultsKit to compare to this ShellRelationResultsKit. |
|
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::ShellRelationResultsKit::operator!= | ( | ShellRelationResultsKit const & | in_kit | ) | const |
Check if the source ShellRelationResultsKit is not equivalent to this ShellRelationResultsKit.
in_kit | The source ShellRelationResultsKit to compare to this ShellRelationResultsKit. |
ShellRelationResultsKit& HPS::ShellRelationResultsKit::operator= | ( | ShellRelationResultsKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ShellRelationResultsKit thereby avoiding a copy.
in_that | An rvalue reference to a ShellRelationResultsKit to take the impl from. |
ShellRelationResultsKit& HPS::ShellRelationResultsKit::operator= | ( | ShellRelationResultsKit const & | in_kit | ) |
Copies the source ShellRelationResultsKit into this ShellRelationResultsKit.
in_kit | The source ShellRelationResultsKit to copy. |
bool HPS::ShellRelationResultsKit::operator== | ( | ShellRelationResultsKit const & | in_kit | ) | const |
Check if the source ShellRelationResultsKit is equivalent to this ShellRelationResultsKit.
in_kit | The source ShellRelationResultsKit to compare to this ShellRelationResultsKit. |
|
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::ShellRelationResultsKit::Set | ( | ShellRelationResultsKit const & | in_kit | ) |
Copies the source ShellRelationResultsKit into this ShellRelationResultsKit.
in_kit | The source ShellRelationResultsKit to copy. |
void HPS::ShellRelationResultsKit::Show | ( | ShellRelationResultsKit & | out_kit | ) | const |
Copies this ShellRelationResultsKit into the given ShellRelationResultsKit.
out_kit | The ShellRelationResultsKit to populate with the contents of this ShellRelationResultsKit. |
bool HPS::ShellRelationResultsKit::ShowDistances | ( | FloatArray & | out_distances | ) | const |
Shows the smallest distance of each point in a shell relation computation to the target shell.
out_distances | The smallest distances, one per point, of points to a target shell. |
bool HPS::ShellRelationResultsKit::ShowNearestFaces | ( | SizeTArray & | out_faces | ) | const |
Shows the nearest face in the target shell for each of a set of points.
out_faces | The nearest faces, one per point, in the target shell to a set of points. |
bool HPS::ShellRelationResultsKit::ShowRelations | ( | ShellRelationArray & | out_results | ) | const |
Shows the relation of each point in a shell relation computation to the target shell.
out_results | The relations, one per point, of points to a target shell. |
|
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.
|
static |