Rhino C++ API
8.17
|
#include <rhinoSdkGumball.h>
Public Attributes | |
CRhinoGumballAppearance | m_appearance |
CRhinoGumballFrame | m_frame |
CRhinoGumball class - frame and appearance settings
CRhinoGumball::CRhinoGumball | ( | ON::active_space | ) |
CRhinoGumball::~CRhinoGumball | ( | ) |
CRhinoGumball::CRhinoGumball | ( | const CRhinoGumball & | ) |
CRhinoGumball::CRhinoGumball | ( | CRhinoGumball && | ) |
ON::active_space CRhinoGumball::ActiveSpace | ( | void | ) | const |
ON_BoundingBox CRhinoGumball::BoundingBox | ( | const CRhinoViewport & | viewport | ) | const |
Returns: World coordinate bounding box. The bounding box depends on the viewport that is displaying the gumball.
void CRhinoGumball::DrawDynamicGumball | ( | CRhinoDisplayPipeline & | dp, |
GUMBALL_MODE | gumball_mode, | ||
const ON_Line & | drag_line, | ||
const CRhinoGumballFrame & | start_frame, | ||
GUMBALL_MODE | highlight_mode = gb_mode_nothing |
||
) | const |
Description: Draw gumball and dragging decorations that indicate how the gumball is moving. Parameters: dp - [in] gumball_mode - [in] gb_mode_nothing will draw complete gumball or pass the mode returned by CRhinoGumball::Pick(...) to draw what matters when a dynamic drag is happening. drag_line - [in] line returned by m_frame.Drag(...) start_frame - [in] starting point for the gumball highlight_mode - [in] indicates which gumball element to draw highlighted
void CRhinoGumball::DrawStaticGumball | ( | CRhinoDisplayPipeline & | dp, |
GUMBALL_MODE | highlight_mode = gb_mode_nothing |
||
) | const |
Description: Draw gumball. Parameters: dp - [in] highlight_mode - [in] indicates which gumball element to draw highlighted
bool CRhinoGumball::GetPopUpMenuPoint | ( | const CRhinoViewport & | vp, |
ON_2iPoint & | popup_menu_point | ||
) | const |
Description: Get the location of a gumball menu ball in window coordinates. Useful when calling CRhinoGumballPopUpMenu::ShowMenu(). Parameters: vp - [in] Typically CRhinoView.Viewport().VP() popup_menu_point - [out] Returns: true if popup_menu_point was set.
bool CRhinoGumball::IsValid | ( | ) | const |
const CRhinoGumball& CRhinoGumball::operator= | ( | const CRhinoGumball & | ) |
CRhinoGumball& CRhinoGumball::operator= | ( | CRhinoGumball && | ) |
bool CRhinoGumball::Pick | ( | const CRhinoPickContext & | pick_context, |
CRhinoGumballPickResult & | pick_result | ||
) | const |
bool CRhinoGumball::Read | ( | ON_BinaryArchive & | binary_archive | ) |
void CRhinoGumball::SetActiveSpace | ( | ON::active_space | ) |
bool CRhinoGumball::SetCenter | ( | const ON_3dPoint & | center | ) |
bool CRhinoGumball::SetFromArc | ( | const ON_Arc & | arc | ) |
bool CRhinoGumball::SetFromBoundingBox | ( | ON_BoundingBox | bbox | ) |
bool CRhinoGumball::SetFromBoundingBox | ( | ON_Plane | frame, |
ON_BoundingBox | bbox | ||
) |
bool CRhinoGumball::SetFromBrepObject | ( | const CRhinoBrepObject & | brep, |
double | dTol = ON_ZERO_TOLERANCE |
||
) |
bool CRhinoGumball::SetFromCircle | ( | const ON_Circle & | circle | ) |
bool CRhinoGumball::SetFromClippingPlane | ( | const ON_PlaneSurface & | clipping_plane | ) |
bool CRhinoGumball::SetFromCurve | ( | const ON_Curve & | curve | ) |
bool CRhinoGumball::SetFromEllipse | ( | const ON_Ellipse & | ellipse | ) |
bool CRhinoGumball::SetFromExtrusion | ( | const ON_Extrusion & | extrusion | ) |
bool CRhinoGumball::SetFromExtrusionObject | ( | const CRhinoExtrusionObject & | ext, |
double | dTol = ON_ZERO_TOLERANCE |
||
) |
bool CRhinoGumball::SetFromHatch | ( | const ON_Hatch & | hatch | ) |
bool CRhinoGumball::SetFromLight | ( | const ON_Light & | light | ) |
bool CRhinoGumball::SetFromLine | ( | const ON_Line & | line | ) |
bool CRhinoGumball::SetFromMeshObject | ( | const CRhinoMeshObject & | ext, |
double | dTol = ON_ZERO_TOLERANCE |
||
) |
bool CRhinoGumball::SetFromMorphControlObject | ( | const CRhinoMorphControl & | mc, |
double | dTol = ON_ZERO_TOLERANCE |
||
) |
bool CRhinoGumball::SetFromPlane | ( | const ON_Plane & | plane | ) |
bool CRhinoGumball::SetFromSubDObject | ( | const CRhinoSubDObject & | ext, |
double | dTol = ON_ZERO_TOLERANCE |
||
) |
void CRhinoGumball::SetToDefaultGumball | ( | ) |
bool CRhinoGumball::Transform | ( | const ON_Xform & | xform | ) |
bool CRhinoGumball::Write | ( | ON_BinaryArchive & | binary_archive | ) | const |
CRhinoGumballAppearance CRhinoGumball::m_appearance |
CRhinoGumballFrame CRhinoGumball::m_frame |