Base class for an effect describing how to draw a part and it's associated part data. More...
Public Types | |
enum | Type { COLOR, OPACITY, FRONT_AND_BACK_COLOR, FRONT_AND_BACK_OPACITY, TEXTURE, EYE_LIFT, POLYGON_OFFSET, HALO, LIGHTING, LINE_WIDTH, POINT_SIZE } |
Enumerator for each of the available effect types. More... | |
Public Member Functions | |
virtual Type | type () const =0 |
Returns the primitive type of the associated data. More... | |
virtual PtrRef< Effect > | clone ()=0 |
Clones the effect. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
Protected Member Functions | |
Effect () | |
Constructs an empty part effect of a given type. More... | |
Base class for an effect describing how to draw a part and it's associated part data.
Enumerator for each of the available effect types.
|
protected |
Constructs an empty part effect of a given type.
Clones the effect.
Implemented in cee::geo::EffectTexture, cee::geo::EffectColor, cee::geo::EffectFrontAndBackColor, cee::geo::EffectLineWidth, cee::geo::EffectPointSize, cee::geo::EffectFrontAndBackOpacity, cee::geo::EffectLighting, cee::geo::EffectOpacity, cee::geo::EffectEyeLift, cee::geo::EffectHalo, and cee::geo::EffectPolygonOffset.
|
pure virtual |
Returns the primitive type of the associated data.
Implemented in cee::geo::EffectTexture, cee::geo::EffectColor, cee::geo::EffectFrontAndBackColor, cee::geo::EffectLineWidth, cee::geo::EffectPointSize, cee::geo::EffectFrontAndBackOpacity, cee::geo::EffectLighting, cee::geo::EffectOpacity, cee::geo::EffectEyeLift, cee::geo::EffectHalo, and cee::geo::EffectPolygonOffset.