cee::geo::EffectLineWidth Class Reference

Effect describing the width of the associated line based part data, in pixels. More...

Public Member Functions

 EffectLineWidth ()
 Constructs an empty effect. More...
 
 EffectLineWidth (unsigned int width)
 Constructs an effect. More...
 
virtual Type type () const
 Returns Effect::LINE_WIDTH. More...
 
virtual PtrRef< Effectclone ()
 Clones the effect. More...
 
unsigned int width () const
 Returns the width of the line(s), in pixels. More...
 
void setWidth (unsigned int width)
 Specifies the width of the line(s), in pixels. 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...
 

Additional Inherited Members

- Public Types inherited from cee::geo::Effect
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...
 
- Protected Member Functions inherited from cee::geo::Effect
 Effect ()
 Constructs an empty part effect of a given type. More...
 
Inheritance diagram for cee::geo::EffectLineWidth:
cee::geo::Effect cee::RefCountedObject

Detailed Description

Effect describing the width of the associated line based part data, in pixels.

May be overridden by the following effects if found further up the stack:

  • Any other EffectLineWidth

Supported by the following part data:

See also
Part
Effect
PartSettings

Constructor & Destructor Documentation

cee::geo::EffectLineWidth::EffectLineWidth ( )

Constructs an empty effect.

cee::geo::EffectLineWidth::EffectLineWidth ( unsigned int  width)

Constructs an effect.

Member Function Documentation

PtrRef< Effect > cee::geo::EffectLineWidth::clone ( )
virtual

Clones the effect.

Implements cee::geo::Effect.

void cee::geo::EffectLineWidth::setWidth ( unsigned int  width)

Specifies the width of the line(s), in pixels.

Effect::Type cee::geo::EffectLineWidth::type ( ) const
virtual

Returns Effect::LINE_WIDTH.

Implements cee::geo::Effect.

unsigned int cee::geo::EffectLineWidth::width ( ) const

Returns the width of the line(s), in pixels.