15 #ifndef GR_SelectionAdapter_h
16 #define GR_SelectionAdapter_h
39 { myCookGroup = group; }
41 bool isSet()
const {
return myUserSelection || myCookGroup; }
48 bool isPotentiallyNonEmpty()
const;
53 return myUserSelection->classType();
55 return myCookGroup->classType();
GT_API const UT_StringHolder selection
GLdouble GLdouble GLint GLint const GLdouble * points
void setCookGroup(const GA_Group *group)
GU_SelectionHandle cookSelection() const
Returns the current cook selection;.
GA_GroupType classType() const
UT_SharedPtr< GU_Selection > GU_SelectionHandle
GA_GroupType
An ordinal enum for the different types of groups in GA.
void setCookSelection(const GU_Detail &gdp)
void setUserSelection(GU_SelectionHandle selection)