dmj5
Class DMJ_PolyCurveSelector

Object
  extended by common:Generic
      extended by dmj5:DMJ_PolyCurveSelector
Direct Known Subclasses:
DMJ_SelectorArbitraryCurve, DMJ_SelectorArbitraryPolygon

class 
Generic:DMJ_PolyCurveSelector

PolyCurve Selector abstract base class. When writing a formula which uses PolyCurve objects, it is usually necessary to allow the user to select the actual curve shape (unless it is going to be synthetically created). In that case, you can include a DMJ_PolyCurveSelector object and allow the user to choose any of the available curve selection mechanisms. You may also want to allow them to use DMJ_PolyCurveTransform objects, but that is up to you.


Ultra Fractal Source

Toggle UF Source Code Display

 class DMJ_PolyCurveSelector(common.ulb:Generic) {
   ; PolyCurve Selector abstract base class.
   ;
   ; When writing a formula which uses PolyCurve objects, it is
   ; usually necessary to allow the user to select the actual
   ; curve shape (unless it is going to be synthetically created).
   ; In that case, you can include a DMJ_PolyCurveSelector object
   ; and allow the user to choose any of the available curve
   ; selection mechanisms. You may also want to allow them to use
   ; DMJ_PolyCurveTransform objects, but that is up to you.
   
 public:
   import "common.ulb"
   
   func DMJ_PolyCurveSelector(Generic pparent)
     Generic.Generic(pparent)
   endfunc
   
   ; this function is used to set up the curve object
   ; do as much setup in the curve object as you like,
   ; but don't Rasterize() the curve
   func SetCurve(DMJ_PolyCurve &pcurve)
   endfunc
 
   ; this function is used to set up the handles on
   ; the curve
   func SetHandles(Handles phandles)
   endfunc
 
 default:
   int param v_dmj_polycurveselector
     caption = "Version (DMJ_PolyCurveSelector)"
     default = 100
     hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
     visible = @v_dmj_polycurveselector < 100
   endparam
 
 }
 


Constructor Summary
DMJ_PolyCurveSelector()
           
DMJ_PolyCurveSelector(Generic pparent)
           
 
Method Summary
 void SetCurve(DMJ_PolyCurve pcurve)
          this function is used to set up the curve object do as much setup in the curve object as you like, but don't Rasterize() the curve
 void SetHandles(Handles phandles)
          this function is used to set up the handles on the curve
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

DMJ_PolyCurveSelector

public DMJ_PolyCurveSelector(Generic pparent)

DMJ_PolyCurveSelector

public DMJ_PolyCurveSelector()
Method Detail

SetCurve

public void SetCurve(DMJ_PolyCurve pcurve)
this function is used to set up the curve object do as much setup in the curve object as you like, but don't Rasterize() the curve


SetHandles

public void SetHandles(Handles phandles)
this function is used to set up the handles on the curve