Пример #1
0
 def __init__(self, x, y, w, kmin, kmax):
     StrokeShader.__init__(self)
     self._x = x
     self._y = y
     self._w = float(w)
     self._kmin = float(kmin)
     self._kmax = float(kmax)
Пример #2
0
	def __init__(self, wsize, threshold_min, threshold_max, thicknessMin, thicknessMax):
		StrokeShader.__init__(self)
		self.wsize= wsize
		self.threshold_min= threshold_min
		self.threshold_max= threshold_max
		self._thicknessMin = thicknessMin
		self._thicknessMax = thicknessMax
Пример #3
0
	def __init__(self, x, y, w, kmin, kmax):
		StrokeShader.__init__(self)
		self._x = x
		self._y = y
		self._w = float(w)
		self._kmin = float(kmin)
		self._kmax = float(kmax)
Пример #4
0
 def __init__(self, wsize, threshold_min, threshold_max, thicknessMin,
              thicknessMax):
     StrokeShader.__init__(self)
     self.wsize = wsize
     self.threshold_min = threshold_min
     self.threshold_max = threshold_max
     self._thicknessMin = thicknessMin
     self._thicknessMax = thicknessMax
Пример #5
0
 def __init__(self, a=1.5, n=3):
     StrokeShader.__init__(self)
     self._a = a
     self._n = n
Пример #6
0
 def __init__(self, thicknessExtremity, thicknessMiddle, exponent):
     StrokeShader.__init__(self)
     self._thicknessMin = thicknessMiddle
     self._thicknessMax = thicknessExtremity
     self._exponent = exponent
Пример #7
0
 def __init__(self, min=0, max=1):
     StrokeShader.__init__(self)
     self.__min = min
     self.__max = max
Пример #8
0
 def __init__(self, turns=1, bb_len=10, mult=1):
     StrokeShader.__init__(self)
     self.__mult = mult
     self.__turns = turns
     self.__bb_len = 1 + float(bb_len) / 100
Пример #9
0
 def __init__(self, freq=10, amp=10, oct=4, seed=-1):
     StrokeShader.__init__(self)
     self.__noise = Noise(seed)
     self.__freq = freq
     self.__amp = amp
     self.__oct = oct
Пример #10
0
 def __init__(self, step=0.01):
     StrokeShader.__init__(self)
     self._t = 0
     self._step = step
Пример #11
0
	def __init__(self,r1,g1,b1,a1, r2,g2,b2,a2):
		StrokeShader.__init__(self)
		self._c1 = [r1,g1,b1,a1]
		self._c2 = [r2,g2,b2,a2]
Пример #12
0
	def __init__(self, min, max):
		StrokeShader.__init__(self)
		self.__min = float(min)
		self.__max = float(max)
		self.__func = ZDiscontinuityF0D()
Пример #13
0
	def __init__(self,r,g,b, a = 1):
		StrokeShader.__init__(self)
		self._r = r
		self._g = g
		self._b = b
		self._a = a
Пример #14
0
	def __init__(self, min, max):
		StrokeShader.__init__(self)
		self.__min = min
		self.__max = max
		self.__func = GetProjectedZF0D()
Пример #15
0
	def __init__(self, a=1.5, n=3):
		StrokeShader.__init__(self)
		self._a = a
		self._n = n
Пример #16
0
	def __init__(self, thicknessMin, thicknessMax, omega=1.2):
		StrokeShader.__init__(self)
		self._thicknessMin = thicknessMin
		self._thicknessMax = thicknessMax
		self._omega = omega
Пример #17
0
	def __init__(self, thicknessExtremity, thicknessMiddle, exponent):
		StrokeShader.__init__(self)
		self._thicknessMin = thicknessMiddle
		self._thicknessMax = thicknessExtremity
		self._exponent = exponent
Пример #18
0
	def __init__(self, threshold=50):
		StrokeShader.__init__(self)
		self._threshold = threshold
Пример #19
0
 def __init__(self, threshold=50):
     StrokeShader.__init__(self)
     self._threshold = threshold
Пример #20
0
	def __init__(self, s=1):
		StrokeShader.__init__(self)
		random.seed(s)
Пример #21
0
 def __init__(self, thickness):
     StrokeShader.__init__(self)
     self._thickness = thickness
Пример #22
0
	def __init__(self, step=0.01):
		StrokeShader.__init__(self)
		self._t = 0
		self._step = step
Пример #23
0
 def __init__(self):
     StrokeShader.__init__(self)
     self._Get2dDirection = Orientation2DF1D()
Пример #24
0
	def __init__(self, sampling):
		StrokeShader.__init__(self)
		self._sampling = sampling
Пример #25
0
	def __init__(self, thicknessMin, thicknessMax, ratio):
		StrokeShader.__init__(self)
		self._thicknessMin = thicknessMin
		self._thicknessMax = thicknessMax
		self._ratio = ratio
