HDK
|
Represents a primitive whose material properties are being overiden. More...
#include <GSTY_SubjectPoint.h>
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_SubjectPoint.h.
GSTY_SubjectPoint::GSTY_SubjectPoint | ( | const GEO_Detail & | gdp, |
GA_Offset | offset, | ||
int | numeric_point_group_offset, | ||
GSTY_SubjectPointGroup * | subject_group, | ||
const GA_ROHandleS & | detail_attrib, | ||
const GA_ROHandleS & | point_attrib | ||
) |
GSTY_SubjectPoint::GSTY_SubjectPoint | ( | const GEO_Detail & | gdp, |
GA_Offset | offset | ||
) |
const GEO_Detail& GSTY_SubjectPoint::getGdp | ( | ) | const |
GA_Offset GSTY_SubjectPoint::getOffset | ( | ) | const |
|
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.
|
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.