| HDK
    | 
Represents a primitive whose material properties are being overiden. More...
#include <GSTY_SubjectPrim.h>
 Inheritance diagram for GSTY_SubjectPrim:
 Inheritance diagram for GSTY_SubjectPrim:| Static Public Member Functions | |
| static bool | hasStyleAttrib (const GEO_Detail &gdp) | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from STY_SubjectNamed | |
| bool | matchesNameHelper (const char *name) const | 
| bool | matchesFullPathHelper (STY_TargetMatchStatus &match, const STY_TargetHandle &target) const | 
|  Protected Member Functions inherited from STY_Subject | |
| STY_TargetMatchStatus | matchesPathHelper (const UT_StringRef &path, const STY_TargetHandle &target, char separator) const | 
| Helper for handling path requirement.  More... | |
|  Protected Member Functions inherited from UT_IntrusiveRefCounter< STY_Subject > | |
| SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () | 
| Destructor: Only derived classes can destruct this.  More... | |
Represents a primitive whose material properties are being overiden.
Definition at line 23 of file GSTY_SubjectPrim.h.
| GSTY_SubjectPrim::GSTY_SubjectPrim | ( | const GEO_Primitive * | prim, | 
| int | numeric_prim_group_offset, | ||
| int | numeric_point_group_offset, | ||
| GSTY_SubjectPrimGroup * | subject_group, | ||
| const GA_ROHandleS & | detail_attrib, | ||
| const GA_ROHandleS & | prim_attrib | ||
| ) | 
| GSTY_SubjectPrim::GSTY_SubjectPrim | ( | const GEO_Primitive * | prim, | 
| GSTY_SubjectPrimGroup * | subject_group | ||
| ) | 
| 
 | overridevirtual | 
Returns a source object that can provide data for the given data name. Eg, style subject representing a primitive can provide primitive attribute data.
Reimplemented from STY_Subject.
| 
 | overridevirtual | 
Returns the style sheet that should be applied to this subject and its children. This style sheet is applied after this subject is used to filter out non-matching styles. The children of this subject are the top level targets for these styles. Returns an empty string, if no style sheet is provided.
Reimplemented from STY_Subject.
| 
 | overridevirtual | 
Returns the style sheet that should be applied to this subject. This style sheet is applied before this subject is used to filter out non-matching styles. This subject is the top level target for these styles. Returns an empty string, if no style sheet is provided.
Reimplemented from STY_Subject.
| const GEO_Primitive& GSTY_SubjectPrim::getPrimitive | ( | ) | const | 
| 
 | overridevirtual | 
Returns the location where the above subject-specific style sheet comes from. For example the name of the object, prim number, etc. Returns a default value of "Unknown Subject Source".
Reimplemented from STY_Subject.
| 
 | static | 
Returns true if the provided detail has any attributes that may contribute style information to this subject.
| 
 | overridevirtual | 
Base class overrides.
Implements STY_Subject.