#include <hps.h>
Additional Inherited Members | |
Static Public Member Functions inherited from HPS::Object | |
| template<typename T > | |
| static intptr_t | ClassID () |
Protected Member Functions inherited from HPS::Control | |
| Control (Control &&in_that) | |
| Control & | operator= (Control &&in_that) |
The HPS::CuttingSectionAttributeControl class is a smart pointer that is tied to a database object. This object is used to manipulate the various cutting section attributes. This table lists default values for the various segment attributes accessible from HPS::CuttingSectionAttributeControl.
|
explicit |
Initializes a control tied to the segment in_seg.
| HPS::CuttingSectionAttributeControl::CuttingSectionAttributeControl | ( | CuttingSectionAttributeControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
| HPS::CuttingSectionAttributeControl::CuttingSectionAttributeControl | ( | CuttingSectionAttributeControl && | in_that | ) |
The move constructor creates a CuttingSectionAttributeControl by transferring the underlying impl of the rvalue reference to this CuttingSectionAttributeControl thereby avoiding a copy and allocation.
| in_that | An rvalue reference to a CuttingSectionAttributeControl to take the impl from. |
| HPS::CuttingSectionAttributeControl::~CuttingSectionAttributeControl | ( | ) |
Releases a reference to the database object this control is tied to.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::Control.
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::operator= | ( | CuttingSectionAttributeControl && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this CuttingSectionAttributeControl thereby avoiding a copy.
| in_that | An rvalue reference to a CuttingSectionAttributeControl to take the impl from. |
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::operator= | ( | CuttingSectionAttributeControl const & | in_that | ) |
Share the smart-pointer.
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::SetCappingLevel | ( | CuttingSection::CappingLevel | in_level | ) |
Sets the cutting section capping level.
| in_level | The cutting section capping level. |
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::SetCuttingLevel | ( | CuttingSection::CuttingLevel | in_level | ) |
Sets the cutting section cutting level.
| in_level | The cutting section cutting level. |
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::SetMaterialPreference | ( | CuttingSection::MaterialPreference | in_preference | ) |
Sets the material preference for cut geometry.
| in_preference | The material preference for cut geometry. |
| bool HPS::CuttingSectionAttributeControl::ShowCappingLevel | ( | CuttingSection::CappingLevel & | out_level | ) | const |
Shows the cutting section capping level setting.
| out_level | The cutting section capping level. |
| bool HPS::CuttingSectionAttributeControl::ShowCuttingLevel | ( | CuttingSection::CuttingLevel & | out_level | ) | const |
Shows the cutting section cutting level setting.
| out_level | The cutting section cutting level. |
| bool HPS::CuttingSectionAttributeControl::ShowMaterialPreference | ( | CuttingSection::MaterialPreference & | out_preference | ) | const |
Shows the orientation of colors and radii of cylinders.
| out_preference | The material preference for cut geometry. |
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::UnsetCappingLevel | ( | ) |
Removes the cutting section capping level setting.
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::UnsetCuttingLevel | ( | ) |
Removes the cutting section cutting level setting.
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::UnsetEverything | ( | ) |
Removes all settings from this object.
| CuttingSectionAttributeControl& HPS::CuttingSectionAttributeControl::UnsetMaterialPreference | ( | ) |
Removes the material preference for cut geometry setting.