The ImportResultsKit class contains the results of a successful OBJ import. More...
#include <hps.h>
Public Member Functions | |
ImportResultsKit () | |
The default constructor creates an empty ImportResultsKit object. More... | |
ImportResultsKit (ImportResultsKit const &in_kit) | |
The copy constructor creates a new ImportResultsKit object that contains the same settings as the source ImportResultsKit. More... | |
ImportResultsKit (ImportResultsKit &&in_that) | |
The move constructor creates an ImportResultsKit by transferring the underlying impl of the rvalue reference to this ImportResultsKit thereby avoiding a copy and allocation. More... | |
ImportResultsKit & | operator= (ImportResultsKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ImportResultsKit thereby avoiding a copy. More... | |
virtual | ~ImportResultsKit () |
HPS::Type | ObjectType () const |
void | Set (ImportResultsKit const &in_kit) |
Copies the source ImportResultsKit into this ImportResultsKit. More... | |
void | Show (ImportResultsKit &out_kit) const |
Copies this ImportResultsKit into the given ImportResultsKit. More... | |
ImportResultsKit & | operator= (ImportResultsKit const &in_kit) |
Copies the source ImportResultsKit into this ImportResultsKit. More... | |
bool | Empty () const |
Indicates whether this ImportResultsKit has any values set on it. More... | |
bool | Equals (ImportResultsKit const &in_kit) const |
Check if the source ImportResultsKit is equivalent to this ImportResultsKit. More... | |
bool | operator== (ImportResultsKit const &in_kit) const |
Check if the source ImportResultsKit is equivalent to this ImportResultsKit. More... | |
bool | operator!= (ImportResultsKit const &in_kit) const |
Check if the source ImportResultsKit is not equivalent to this ImportResultsKit. More... | |
ImportResultsKit & | SetSegment (SegmentKey const &in_segment) |
Sets the root segment which the OBJ data was imported into. More... | |
ImportResultsKit & | UnsetSegment () |
Removes the root segment which the OBJ data was imported into. More... | |
bool | ShowSegment (SegmentKey &out_segment) const |
Shows the root segment which the OBJ data was imported into. More... | |
ImportResultsKit & | SetPortfolio (PortfolioKey const &in_portfolio) |
Sets the portfolio which was used when the import file read in images and textures. More... | |
ImportResultsKit & | UnsetPortfolio () |
Removes the portfolio which was used when the import file imported images and textures. More... | |
bool | ShowPortfolio (PortfolioKey &out_portfolio) const |
Shows the portfolio which was used when the import file read in images and textures. More... | |
ImportResultsKit & | SetHandedness (Drawing::Handedness const &in_handedness) |
Sets the handedness used when importing geometry. More... | |
ImportResultsKit & | UnsetHandedness () |
Removes the handedness used to import geometry. More... | |
bool | ShowHandedness (Drawing::Handedness &out_handedness) const |
Shows handedness used to import geometry. More... | |
ImportResultsKit & | UnsetEverything () |
Removes all settings from this ImportResultsKit. 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::OBJImportResultsKit |
The ImportResultsKit class contains the results of a successful OBJ import.
HPS::OBJ::ImportResultsKit::ImportResultsKit | ( | ) |
The default constructor creates an empty ImportResultsKit object.
HPS::OBJ::ImportResultsKit::ImportResultsKit | ( | ImportResultsKit const & | in_kit | ) |
The copy constructor creates a new ImportResultsKit object that contains the same settings as the source ImportResultsKit.
in_kit | The source ImportResultsKit to copy. |
HPS::OBJ::ImportResultsKit::ImportResultsKit | ( | ImportResultsKit && | in_that | ) |
The move constructor creates an ImportResultsKit by transferring the underlying impl of the rvalue reference to this ImportResultsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to an ImportResultsKit 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.
|
virtual |
Indicates whether this ImportResultsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::OBJ::ImportResultsKit::Equals | ( | ImportResultsKit const & | in_kit | ) | const |
Check if the source ImportResultsKit is equivalent to this ImportResultsKit.
in_kit | The source ImportResultsKit to compare to this ImportResultsKit. |
|
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::OBJ::ImportResultsKit::operator!= | ( | ImportResultsKit const & | in_kit | ) | const |
Check if the source ImportResultsKit is not equivalent to this ImportResultsKit.
in_kit | The source ImportResultsKit to compare to this ImportResultsKit. |
ImportResultsKit& HPS::OBJ::ImportResultsKit::operator= | ( | ImportResultsKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ImportResultsKit thereby avoiding a copy.
in_that | An rvalue reference to an ImportResultsKit to take the impl from. |
ImportResultsKit& HPS::OBJ::ImportResultsKit::operator= | ( | ImportResultsKit const & | in_kit | ) |
Copies the source ImportResultsKit into this ImportResultsKit.
in_kit | The source ImportResultsKit to copy. |
bool HPS::OBJ::ImportResultsKit::operator== | ( | ImportResultsKit const & | in_kit | ) | const |
Check if the source ImportResultsKit is equivalent to this ImportResultsKit.
in_kit | The source ImportResultsKit to compare to this ImportResultsKit. |
|
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::OBJ::ImportResultsKit::Set | ( | ImportResultsKit const & | in_kit | ) |
Copies the source ImportResultsKit into this ImportResultsKit.
in_kit | The source ImportResultsKit to copy. |
ImportResultsKit& HPS::OBJ::ImportResultsKit::SetHandedness | ( | Drawing::Handedness const & | in_handedness | ) |
Sets the handedness used when importing geometry.
This is really only used when generating an ImportResultsKit which is being returned to a user following an OBJ import.
in_handedness | Handedness used to import geometry. |
ImportResultsKit& HPS::OBJ::ImportResultsKit::SetPortfolio | ( | PortfolioKey const & | in_portfolio | ) |
Sets the portfolio which was used when the import file read in images and textures.
This is really only used when generating an ImportResultsKit which is being returned to a user following an OBJ import.
in_portfolio | Portfolio that was used when the file imported images and textures. |
ImportResultsKit& HPS::OBJ::ImportResultsKit::SetSegment | ( | SegmentKey const & | in_segment | ) |
Sets the root segment which the OBJ data was imported into.
This is really only used when generating an ImportResultsKit which is being returned to a user following an OBJ import.
in_segment | Segment the OBJ data was imported into. |
void HPS::OBJ::ImportResultsKit::Show | ( | ImportResultsKit & | out_kit | ) | const |
Copies this ImportResultsKit into the given ImportResultsKit.
out_kit | The ImportResultsKit to populate with the contents of this ImportResultsKit. |
bool HPS::OBJ::ImportResultsKit::ShowHandedness | ( | Drawing::Handedness & | out_handedness | ) | const |
Shows handedness used to import geometry.
This was either the root segment specified by the user in the ImportOptionsKit passed to OBJ::File::Import, or the root segment that was created for this purpose during import.
out_handedness | Segment the OBJ data was imported into. |
bool HPS::OBJ::ImportResultsKit::ShowPortfolio | ( | PortfolioKey & | out_portfolio | ) | const |
Shows the portfolio which was used when the import file read in images and textures.
This was either the portfolio specified by the user in the ImportOptionsKit passed to OBJ::File::Import, or the portfolio that was created for this purpose during import.
in_portfolio | Portfolio that was used when the import file read in images and textures. |
bool HPS::OBJ::ImportResultsKit::ShowSegment | ( | SegmentKey & | out_segment | ) | const |
Shows the root segment which the OBJ data was imported into.
This was either the root segment specified by the user in the ImportOptionsKit passed to OBJ::File::Import, or the root segment that was created for this purpose during import.
out_segment | Segment the OBJ data was imported into. |
|
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.
ImportResultsKit& HPS::OBJ::ImportResultsKit::UnsetEverything | ( | ) |
Removes all settings from this ImportResultsKit.
ImportResultsKit& HPS::OBJ::ImportResultsKit::UnsetHandedness | ( | ) |
Removes the handedness used to import geometry.
This is really only used when generating an ImportResultsKit which is being returned to a user following an OBJ import.
ImportResultsKit& HPS::OBJ::ImportResultsKit::UnsetPortfolio | ( | ) |
Removes the portfolio which was used when the import file imported images and textures.
This is really only used when generating an ImportResultsKit which is being returned to a user following an OBJ import.
ImportResultsKit& HPS::OBJ::ImportResultsKit::UnsetSegment | ( | ) |
Removes the root segment which the OBJ data was imported into.
This is really only used when generating an ImportResultsKit which is being returned to a user following an OBJ import.
|
static |