| 1 |
NAME SoPickAction SoPickAct "" { |
| 2 |
abstract base class for picking objects in a scene |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE actions/SoPickAction.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This is an abstract base class for all picking actions. Currently, |
| 9 |
the only supported subclass is the \cSoRayPickAction\.. |
| 10 |
} |
| 11 |
|
| 12 |
METHOD setVPReg void setViewportRegion(const SbViewportRegion &newRegion) {} |
| 13 |
METHOD getVPReg const SbViewportRegion &getViewportRegion() const { |
| 14 |
Sets/returns current viewport region to use for action. Even though |
| 15 |
the picking operation may not involve a window per se, some nodes need |
| 16 |
this information to determine their size and placement. |
| 17 |
} |
| 18 |
|
| 19 |
ALSO { SoRayPickAction } |
| 20 |
|
| 21 |
|