cee::geo::Effect Class Referenceabstract

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< Effectclone ()=0
 Clones the effect. More...
 
- Public Member Functions inherited from cee::RefCountedObject
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...
 
Inheritance diagram for cee::geo::Effect:
cee::RefCountedObject cee::geo::EffectColor cee::geo::EffectEyeLift cee::geo::EffectFrontAndBackColor cee::geo::EffectFrontAndBackOpacity cee::geo::EffectHalo cee::geo::EffectLighting cee::geo::EffectLineWidth cee::geo::EffectOpacity cee::geo::EffectPointSize cee::geo::EffectPolygonOffset cee::geo::EffectTexture

Detailed Description

Member Enumeration Documentation

Enumerator for each of the available effect types.

Enumerator
COLOR 

Effect describing the color to be used when drawing

OPACITY 

Effect describing the opacity to be used when drawing

FRONT_AND_BACK_COLOR 

Effect describing the colors to be used when drawing each side of a polygon

FRONT_AND_BACK_OPACITY 

Effect describing the opacity to be used when drawing each side of a polygon

TEXTURE 

Effect describing the texture to be used when drawing

EYE_LIFT 

Effect that moves the vertices towards the eye point when drawing

POLYGON_OFFSET 

Effect that moves the vertices into the screen when drawing

HALO 

Effect describing how to draw a part with silhouetted edges

LIGHTING 

Effect describing if the part should be lighted or not

LINE_WIDTH 

Effect describing the width of the line, in pixels

POINT_SIZE 

Effect describing the size of the points, in pixels

Constructor & Destructor Documentation

cee::geo::Effect::Effect ( )
protected

Constructs an empty part effect of a given type.

Member Function Documentation