REFERENCE MANUAL
#include <hps.h>
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
![]() | |
Control (Control &&in_that) | |
Control & | operator= (Control &&in_that) |
The 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 CuttingSectionAttributeControl.
|
explicit |
Initializes a control tied to the segment in_seg.
CuttingSectionAttributeControl::CuttingSectionAttributeControl | ( | CuttingSectionAttributeControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
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. |
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 Control.
CuttingSectionAttributeControl& 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& CuttingSectionAttributeControl::operator= | ( | CuttingSectionAttributeControl const & | in_that | ) |
Share the smart-pointer.
CuttingSectionAttributeControl& CuttingSectionAttributeControl::SetCappingLevel | ( | CuttingSection::CappingLevel | in_level | ) |
Sets the cutting section capping level.
in_level | The cutting section capping level. |
CuttingSectionAttributeControl& CuttingSectionAttributeControl::SetCuttingLevel | ( | CuttingSection::CuttingLevel | in_level | ) |
Sets the cutting section cutting level.
in_level | The cutting section cutting level. |
CuttingSectionAttributeControl& CuttingSectionAttributeControl::SetMaterialPreference | ( | CuttingSection::MaterialPreference | in_preference | ) |
Sets the material preference for cut geometry.
in_preference | The material preference for cut geometry. |
bool CuttingSectionAttributeControl::ShowCappingLevel | ( | CuttingSection::CappingLevel & | out_level | ) | const |
Shows the cutting section capping level setting.
out_level | The cutting section capping level. |
bool CuttingSectionAttributeControl::ShowCuttingLevel | ( | CuttingSection::CuttingLevel & | out_level | ) | const |
Shows the cutting section cutting level setting.
out_level | The cutting section cutting level. |
bool 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& CuttingSectionAttributeControl::UnsetCappingLevel | ( | ) |
Removes the cutting section capping level setting.
CuttingSectionAttributeControl& CuttingSectionAttributeControl::UnsetCuttingLevel | ( | ) |
Removes the cutting section cutting level setting.
CuttingSectionAttributeControl& CuttingSectionAttributeControl::UnsetEverything | ( | ) |
Removes all settings from this object.
CuttingSectionAttributeControl& CuttingSectionAttributeControl::UnsetMaterialPreference | ( | ) |
Removes the material preference for cut geometry setting.