|
Rhino C++ API
8.24
|
#include <rhinoSdkApp.h>
Public Member Functions | |
| CRhinoGripsEnabler () | |
| See CRhinoApp::RegisterCustomGrips() More... | |
| virtual | ~CRhinoGripsEnabler () |
| const ON_UUID | CustomGripsId () const |
| virtual void | TurnOnGrips (CRhinoObject *object) const =0 |
Static Public Member Functions | |
| static int | CompareGripsId (CRhinoGripsEnabler *const *, CRhinoGripsEnabler *const *) |
Public Attributes | |
| ON_UUID | m_grips_id |
| CRhinoGripsEnabler::CRhinoGripsEnabler | ( | ) |
See CRhinoApp::RegisterCustomGrips()
|
virtual |
|
static |
| const ON_UUID CRhinoGripsEnabler::CustomGripsId | ( | ) | const |
|
pure virtual |
If you add custom grips to Rhino and you want those grips to stay on when CRhinoDoc::Replace object is called (for example, somebody translates the object), then you have to register your grips with Rhino.
| ON_UUID CRhinoGripsEnabler::m_grips_id |
This is the id is used to distinguish between different types of custom grips. Rhino default grips (the ones you get with the PointsOn command) have the id = nil. Custom grips must have a non-nil id.
1.8.17