Пример #26
0
	def __init__(self, thickness):
		StrokeShader.__init__(self)
		self._thickness = thickness
Пример #27
0
 def __init__(self, thicknessMin, thicknessMax, ratio):
     StrokeShader.__init__(self)
     self._thicknessMin = thicknessMin
     self._thicknessMax = thicknessMax
     self._ratio = ratio
Пример #28
0
	def __init__(self, lambda1, nbIter):
		StrokeShader.__init__(self)
		self._lambda = lambda1
		self._nbIter = nbIter
		self._normalInfo = Normal2DF0D()
		self._curvatureInfo = Curvature2DAngleF0D()
Пример #29
0
 def __init__(self, thicknessMin, thicknessMax):
     StrokeShader.__init__(self)
     self._thicknessMin = thicknessMin
     self._thicknessMax = thicknessMax
Пример #30
0
 def __init__(self, min, max):
     StrokeShader.__init__(self)
     self.__min = min
     self.__max = max
     self.__func = GetProjectedZF0D()
Пример #31
0
 def __init__(self, thicknessMin, thicknessMax, omega=1.2):
     StrokeShader.__init__(self)
     self._thicknessMin = thicknessMin
     self._thicknessMax = thicknessMax
     self._omega = omega
Пример #32
0
 def __init__(self, min, max):
     StrokeShader.__init__(self)
     self.__min = float(min)
     self.__max = float(max)
     self.__func = ZDiscontinuityF0D()
Пример #33
0
	def __init__(self, l):
		StrokeShader.__init__(self)
		self._l = l
Пример #34
0
	def __init__(self, min = 0, max = 1):
		StrokeShader.__init__(self)
		self.__min = min
		self.__max = max
Пример #35
0
 def __init__(self, r, g, b, a=1):
     StrokeShader.__init__(self)
     self._r = r
     self._g = g
     self._b = b
     self._a = a
Пример #36
0
	def __init__(self):
		StrokeShader.__init__(self)
		self._Get2dDirection = Orientation2DF1D()
Пример #37
0
 def __init__(self, r1, g1, b1, a1, r2, g2, b2, a2):
     StrokeShader.__init__(self)
     self._c1 = [r1, g1, b1, a1]
     self._c2 = [r2, g2, b2, a2]
Пример #38
0
	def __init__(self, f, a):
		StrokeShader.__init__(self)
		self._f = f
		self._a = a
		self._getNormal = Normal2DF0D()
Пример #39
0
 def __init__(self, s=1):
     StrokeShader.__init__(self)
     random.seed(s)
Пример #40
0
	def __init__(self, freq = 10, amp = 10, oct = 4, seed = -1):
		StrokeShader.__init__(self)
		self.__noise = Noise(seed)
		self.__freq = freq
		self.__amp = amp
		self.__oct = oct
Пример #41
0
 def __init__(self, sampling):
     StrokeShader.__init__(self)
     self._sampling = sampling
Пример #42
0
	def __init__(self, thicknessMin, thicknessMax):
		StrokeShader.__init__(self)
		self._thicknessMin = thicknessMin
		self._thicknessMax = thicknessMax
Пример #43
0
 def __init__(self, lambda1, nbIter):
     StrokeShader.__init__(self)
     self._lambda = lambda1
     self._nbIter = nbIter
     self._normalInfo = Normal2DF0D()
     self._curvatureInfo = Curvature2DAngleF0D()
Пример #44
0
	def __init__(self, turns = 1, random_radius = 3, random_center = 5):
		StrokeShader.__init__(self)
		self.__turns = turns
		self.__random_center = random_center
		self.__random_radius = random_radius
Пример #45
0
 def __init__(self, l):
     StrokeShader.__init__(self)
     self._l = l
Пример #46
0
	def __init__(self, turns = 1, bb_len = 10, bb_rand = 0):
		StrokeShader.__init__(self)
		self.__turns = turns
		self.__bb_len = bb_len
		self.__bb_rand = bb_rand
Пример #47
0
 def __init__(self, f, a):
     StrokeShader.__init__(self)
     self._f = f
     self._a = a
     self._getNormal = Normal2DF0D()
Пример #48
0
 def __init__(self, turns=1, bb_len=10, bb_rand=0):
     StrokeShader.__init__(self)
     self.__turns = turns
     self.__bb_len = bb_len
     self.__bb_rand = bb_rand
Пример #49
0
 def __init__(self, turns=1, random_radius=3, random_center=5):
     StrokeShader.__init__(self)
     self.__turns = turns
     self.__random_center = random_center
     self.__random_radius = random_radius
Пример #50
0
	def __init__(self, turns = 1, bb_len = 10, mult = 1):
		StrokeShader.__init__(self)
		self.__mult = mult
		self.__turns = turns
		self.__bb_len = 1 + float(bb_len) / 100