HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pickTask.h File Reference
+ Include dependency graph for pickTask.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HdxPickTaskParams
 
struct  HdxPickHit
 
struct  HdxPickTaskContextParams
 
class  HdxPickTask
 
class  HdxPickResult
 A utility class for resolving ID buffers into hits. More...
 

Macros

#define HDX_PICK_TOKENS
 

Typedefs

typedef hboost::shared_ptr
< HdStShaderCode
HdStShaderCodeSharedPtr
 
typedef std::vector< HdxPickHitHdxPickHitVector
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (HdxPickTokens, HDX_API, HDX_PICK_TOKENS)
 
HDX_API bool operator< (HdxPickHit const &lhs, HdxPickHit const &rhs)
 
HDX_API std::ostream & operator<< (std::ostream &out, const HdxPickHit &h)
 
HDX_API bool operator== (const HdxPickHit &lhs, const HdxPickHit &rhs)
 
HDX_API bool operator!= (const HdxPickHit &lhs, const HdxPickHit &rhs)
 
HDX_API std::ostream & operator<< (std::ostream &out, const HdxPickTaskParams &pv)
 
HDX_API bool operator== (const HdxPickTaskParams &lhs, const HdxPickTaskParams &rhs)
 
HDX_API bool operator!= (const HdxPickTaskParams &lhs, const HdxPickTaskParams &rhs)
 
HDX_API std::ostream & operator<< (std::ostream &out, const HdxPickTaskContextParams &pv)
 
HDX_API bool operator== (const HdxPickTaskContextParams &lhs, const HdxPickTaskContextParams &rhs)
 
HDX_API bool operator!= (const HdxPickTaskContextParams &lhs, const HdxPickTaskContextParams &rhs)
 

Macro Definition Documentation

#define HDX_PICK_TOKENS
Value:
/* Task context */ \
(pickParams) \
\
/* Hit mode */ \
(hitFirst) \
(hitAll) \
\
/* Pick target */ \
(pickPrimsAndInstances) \
(pickFaces) \
(pickEdges) \
(pickPoints) \
\
/* Resolve mode */ \
(resolveNearestToCamera) \
(resolveNearestToCenter) \
(resolveUnique) \
(resolveAll)

Definition at line 51 of file pickTask.h.

Typedef Documentation

typedef hboost::shared_ptr<HdStShaderCode> HdStShaderCodeSharedPtr

Definition at line 74 of file pickTask.h.

typedef std::vector<HdxPickHit> HdxPickHitVector

Definition at line 113 of file pickTask.h.

Function Documentation

HDX_API bool operator!= ( const HdxPickHit lhs,
const HdxPickHit rhs 
)
HDX_API bool operator< ( HdxPickHit const lhs,
HdxPickHit const rhs 
)
HDX_API std::ostream& operator<< ( std::ostream &  out,
const HdxPickHit h 
)
HDX_API std::ostream& operator<< ( std::ostream &  out,
const HdxPickTaskParams pv 
)
HDX_API std::ostream& operator<< ( std::ostream &  out,
const HdxPickTaskContextParams pv 
)
HDX_API bool operator== ( const HdxPickHit lhs,
const HdxPickHit rhs 
)
HDX_API bool operator== ( const HdxPickTaskParams lhs,
const HdxPickTaskParams rhs 
)
HDX_API bool operator== ( const HdxPickTaskContextParams lhs,
const HdxPickTaskContextParams rhs 
)
TF_DECLARE_PUBLIC_TOKENS ( HdxPickTokens  ,
HDX_API  ,
HDX_PICK_TOKENS   
)