Public Member Functions

INodeDisplayControl Class Reference

Search for all occurrences

Detailed Description

See also:
Class InterfaceServer, Class NodeDisplayCallback, Class INode.

Description:
This class is available in release 4.0 and later only.

This class is an interface that is used to register the node display callback. To get a pointer to this interface the developer should use the following macro:

#define GetNodeDisplayControl(i) ((INodeDisplayControl*)i->GetInterface(I_NODEDISPLAYCONTROL))

#include <nodedisp.h>

Inheritance diagram for INodeDisplayControl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  RegisterNodeDisplayCallback (NodeDisplayCallback *cb)=0
virtual void  UnRegisterNodeDisplayCallback (NodeDisplayCallback *cb)=0
virtual bool  SetNodeCallback (NodeDisplayCallback *hook)=0
virtual NodeDisplayCallback GetNodeCallback ()=0
virtual void  InvalidateNodeDisplay ()=0

Member Function Documentation

virtual void RegisterNodeDisplayCallback ( NodeDisplayCallback cb ) [pure virtual]
Remarks:
Register a node display callback which can be used to control the display of nodes in the scene.
Parameters:
NodeDisplayCallback *cb

Points to the callback object.
virtual void UnRegisterNodeDisplayCallback ( NodeDisplayCallback cb ) [pure virtual]
Remarks:
Un-registers the node display callback.
Parameters:
NodeDisplayCallback *cb

Points to the callback object.
virtual bool SetNodeCallback ( NodeDisplayCallback hook ) [pure virtual]
Remarks:
Sets the current current callback. The callback must be previously registered.
Parameters:
NodeDisplayCallback* hook

Points to the node display callback to set.
Returns:
Returns true if the callback was set; otherwise false.
virtual NodeDisplayCallback* GetNodeCallback ( ) [pure virtual]
Remarks:
Returns a pointer to the current current callback. The callback must be previously registered.
virtual void InvalidateNodeDisplay ( ) [pure virtual]
Remarks:
Viewport refresh routine. Tthis function only invalidates the display, it's up to the callback to select the correct redraw technique.

INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl
INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl INodeDisplayControl