Configuration options kit for controlling HPS::Segment::Optimize behavior. More...
#include <hps.h>
Public Member Functions | |
SegmentOptimizationOptionsKit () | |
The default constructor creates an empty SegmentOptimizationOptionsKit object. More... | |
SegmentOptimizationOptionsKit (SegmentOptimizationOptionsKit const &in_kit) | |
The copy constructor creates a new SegmentOptimizationOptionsKit object that contains the same settings as the source SegmentOptimizationOptionsKit. More... | |
SegmentOptimizationOptionsKit (SegmentOptimizationOptionsKit &&in_kit) | |
The move constructor creates a SegmentOptimizationOptionsKit by transferring the underlying impl of the rvalue reference to this SegmentOptimizationOptionsKit thereby avoiding a copy and allocation. More... | |
virtual | ~SegmentOptimizationOptionsKit () |
HPS::Type | ObjectType () const |
void | Consume (SegmentOptimizationOptionsKit &in_kit) |
Copies the source SegmentOptimizationOptionsKit into this SegmentOptimizationOptionsKit and resets the source kit. More... | |
void | Set (SegmentOptimizationOptionsKit const &in_kit) |
Copies the source SegmentOptimizationOptionsKit into this SegmentOptimizationOptionsKit. More... | |
void | Show (SegmentOptimizationOptionsKit &out_kit) const |
Copies this SegmentOptimizationOptionsKit into the given SegmentOptimizationOptionsKit. More... | |
SegmentOptimizationOptionsKit & | operator= (SegmentOptimizationOptionsKit const &in_kit) |
Copies the source SegmentOptimizationOptionsKit into this SegmentOptimizationOptionsKit. More... | |
SegmentOptimizationOptionsKit & | operator= (SegmentOptimizationOptionsKit &&in_kit) |
The move assignment operator transfers the underlying impl of the rvalue reference to this SegmentOptimizationOptionsKit thereby avoiding a copy. More... | |
bool | Empty () const |
Indicates whether this SegmentOptimizationOptionsKit has any values set on it. More... | |
bool | Equals (SegmentOptimizationOptionsKit const &in_kit) const |
Check if the source SegmentOptimizationOptionsKit is equivalent to this SegmentOptimizationOptionsKit. More... | |
bool | operator== (SegmentOptimizationOptionsKit const &in_kit) const |
Check if the source SegmentOptimizationOptionsKit is equivalent to this SegmentOptimizationOptionsKit. More... | |
bool | operator!= (SegmentOptimizationOptionsKit const &in_kit) const |
Check if the source SegmentOptimizationOptionsKit is not equivalent to this SegmentOptimizationOptionsKit. More... | |
SegmentOptimizationOptionsKit & | SetUserData (HPS::SegmentOptimizationOptions::UserData in_user_data) |
Controls whether or not user data is discarded, preserved, merged, localized, or left as is. More... | |
SegmentOptimizationOptionsKit & | SetMatrix (HPS::SegmentOptimizationOptions::Matrix in_matrix) |
Controls whether or not matrices are localized, collapsed, or left as is. More... | |
SegmentOptimizationOptionsKit & | SetExpansion (HPS::SegmentOptimizationOptions::Expansion in_expansion) |
Controls whether or not includes or references are expanded. More... | |
SegmentOptimizationOptionsKit & | SetScope (HPS::SegmentOptimizationOptions::Scope in_scope) |
Controls the traversal scope of the optimization operation. More... | |
SegmentOptimizationOptionsKit & | SetReorganization (HPS::SegmentOptimizationOptions::Reorganization in_reorganization) |
Controls how the tree is reorganized. More... | |
SegmentOptimizationOptionsKit & | SetShellInstancing (bool in_shell_instancing) |
Controls whether or not duplicate shells are instanced. More... | |
SegmentOptimizationOptionsKit & | SetShellMerging (bool in_shell_merging) |
Controls whether or not distinct shells are merged into consolidated shells. More... | |
SegmentOptimizationOptionsKit & | SetAttributeDelocalization (bool in_attribute_delocalization) |
Controls whether or not local attributes will be pulled out of geometry. More... | |
SegmentOptimizationOptionsKit & | UnsetUserData () |
Unsets the UserData value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetMatrix () |
Unsets the Matrix value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetExpansion () |
Unsets the Expansion value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetScope () |
Unsets the Scope value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetReorganization () |
Unsets the Reorganization value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetShellInstancing () |
Unsets the ShellInstancing value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetShellMerging () |
Unsets the ShellMerging value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetAttributeDelocalization () |
Unsets the ttributeDelocalization value on this kit. More... | |
SegmentOptimizationOptionsKit & | UnsetEverything () |
Removes all settings from this object. More... | |
bool | ShowUserData (HPS::SegmentOptimizationOptions::UserData &out_user_data) const |
Shows the User Data setting. More... | |
bool | ShowMatrix (HPS::SegmentOptimizationOptions::Matrix &out_matrix) const |
Shows the Matrix setting. More... | |
bool | ShowExpansion (HPS::SegmentOptimizationOptions::Expansion &out_expansion) const |
Shows the Expansion setting. More... | |
bool | ShowScope (HPS::SegmentOptimizationOptions::Scope &out_scope) const |
Shows the Scope setting. More... | |
bool | ShowReorganization (HPS::SegmentOptimizationOptions::Reorganization &out_reorganization) const |
Shows the Reorganization setting. More... | |
bool | ShowShellInstancing (bool &out_shell_instancing) const |
Shows the Shell Instancing setting. More... | |
bool | ShowShellMerging (bool &out_shell_merging) const |
Shows the Shell Merging setting. More... | |
bool | ShowAttributeDelocalization (bool &out_attribute_delocalization) const |
Shows the Attribute Delocalization setting. 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::SegmentOptimizationOptionsKit |
Configuration options kit for controlling HPS::Segment::Optimize behavior.
HPS::SegmentOptimizationOptionsKit::SegmentOptimizationOptionsKit | ( | ) |
The default constructor creates an empty SegmentOptimizationOptionsKit object.
HPS::SegmentOptimizationOptionsKit::SegmentOptimizationOptionsKit | ( | SegmentOptimizationOptionsKit const & | in_kit | ) |
The copy constructor creates a new SegmentOptimizationOptionsKit object that contains the same settings as the source SegmentOptimizationOptionsKit.
in_kit | The source SegmentOptimizationOptionsKit to copy. |
HPS::SegmentOptimizationOptionsKit::SegmentOptimizationOptionsKit | ( | SegmentOptimizationOptionsKit && | in_kit | ) |
The move constructor creates a SegmentOptimizationOptionsKit by transferring the underlying impl of the rvalue reference to this SegmentOptimizationOptionsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a SegmentOptimizationOptionsKit 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::SegmentOptimizationOptionsKit::Consume | ( | SegmentOptimizationOptionsKit & | in_kit | ) |
Copies the source SegmentOptimizationOptionsKit into this SegmentOptimizationOptionsKit and resets the source kit.
in_kit | The source SegmentOptimizationOptionsKit to consume. |
|
virtual |
Indicates whether this SegmentOptimizationOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::SegmentOptimizationOptionsKit::Equals | ( | SegmentOptimizationOptionsKit const & | in_kit | ) | const |
Check if the source SegmentOptimizationOptionsKit is equivalent to this SegmentOptimizationOptionsKit.
in_kit | The source SegmentOptimizationOptionsKit to compare to this SegmentOptimizationOptionsKit. |
|
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::SegmentOptimizationOptionsKit::operator!= | ( | SegmentOptimizationOptionsKit const & | in_kit | ) | const |
Check if the source SegmentOptimizationOptionsKit is not equivalent to this SegmentOptimizationOptionsKit.
in_kit | The source SegmentOptimizationOptionsKit to compare to this SegmentOptimizationOptionsKit. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::operator= | ( | SegmentOptimizationOptionsKit const & | in_kit | ) |
Copies the source SegmentOptimizationOptionsKit into this SegmentOptimizationOptionsKit.
in_kit | The source SegmentOptimizationOptionsKit to copy. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::operator= | ( | SegmentOptimizationOptionsKit && | in_kit | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this SegmentOptimizationOptionsKit thereby avoiding a copy.
in_that | An rvalue reference to a SegmentOptimizationOptionsKit to take the impl from. |
bool HPS::SegmentOptimizationOptionsKit::operator== | ( | SegmentOptimizationOptionsKit const & | in_kit | ) | const |
Check if the source SegmentOptimizationOptionsKit is equivalent to this SegmentOptimizationOptionsKit.
in_kit | The source SegmentOptimizationOptionsKit to compare to this SegmentOptimizationOptionsKit. |
|
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::SegmentOptimizationOptionsKit::Set | ( | SegmentOptimizationOptionsKit const & | in_kit | ) |
Copies the source SegmentOptimizationOptionsKit into this SegmentOptimizationOptionsKit.
in_kit | The source SegmentOptimizationOptionsKit to copy. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetAttributeDelocalization | ( | bool | in_attribute_delocalization | ) |
Controls whether or not local attributes will be pulled out of geometry.
in_attribute_delocalization | Denotes whether or not local attributes will be pulled out of geometry. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetExpansion | ( | HPS::SegmentOptimizationOptions::Expansion | in_expansion | ) |
Controls whether or not includes or references are expanded.
in_expansion | The enum value describing how to handle includes and references. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetMatrix | ( | HPS::SegmentOptimizationOptions::Matrix | in_matrix | ) |
Controls whether or not matrices are localized, collapsed, or left as is.
in_matrix | The enum value describing how to handle matrices. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetReorganization | ( | HPS::SegmentOptimizationOptions::Reorganization | in_reorganization | ) |
Controls how the tree is reorganized.
in_reorganization | The enum value describing how to reorganize the tree. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetScope | ( | HPS::SegmentOptimizationOptions::Scope | in_scope | ) |
Controls the traversal scope of the optimization operation.
in_scope | The enum value describing the traversal scope of the optimization. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetShellInstancing | ( | bool | in_shell_instancing | ) |
Controls whether or not duplicate shells are instanced.
in_shell_instancing | Denotes whether or not shells will be instanced. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetShellMerging | ( | bool | in_shell_merging | ) |
Controls whether or not distinct shells are merged into consolidated shells.
in_shell_merging | Denotes whether or not shells will be merged. |
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::SetUserData | ( | HPS::SegmentOptimizationOptions::UserData | in_user_data | ) |
Controls whether or not user data is discarded, preserved, merged, localized, or left as is.
in_user_data | The enum value describing how to handle user data. |
void HPS::SegmentOptimizationOptionsKit::Show | ( | SegmentOptimizationOptionsKit & | out_kit | ) | const |
Copies this SegmentOptimizationOptionsKit into the given SegmentOptimizationOptionsKit.
out_kit | The SegmentOptimizationOptionsKit to populate with the contents of this SegmentOptimizationOptionsKit. |
bool HPS::SegmentOptimizationOptionsKit::ShowAttributeDelocalization | ( | bool & | out_attribute_delocalization | ) | const |
Shows the Attribute Delocalization setting.
out_attribute_delocalization |
bool HPS::SegmentOptimizationOptionsKit::ShowExpansion | ( | HPS::SegmentOptimizationOptions::Expansion & | out_expansion | ) | const |
Shows the Expansion setting.
out_expansion |
bool HPS::SegmentOptimizationOptionsKit::ShowMatrix | ( | HPS::SegmentOptimizationOptions::Matrix & | out_matrix | ) | const |
Shows the Matrix setting.
out_matrix |
bool HPS::SegmentOptimizationOptionsKit::ShowReorganization | ( | HPS::SegmentOptimizationOptions::Reorganization & | out_reorganization | ) | const |
Shows the Reorganization setting.
out_reorganization |
bool HPS::SegmentOptimizationOptionsKit::ShowScope | ( | HPS::SegmentOptimizationOptions::Scope & | out_scope | ) | const |
Shows the Scope setting.
out_scope |
bool HPS::SegmentOptimizationOptionsKit::ShowShellInstancing | ( | bool & | out_shell_instancing | ) | const |
Shows the Shell Instancing setting.
out_shell_instancing |
bool HPS::SegmentOptimizationOptionsKit::ShowShellMerging | ( | bool & | out_shell_merging | ) | const |
Shows the Shell Merging setting.
out_shell_merging |
bool HPS::SegmentOptimizationOptionsKit::ShowUserData | ( | HPS::SegmentOptimizationOptions::UserData & | out_user_data | ) | const |
Shows the User Data setting.
out_user_data |
|
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.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetAttributeDelocalization | ( | ) |
Unsets the ttributeDelocalization value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetEverything | ( | ) |
Removes all settings from this object.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetExpansion | ( | ) |
Unsets the Expansion value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetMatrix | ( | ) |
Unsets the Matrix value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetReorganization | ( | ) |
Unsets the Reorganization value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetScope | ( | ) |
Unsets the Scope value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetShellInstancing | ( | ) |
Unsets the ShellInstancing value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetShellMerging | ( | ) |
Unsets the ShellMerging value on this kit.
SegmentOptimizationOptionsKit& HPS::SegmentOptimizationOptionsKit::UnsetUserData | ( | ) |
Unsets the UserData value on this kit.
|
static |