IRsCustomPickHandling Interface Reference

Inherits IUnknown.

List of all members.

Public Member Functions

HRESULT PickObject (IRsNode *pViewNode, RtPoint2f *ptScreenPoint, IRsNode **ppPickedNode)


Detailed Description

IRsCustomPickHandling provides means to alter Rosetta picking mechanism when selecting objects. If object implements this interface and is picked, Pick procedure will query it to perform custom picking. Internal sub-objects selection mechanism is disabled for nodes by implementing this interface.

Member Function Documentation

HRESULT IRsCustomPickHandling::PickObject ( IRsNode pViewNode,
RtPoint2f ptScreenPoint,
IRsNode **  ppPickedNode 
)

Called when node implementing this interface is picked.
Tool can perform custom picking on it's encapsulated objects.

Parameters:
pViewNode [in] View node used for picking.
ptScreenPoint [in] Screen position from 0..width-1 x 0..height-1.
ppPickedNode [out] Fill with custom picked node.
Returns:
Result of custom picking will be used only when S_OK is returned.


Generated on Wed May 20 21:32:21 2009 for trueSpace7.6 SDK by  doxygen 1.5.5