Selection of custom DzNode-derived objects
I've subclassed DzNode and have changed the viewport representation of this object from the standard Null representation by overriding the ::draw( const DzDrawStyle &style; ) method on DzNode (similar to the BlackHole API sample). Now I can't figure out how to change the mouseover/mouseclick behavior to highlight/select the node when I try to interact with the new representation.
With a standard DzNode viewport representation (the intersecting red/green/blue x/y/z line segments indicating the object's position), mousing over any of the line segments causes a bounding box to be drawn, and clicking on any of the line segments selects the node. I'm trying to reproduce this behavior, but on my own viewport representation.
I looked at DzSelectionMap but this appears to only work with geometry in DzShapes, and I need to interact with the OpenGL-drawn representation in the viewport.