The HPS::SphereAttributeKit class is a user space object, useful for carrying a group attribute settings.
More...
#include <hps.h>
The HPS::SphereAttributeKit class is a user space object, useful for carrying a group attribute settings.
Calling HPS::SphereAttributeKit::GetDefault() will return a kit with values found in this table.
◆ SphereAttributeKit() [1/3]
HPS::SphereAttributeKit::SphereAttributeKit |
( |
| ) |
|
Initializes an empty kit.
◆ SphereAttributeKit() [2/3]
The copy constructor creates a new SphereAttributeKit object that contains the same settings as the source object.
- Parameters
-
in_kit | The source object to copy. |
◆ SphereAttributeKit() [3/3]
The move constructor creates a SphereAttributeKit by transferring the underlying impl of the rvalue reference to this SphereAttributeKit thereby avoiding a copy and allocation.
- Parameters
-
◆ ~SphereAttributeKit()
virtual HPS::SphereAttributeKit::~SphereAttributeKit |
( |
| ) |
|
|
virtual |
◆ ClassID()
template<typename T >
static intptr_t HPS::Object::ClassID |
( |
| ) |
|
|
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.
◆ Empty()
bool HPS::SphereAttributeKit::Empty |
( |
| ) |
const |
|
virtual |
Indicates whether this object has any values set on it.
- Returns
- true if no values are set on this object, false otherwise.
Reimplemented from HPS::Object.
◆ Equals()
Check if the source SphereAttributeKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetClassID()
intptr_t HPS::Object::GetClassID |
( |
| ) |
const |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
- Returns
- A unique value shared by all objects of the same class.
◆ GetDefault()
Creates a SphereAttributeKit which contains the default settings.
The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
- Returns
- A SphereAttributeKit with the default settings.
◆ GetInstanceID()
intptr_t HPS::Object::GetInstanceID |
( |
| ) |
const |
|
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.
- Returns
- A value unique to an instance of an object and all objects that are backed by the same database resource.
◆ HasType()
bool HPS::Object::HasType |
( |
HPS::Type |
in_mask | ) |
const |
|
inherited |
This function indicates whether this Object has the given Type mask.
- Parameters
-
in_mask | The Type mask to check against this Object. |
- Returns
- true if this Object has the given Type mask, false otherwise.
◆ ObjectType()
HPS::Type HPS::SphereAttributeKit::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
◆ operator!=()
Check if the source SphereAttributeKit is not equivalent to this object.
- Parameters
-
- Returns
- true if the objects are not equivalent, false otherwise.
◆ operator=() [1/2]
The move assignment operator transfers the underlying impl of the rvalue reference to this SphereAttributeKit thereby avoiding a copy.
- Parameters
-
- Returns
- A reference to this SphereAttributeKit.
◆ operator=() [2/2]
Copies the source SphereAttributeKit into this object.
- Parameters
-
- Returns
- A reference to this object.
◆ operator==()
Check if the source SphereAttributeKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ Reset()
virtual void HPS::Object::Reset |
( |
| ) |
|
|
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.
◆ Set()
◆ SetTessellation()
Sets the number of faces that should be generated around the equator of spheres.
- Parameters
-
in_facets | the number of faces that should be generated around the equator of spheres. |
- Returns
- A reference to this object.
◆ Show()
◆ ShowTessellation()
bool HPS::SphereAttributeKit::ShowTessellation |
( |
size_t & |
out_facets | ) |
const |
Shows the number of faces that should be generated around the equator of spheres.
- Parameters
-
out_facets | The number of faces that should be generated around the equator of spheres. |
- Returns
- true if the setting is valid, false otherwise.
◆ Type()
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.
- Returns
- The true type of the object in question.
Reimplemented from HPS::Object.
◆ UnsetEverything()
Removes all settings from this object.
- Returns
- A reference to this object.
◆ UnsetTessellation()
Removes the sphere tessellation setting.
- Returns
- A reference to this object.
◆ staticType
The documentation for this class was generated from the following file: