BCGSuite for MFC

Detailed Description

Rotation control is derived from Radial menu and intended for 3D object (such as charts in 3D) views. This control is sending the following rotation notifications:

  • Rotate left
  • Rotate right
  • Rotate up
  • Rotate down
  • Widen field of view
  • Narrow field of view
  • Clockwise
  • Counter clockwise
  • Reset

Each control part can be enabled or disabled.


CBCGPRotationObject* pRotation;
// Disable Up/Down parts:
pRotation->EnablePart(CBCGPRotationObject::BCGP_ROTATION_UP, FALSE);
pRotation->EnablePart(CBCGPRotationObject::BCGP_ROTATION_DOWN, FALSE);
CBCGPRotationObject::RotationElement nHit = pRotation->GetClicked();
switch (nHit)
xRotation -= xDelta;
xRotation += xDelta;
+ Inheritance diagram for CBCGPRotationCtrl:

Public Member Functions

 GetRotationObjectReturns a pointer to encapsulated rotation object
- Public Member Functions inherited from CBCGPRadialMenu
 CreatePopupCreates the radial popup menu
 GetRadialMenuObjectReturns a pointer to encapsulated CBCGPRadialMenuObject object
- Public Member Functions inherited from CBCGPBaseVisualCtrl
 CreateCreates a Windows control.
 CreatePopupCreates a popup window
 DoPrintImplements printing support for encapsulated visual object.
 EnableInfoTipEnables the information tip associated with this control.
 EnableTooltipEnables tooltips
 GetGraphicsManagerGets graphics manager associated with control.
 GetPrintOptionsGets control printing options.
 IsInfoTipEnabledTells whether the information tip is enabled.
 IsTooltipEnabledTells whether the visual control tooltip support is enabled.
 SetPrintOptionsSets control printing options.

Additional Inherited Members

- Static Public Member Functions inherited from CBCGPBaseVisualCtrl
 CloseActivePopupCloses active popup (created by CBCGPBaseVisualCtrl::CreatePopup) visual control.
 HasActivePopupTells whether a popup (created by CBCGPBaseVisualCtrl::CreatePopup) visual control is active.
- Protected Member Functions inherited from CBCGPGestureBase
 OnGestureEventBeginCalled by the framework to handle BCGP_GID_BEGIN notification.
 OnGestureEventEndCalled by the framework to handle BCGP_GID_END notification.
 ProcessGestureEventThis method should be called from WM_GESTURE message handler.