|
| CRhinoDrawCallback () |
|
virtual | ~CRhinoDrawCallback (void) |
|
virtual ON_BoundingBox | BoundingBox (CRhinoViewport &vp, CRhinoDoc &doc) |
|
virtual void | DrawBackground (CRhinoViewport &vp, CRhinoDoc &doc) |
|
virtual void | DrawDecorations (CRhinoView *pVP, CDC *pDC, CRhinoViewport &vp, CRhinoDoc &doc) |
|
virtual bool | DrawEverything (CRhinoView &view, ON_BoundingBox bbox, CDC *pDC, CRhinoViewport &vp, CRhinoDoc &doc) |
| Obsolete. More...
|
|
virtual void | DrawForeground (CRhinoViewport &vp, CRhinoDoc &doc) |
|
virtual void | DrawMiddleground (CRhinoViewport &vp, CRhinoDoc &doc) |
|
| CRhinoDisplayConduit (CSupportChannels channel_mask) |
|
| CRhinoDisplayConduit (CSupportChannels channel_mask, bool enable) |
|
virtual | ~CRhinoDisplayConduit () |
|
bool | Bind (const CRhinoDisplayPipeline &pipeline) |
| Binding methods... More...
|
|
bool | Bind (const CRhinoView &view) |
| See: bool CRhinoDisplayConduit::Bind(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | Bind (const CRhinoViewport &viewport) |
| See: bool CRhinoDisplayConduit::Bind(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | Bind (const ON_Viewport &viewport) |
| See: bool CRhinoDisplayConduit::Bind(const CRhinoDisplayPipeline& pipeline);. More...
|
|
int | BindingCount () const |
|
bool | BindingsExist () const |
|
bool | ChannelSupported (UINT channel) const |
| Attributes... More...
|
|
bool | ConstantBinding () const |
|
void | Disable () |
|
class CRhinoDoc * | Document () const |
|
unsigned int | DocumentSerialNumber () const |
|
void | Enable () |
|
void | Enable (unsigned int docSerialNumber) |
|
void | EnableConstantBinding (bool enable=true) |
|
unsigned int | GetGeometryFilter () const |
|
ON_UuidList | GetObjectFilter () const |
|
void | GetSelectedFilter (bool &on, bool &checkSubObjects) const |
|
bool | InterestedInObject (const CRhinoObject *) const |
|
bool | IsBound (const CRhinoDisplayPipeline &pipeline, bool ignore_state=false) const |
|
bool | IsBound (const CRhinoView &view, bool ignore_state=false) const |
| See: CRhinoDisplayConduit::IsBound( const CRhinoDisplayPipeline& pipeline, bool ignore_state = false) const;. More...
|
|
bool | IsBound (const CRhinoViewport &viewport, bool ignore_state=false) const |
| See: CRhinoDisplayConduit::IsBound( const CRhinoDisplayPipeline& pipeline, bool ignore_state = false) const;. More...
|
|
bool | IsBound (const ON_Viewport &viewport, bool ignore_state=false) const |
| See: CRhinoDisplayConduit::IsBound( const CRhinoDisplayPipeline& pipeline, bool ignore_state = false) const;. More...
|
|
bool | IsEnabled () const |
|
bool | IsEnabled (unsigned int docSerialNumber) const |
|
virtual void | NotifyConduit (EConduitNotifiers notification_event, CRhinoDisplayPipeline &pipeline) |
| Notifications... More...
|
|
class CRhinoPageView * | PageView () const |
|
unsigned int | PageViewSerialNumber () const |
|
bool | ReplaceBinding (const CRhinoDisplayPipeline &old_pipeline, const CRhinoDisplayPipeline &new_pipeline) |
|
bool | ReplaceBinding (const CRhinoView &old_view, const CRhinoView &new_view) |
| See: bool CRhinoDisplayConduit::ReplaceBinding(const CRhinoDisplayPipeline& old_pipeline, const CRhinoDisplayPipeline& new_pipeline);. More...
|
|
bool | ReplaceBinding (const CRhinoViewport &old_viewport, const CRhinoViewport &new_viewport) |
| See: bool CRhinoDisplayConduit::ReplaceBinding(const CRhinoDisplayPipeline& old_pipeline, const CRhinoDisplayPipeline& new_pipeline);. More...
|
|
bool | ReplaceBinding (const ON_Viewport &old_viewport, const ON_Viewport &new_viewport) |
| See: bool CRhinoDisplayConduit::ReplaceBinding(const CRhinoDisplayPipeline& old_pipeline, const CRhinoDisplayPipeline& new_pipeline);. More...
|
|
void | SetGeometryFilter (unsigned int geometry_filter) |
|
void | SetObjectFilter (const ON_SimpleArray< ON_UUID > &objectIds) |
|
void | SetObjectFilter (ON_UUID objectId) |
|
void | SetSelectedFilter (bool on, bool checkSubObjects) |
|
bool | ToggleBinding (const CRhinoDisplayPipeline &pipeline) |
|
bool | ToggleBinding (const CRhinoView &view) |
| See: bool CRhinoDisplayConduit::ToggleBinding(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | ToggleBinding (const CRhinoViewport &viewport) |
| See: bool CRhinoDisplayConduit::ToggleBinding(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | ToggleBinding (const ON_Viewport &viewport) |
| See: bool CRhinoDisplayConduit::ToggleBinding(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | Unbind (const CRhinoDisplayPipeline &pipeline) |
|
bool | Unbind (const CRhinoView &view) |
| See: bool CRhinoDisplayConduit::Unbind(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | Unbind (const CRhinoViewport &viewport) |
| See: bool CRhinoDisplayConduit::Unbind(const CRhinoDisplayPipeline& pipeline);. More...
|
|
bool | Unbind (const ON_Viewport &viewport) |
| See: bool CRhinoDisplayConduit::Unbind(const CRhinoDisplayPipeline& pipeline);. More...
|
|
void | UnbindAll () |
|
class CRhinoView * | View () const |
|
class CRhinoViewport * | Viewport () const |
|
unsigned int | ViewportSerialNumber () const |
|
unsigned int | ViewSerialNumber () const |
|
Description: If you need to add custom drawing code to Rhino, derive a class from CRhinoDrawCallback and override the virtual function where you want to draw something.
To enable, call: CRhinoDrawCallback::Enable(); When you are done, call: CRhinoDrawCallback::Disable();
Remarks: This is a refactored version of the legacy CRhinoDrawCallback class found in previous versions of Rhino. As this temporary helper class will go away in future releases, you should replace your usage of this with your own class that inherits from CRhinoDisplayConduit.