Changeset 932 for cpp/frams/config


Ignore:
Timestamp:
05/28/20 18:00:45 (4 years ago)
Author:
Maciej Komosinski
Message:

Neuron classes now have a property (a bit field) that says whether each neuron class supports model shape BALL_AND_STICK, SOLIDS, or both

Location:
cpp/frams/config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/config/f0-SDK.def

    r920 r932  
    106106PROP(Vstyle,2,0,vis_style,s,0,0,neuro,vis_style)
    107107PROP(getInputCount,0,1+2,`input count',d,,,,inputCount,GETONLY)
    108 PROP(getInputNeuroDef,0,1+2,`get input neuron',p oNeuroDef(d),,,,p_getInputNeuroDef,PROCEDURE)
    109 PROP(getInputNeuroIndex,0,1+2,`get input neuron index',p d(d),,,,p_getInputNeuroIndex,PROCEDURE)
    110 PROP(getInputWeight,0,1+2,`get input weight',p f(d),,,,p_getInputWeight,PROCEDURE)
     108PROP(getInputNeuroDef,0,0,`get input neuron',p oNeuroDef(d),,,,p_getInputNeuroDef,PROCEDURE)
     109PROP(getInputNeuroIndex,0,0,`get input neuron index',p d(d),,,,p_getInputNeuroIndex,PROCEDURE)
     110PROP(getInputWeight,0,0,`get input weight',p f(d),,,,p_getInputWeight,PROCEDURE)
    111111PROP(classObject,0,1+2,`neuron class',oNeuroClass,,,,classObject,GETONLY)
    112112ENDCLASS
     
    158158
    159159NEUROCLASS(BendMuscle,|,Bend muscle,,1,0,2)
     160SHAPETYPE(BallAndStickShapeType)
    160161VISUALHINTS(DontShowClass+EffectorClass+V1BendMuscle+AtFirstPart)
    161162SYMBOL(`6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21')
     
    165166
    166167NEUROCLASS(RotMuscle,@,Rotation muscle,,1,0,2)
     168SHAPETYPE(BallAndStickShapeType)
    167169VISUALHINTS(DontShowClass+EffectorClass+V1RotMuscle+AtFirstPart)
    168170SYMBOL(`5,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,1,69,10,77,17,10,59,15,57,17,57,22,60,26,69,27,78,26,82,21,82,16,79,12,69,10,80,6,3,65,50,65,20,75,20,75,50')
     
    171173
    172174NEUROCLASS(SolidMuscle,M,Muscle,,1,0,2)
     175SHAPETYPE(SolidsShapeType)
    173176VISUALHINTS(EffectorClass+AtFirstPart+SolidMuscleFlag)
    174177SYMBOL(`6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21')
     
    190193
    191194NEUROCLASS(Sticky,Sti,Sticky [EXPERIMENTAL!],,1,0,1)
     195SHAPETYPE(BallAndStickShapeType)
    192196VISUALHINTS(EffectorClass)
    193197ENDNEUROCLASS
    194198
    195199NEUROCLASS(LinearMuscle,LMu,Linear muscle [EXPERIMENTAL!],,1,0,2)
    196 VISUALHINTS(EffectorClass)
     200SHAPETYPE(BallAndStickShapeType)
     201VISUALHINTS(EffectorClass+LinearMuscleFlag)
    197202NEUROPROP(p,0,0,power,f,0.01,1.0,1.0,power)
    198203ENDNEUROCLASS
  • cpp/frams/config/f0.def

    r920 r932  
    158158
    159159NEUROCLASS(BendMuscle,|,Bend muscle,,1,0,2)
     160SHAPETYPE(BallAndStickShapeType)
    160161VISUALHINTS(DontShowClass+EffectorClass+V1BendMuscle+AtFirstPart)
    161162SYMBOL(`6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21')
     
    165166
    166167NEUROCLASS(RotMuscle,@,Rotation muscle,,1,0,2)
     168SHAPETYPE(BallAndStickShapeType)
    167169VISUALHINTS(DontShowClass+EffectorClass+V1RotMuscle+AtFirstPart)
    168170SYMBOL(`5,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,1,69,10,77,17,10,59,15,57,17,57,22,60,26,69,27,78,26,82,21,82,16,79,12,69,10,80,6,3,65,50,65,20,75,20,75,50')
     
    171173
    172174NEUROCLASS(SolidMuscle,M,Muscle,,1,0,2)
     175SHAPETYPE(SolidsShapeType)
    173176VISUALHINTS(EffectorClass+AtFirstPart+SolidMuscleFlag)
    174177SYMBOL(`6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21')
     
    209212
    210213NEUROCLASS(Sticky,Sti,Sticky [EXPERIMENTAL!],,1,0,1)
     214SHAPETYPE(BallAndStickShapeType)
    211215VISUALHINTS(EffectorClass)
    212216ENDNEUROCLASS
    213217
    214218NEUROCLASS(LinearMuscle,LMu,Linear muscle [EXPERIMENTAL!],,1,0,2)
     219SHAPETYPE(BallAndStickShapeType)
    215220VISUALHINTS(EffectorClass+LinearMuscleFlag)
    216221NEUROPROP(p,0,0,power,f,0.01,1.0,1.0,power)
Note: See TracChangeset for help on using the changeset viewer.