#include <hps.h>
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
![]() | |
Control (Control &&in_that) | |
Control & | operator= (Control &&in_that) |
The SelectabilityControl class is a smart pointer that is tied to a database object. This object allows you to set and unset the selectability of the various types of geometry, such as faces, lines, markers, and vertices.
Default values for the various fields of SelectabilityControl can be found here.
|
explicit |
Initializes a control tied to the segment in_seg.
HPS::SelectabilityControl::SelectabilityControl | ( | SelectabilityControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
HPS::SelectabilityControl::SelectabilityControl | ( | SelectabilityControl && | in_that | ) |
The move constructor creates a SelectabilityControl by transferring the underlying impl of the rvalue reference to this SelectabilityControl thereby avoiding a copy and allocation.
in_that | An rvalue reference to a SelectabilityControl to take the impl from. |
HPS::SelectabilityControl::~SelectabilityControl | ( | ) |
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.
SelectabilityControl& HPS::SelectabilityControl::operator= | ( | SelectabilityControl && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this SelectabilityControl thereby avoiding a copy.
in_that | An rvalue reference to a SelectabilityControl to take the impl from. |
SelectabilityControl& HPS::SelectabilityControl::operator= | ( | SelectabilityControl const & | in_that | ) |
Share the underlying smart-pointer of the SelectabilityControl source.
in_that | The SelectabilityControl source of the assignment. |
SelectabilityControl& HPS::SelectabilityControl::SetEdges | ( | Selectability::Value | in_val | ) |
Controls whether edges can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetEverything | ( | Selectability::Value | in_val | ) |
Sets the selectability of all geometry, subgeometry and windows.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetFaces | ( | Selectability::Value | in_val | ) |
Controls whether faces can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetGeometry | ( | Selectability::Value | in_val | ) |
Sets the selectability of all edges, faces, lights, lines, markers, vertices, and text.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetLights | ( | Selectability::Value | in_val | ) |
Controls whether lights can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetLines | ( | Selectability::Value | in_val | ) |
Controls whether lines can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetMarkers | ( | Selectability::Value | in_val | ) |
Controls whether markers can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetText | ( | Selectability::Value | in_val | ) |
Controls whether text can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetVertices | ( | Selectability::Value | in_val | ) |
Controls whether vertices can be selected by selection actions.
in_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::SetWindows | ( | Selectability::Value | in_val | ) |
Controls whether windows can be selected by selection actions.
in_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowEdges | ( | Selectability::Value & | out_val | ) | const |
Shows whether edges can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowFaces | ( | Selectability::Value & | out_val | ) | const |
Shows whether faces can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowLights | ( | Selectability::Value & | out_val | ) | const |
Shows whether lights can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowLines | ( | Selectability::Value & | out_val | ) | const |
Shows whether lines can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowMarkers | ( | Selectability::Value & | out_val | ) | const |
Shows whether markers can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowText | ( | Selectability::Value & | out_val | ) | const |
Shows whether text can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowVertices | ( | Selectability::Value & | out_val | ) | const |
Shows whether vertices can be selected by selection actions.
out_val | The level of selectability. |
bool HPS::SelectabilityControl::ShowWindows | ( | Selectability::Value & | out_val | ) | const |
Shows whether windows can be selected by selection actions.
out_val | The level of selectability. |
SelectabilityControl& HPS::SelectabilityControl::UnsetEdges | ( | ) |
Removes the selectability setting from edges.
SelectabilityControl& HPS::SelectabilityControl::UnsetEverything | ( | ) |
Removes all settings from this object.
SelectabilityControl& HPS::SelectabilityControl::UnsetFaces | ( | ) |
Removes the selectability setting from faces.
SelectabilityControl& HPS::SelectabilityControl::UnsetGeometry | ( | ) |
Removes the selectability settings from edges, faces, lights, lines, markers, vertices, and text.
SelectabilityControl& HPS::SelectabilityControl::UnsetLights | ( | ) |
Removes the selectability setting from lights.
SelectabilityControl& HPS::SelectabilityControl::UnsetLines | ( | ) |
Removes the selectability setting from lines.
SelectabilityControl& HPS::SelectabilityControl::UnsetMarkers | ( | ) |
Removes the selectability setting from markers.
SelectabilityControl& HPS::SelectabilityControl::UnsetText | ( | ) |
Removes the selectability setting from text.
SelectabilityControl& HPS::SelectabilityControl::UnsetVertices | ( | ) |
Removes the selectability setting from vertices.
SelectabilityControl& HPS::SelectabilityControl::UnsetWindows | ( | ) |
Removes the selectability setting from windows.