- When using an SoImage normally it takes care of the pick radius. E.g. the node is used for AnnotationLabel.
You then have to debug through SoImage::rayPick to see that it works.
Code: Select all
App.ActiveDocument.addObject("App::AnnotationLabel").LabelText="A short text"
- In order to let a node do further checks the class SoRayPickAction checks in "intersect" if the ray intersects the bounding box of a shape node. If not it checks again using the pick radius.
- As said above the SoImage takes care of the pick radius but it fails when in sketch edit mode. My gut feeling is that it fails because ViewProvider::getPointOnRay does something weird with the locally built scene graph -- it's used inside ViewProviderSketch::mouseMove. When debugging through an SoImage node is only detected when the ray goes through its bounding box and if you are a bit away from it but inside the pick radius it always fails.
- Point on curve
- Horizontal/vertical
- Parallel/perpendicular
- Equality
- Lock
- Vertical/horizontal distance
- Length
- Radius
- Angle