![]() |
|
Pick task context params. More...
#include <pickTask.h>
Public Types | |
| using | DepthMaskCallback = std::function<void(void)> |
Public Attributes | |
| GfVec2i | resolution |
| int | maxNumDeepEntries |
| TfToken | pickTarget |
| TfToken | resolveMode |
| bool | doUnpickablesOcclude |
| GfMatrix4d | viewMatrix |
| GfMatrix4d | projectionMatrix |
| std::vector< GfVec4d > | clipPlanes |
| DepthMaskCallback | depthMaskCallback |
| HdRprimCollection | collection |
| float | alphaThreshold |
| float | pointSize |
| float | pointSelectedSize |
| bool | depthBiasEnable |
| float | depthBiasConstantFactor |
| float | depthBiasSlopeFactor |
| HdxPickHitVector * | outHits |
Pick task context params.
This contains task params that can't come from the scene delegate (like resolution mode and pick location, that might be resolved late), as well as the picking collection and the output hit vector. 'pickTarget': The target of the pick operation, which may influence the data filled in the HdxPickHit(s). The available options are: HdxPickTokens->pickPrimsAndInstances HdxPickTokens->pickFaces HdxPickTokens->pickEdges HdxPickTokens->pickPoints HdxPickTokens->pickPointsAndInstances
'resolveMode': Dictates the resolution of which hit(s) are returned in 'outHits'. The available options are:
Definition at line 269 of file pickTask.h.
| using DepthMaskCallback = std::function<void(void)> |
Definition at line 271 of file pickTask.h.
|
inline |
Definition at line 273 of file pickTask.h.
| float alphaThreshold |
Definition at line 303 of file pickTask.h.
| std::vector<GfVec4d> clipPlanes |
Definition at line 300 of file pickTask.h.
| HdRprimCollection collection |
Definition at line 302 of file pickTask.h.
| float depthBiasConstantFactor |
Definition at line 307 of file pickTask.h.
| bool depthBiasEnable |
Definition at line 306 of file pickTask.h.
| float depthBiasSlopeFactor |
Definition at line 308 of file pickTask.h.
| DepthMaskCallback depthMaskCallback |
Definition at line 301 of file pickTask.h.
| bool doUnpickablesOcclude |
Definition at line 297 of file pickTask.h.
| int maxNumDeepEntries |
Definition at line 294 of file pickTask.h.
| HdxPickHitVector* outHits |
Definition at line 309 of file pickTask.h.
| TfToken pickTarget |
Definition at line 295 of file pickTask.h.
| float pointSelectedSize |
Definition at line 305 of file pickTask.h.
| float pointSize |
Definition at line 304 of file pickTask.h.
| GfMatrix4d projectionMatrix |
Definition at line 299 of file pickTask.h.
| GfVec2i resolution |
Definition at line 293 of file pickTask.h.
| TfToken resolveMode |
Definition at line 296 of file pickTask.h.
| GfMatrix4d viewMatrix |
Definition at line 298 of file pickTask.h.