jlb
Class JLB_TrapTransferCollection

Object
  extended by common:Generic
      extended by common:Transfer
          extended by jlb:JLB_TrapTransferCollection

class 
Transfer:JLB_TrapTransferCollection

A shape plug-in which combines all transfer classes (as of 10/13/08) into a single list. Structure adapted from rkb's Shape Collection.


Ultra Fractal Source

Toggle UF Source Code Display

 class JLB_TrapTransferCollection(common.ulb:Transfer) {
 ; A shape plug-in which combines all transfer classes (as of 10/13/08)
 ; into a single list.
 ;
 ; Structure adapted from rkb's Shape Collection.
 
 
 public:
   import "dmj5.ulb"
   import "mmf.ulb"  
   import "reb.ulb"
   import "common.ulb"
   import "standard.ulb"
   
   func JLB_TrapTransferCollection(Generic pparent)
     Transfer.Transfer(pparent)
     ;dmj
     if     (@enTransfer == "dmj5 Trap Diameter")
       pTransfer = new @p_DMJ_TrapDiameter(this)
     ; mmf
     elseif (@enTransfer == "mmf Trap/Gradient Transfer")
       pTransfer = new @p_MMF_TrapGradientTransfer(this)  
     ; reb
     elseif (@enTransfer == "reb Distance Variants")
       pTransfer = new @p_REB_DistanceVariants(this)
     elseif (@enTransfer == "reb Trap Transfer Bias")
       pTransfer = new @p_REB_TrapTransferBias(this)
     ; common
     elseif (@enTransfer == "Common Default Gradient Transfer")
       pTransfer = new @p_Common_DefaultGradientTransfer(this)
     elseif (@enTransfer == "Common Null Transfer")
       pTransfer = new @p_Common_NullTransfer(this)
     elseif (@enTransfer == "Common Trap Transfer")
       pTransfer = new @p_Common_TrapTransfer(this)
     elseif (@enTransfer == "Standard Height Transfer")
       pTransfer = new @p_Standard_HeightTransfer(this)
     endif
   endfunc
 
   float func Iterate(float pr)
     return pTransfer.Iterate(pr)
   endfunc
 
 private:
   Transfer pTransfer
 
 default:
   title = "Trap Transfer Collection"
   int param iVersion
     visible = false
   endparam
   param enTransfer
     caption = "Transfers List"
     enum = "Common Default Gradient Transfer" \
            "Common Null Transfer" \
            "Common Trap Transfer" \
            "dmj5 Trap Diameter" \
            "mmf Trap/Gradient Transfer" \
            "reb Distance Variants" \
            "reb Trap Transfer Bias" \
            "Standard Height Transfer"
     default = 0
   endparam
 
   Transfer param p_DMJ_TrapDiameter
   caption = "Trap Transfer"
   default = DMJ_TrapDiameter
   visible = (@enTransfer == "dmj5 Trap Diameter")
   endparam
   Transfer param p_MMF_TrapGradientTransfer
   caption = "Trap Transfer"
   default = MMF_TrapTransfer
   visible = (@enTransfer == "mmf Trap/Gradient Transfer")
   endparam
   Transfer param p_Common_DefaultGradientTransfer
   caption = "Trap Transfer"
   default = DefaultGradientTransfer
   visible = (@enTransfer == "Common Default Gradient Transfer")
   endparam
   Transfer param p_Common_NullTransfer
   caption = "Trap Transfer"
   default = NullTransfer
   visible = (@enTransfer == "Common Null Transfer")
   endparam
   Transfer param p_Common_TrapTransfer
   caption = "Trap Transfer"
   default = TrapTransfer
   visible = (@enTransfer == "Common Trap Transfer")
   endparam
   Transfer param p_Standard_HeightTransfer
   caption = "Trap Transfer"
   default = Standard_HeightTransfer
   visible = (@enTransfer == "Standard Height Transfer")
   endparam
 
   Transfer param p_REB_DistanceVariants
   caption = "Trap Transfer"
   default = TransferDistanceVariants
   visible = (@enTransfer == "reb Distance Variants")
   endparam
   Transfer param p_REB_TrapTransferBias
   caption = "Trap Transfer Bias"
   default = TrapTransferBias
   visible = (@enTransfer == "reb Trap Transfer Bias")
   endparam
 }
 


Constructor Summary
JLB_TrapTransferCollection()
           
JLB_TrapTransferCollection(Generic pparent)
           
 
Method Summary
 float Iterate(float pr)
          call this to process another value in the sequence
 
Methods inherited from class common:Transfer
Init, IterateSilent
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

JLB_TrapTransferCollection

public JLB_TrapTransferCollection(Generic pparent)

JLB_TrapTransferCollection

public JLB_TrapTransferCollection()
Method Detail

Iterate

public float Iterate(float pr)
Description copied from class: Transfer
call this to process another value in the sequence

Overrides:
Iterate in class Transfer