CMS 3D CMS Logo

Public Member Functions

EdgesToViz::Col Class Reference

List of all members.

Public Member Functions

def __init__
def next

Detailed Description

Definition at line 7 of file EdgesToViz.py.


Constructor & Destructor Documentation

def EdgesToViz::Col::__init__ (   me)

Definition at line 8 of file EdgesToViz.py.

00009                     :
00010         me.h=0.
00011         me.s=.5
00012         me.b=.5


Member Function Documentation

def EdgesToViz::Col::next (   me)

Definition at line 13 of file EdgesToViz.py.

00014                 :
00015         rc = "\"%f,%f,%f\""%(me.h,me.s,me.b)
00016         me.h += .1
00017         if me.h > 1.:
00018             me.h=0.
00019             me.s += .1
00020         if me.s> 1.:
00021             me.h=0.
00022             me.s = .5
00023             me.b += .1
00024         return rc