#include <rhinoSdkGumball.h>
CRhinoGumballAppearance class - gumball appearance settings
◆ CRhinoGumballAppearance()
CRhinoGumballAppearance::CRhinoGumballAppearance |
( |
| ) |
|
◆ Read() [1/2]
Description: Reads the CRhinoGumballAppearance settings from a CRhinoProfileContext. Any settings that are not in the profile context are set to the default values. Parameters: lpszSection - [in] pc - [in]; Returns: True if the read was successful.
◆ Read() [2/2]
◆ SetEnableScale()
void CRhinoGumballAppearance::SetEnableScale |
( |
const ON_3dVector & |
frame_scale_grip_distance | ) |
|
◆ SetToDefaultAppearance()
void CRhinoGumballAppearance::SetToDefaultAppearance |
( |
| ) |
|
Description: Set all CRhinoGumballAppearance fields to their default values. Everything is enabled, colors are set calling m_colors.SetToDefaultColors() and sizes are set by calling m_sizes.SetToDefaultSizes();
◆ Write() [1/2]
◆ Write() [2/2]
◆ default_bSnappy
bool CRhinoGumballAppearance::default_bSnappy |
|
static |
◆ m_bEnableMenu
bool CRhinoGumballAppearance::m_bEnableMenu |
When m_bEnableMenu is true, the menu "button" is drawn on the gumball. The default setting is true.
◆ m_bEnableRelocate
bool CRhinoGumballAppearance::m_bEnableRelocate |
When m_bEnableRelocation is true, the user can reposition the gumball by tapping the control key while dragging. Once the repostion drag is terminated by releasing the mouse button, ordinary editing resumes. The default setting is true.
◆ m_bEnableXExtrude
bool CRhinoGumballAppearance::m_bEnableXExtrude |
When m_bEnableX/Y/ZExtrude is true, the X/Y/Z axis extrude control is available. The default setting is false.
◆ m_bEnableXRotate
bool CRhinoGumballAppearance::m_bEnableXRotate |
When m_bEnableX/Y/ZRotate is true, the X/Y/Z rotation control is available. The default setting is true.
◆ m_bEnableXScale
bool CRhinoGumballAppearance::m_bEnableXScale |
When m_bEnableX/Y/ZScale is true, the X/Y/Z scale control is available. The default setting is true.
◆ m_bEnableXTranslate
bool CRhinoGumballAppearance::m_bEnableXTranslate |
When m_bEnableX/Y/ZTranslate is true, the X/Y/Z axis translation control is available. The default setting is true.
◆ m_bEnableXYTranslate
bool CRhinoGumballAppearance::m_bEnableXYTranslate |
When m_bEnableXY/YZ/ZXTranslate is true, the XY/YZ/ZX plane translation control is available in appropriate views. The default setting is true.
◆ m_bEnableYExtrude
bool CRhinoGumballAppearance::m_bEnableYExtrude |
◆ m_bEnableYRotate
bool CRhinoGumballAppearance::m_bEnableYRotate |
◆ m_bEnableYScale
bool CRhinoGumballAppearance::m_bEnableYScale |
◆ m_bEnableYTranslate
bool CRhinoGumballAppearance::m_bEnableYTranslate |
◆ m_bEnableYZTranslate
bool CRhinoGumballAppearance::m_bEnableYZTranslate |
◆ m_bEnableZExtrude
bool CRhinoGumballAppearance::m_bEnableZExtrude |
◆ m_bEnableZRotate
bool CRhinoGumballAppearance::m_bEnableZRotate |
◆ m_bEnableZScale
bool CRhinoGumballAppearance::m_bEnableZScale |
◆ m_bEnableZTranslate
bool CRhinoGumballAppearance::m_bEnableZTranslate |
◆ m_bEnableZXTranslate
bool CRhinoGumballAppearance::m_bEnableZXTranslate |
◆ m_colors
◆ m_iCutAxis
signed char CRhinoGumballAppearance::m_iCutAxis |
Used for quickly making a cut out of a brep with a selected curve 0 unsupported on selection m_iCutAxis & 1 supported on X m_iCutAxis & 2 supported on Y m_iCutAxis & 4 supported on Z
◆ m_iExtendAxis
signed char CRhinoGumballAppearance::m_iExtendAxis |
-1 = unset, 0 = x, 1 = y, 2 = z, corresponding to the axis face extension is supported along
◆ m_nEnableFreeTranslate
int CRhinoGumballAppearance::m_nEnableFreeTranslate |
When m_nEnableFreeTranslate is 1, the center translation control can be dragged in any direction and moves the object the gumball controls. When m_nEnableFreeTranslate is 2, the center translation control can be dragged in any direction and moves the object the gumball itself. The default value is 2.
◆ m_sizes