23 namespace SOP_GuideGroomCoreEnums
37 using namespace UT::Literal;
80 using namespace UT::Literal;
120 using namespace UT::Literal;
121 switch (enum_value) {
137 using namespace UT::Literal;
138 switch (enum_value) {
154 using namespace UT::Literal;
155 switch (enum_value) {
171 using namespace UT::Literal;
172 switch (enum_value) {
188 using namespace UT::Literal;
189 switch (enum_value) {
206 using namespace UT::Literal;
207 switch (enum_value) {
225 using namespace UT::Literal;
226 switch (enum_value) {
243 using namespace UT::Literal;
244 switch (enum_value) {
260 using namespace UT::Literal;
261 switch (enum_value) {
279 using namespace UT::Literal;
280 switch (enum_value) {
299 using namespace UT::Literal;
300 switch (enum_value) {
319 using namespace UT::Literal;
320 switch (enum_value) {
342 using namespace UT::Literal;
343 switch (enum_value) {
367 using namespace UT::Literal;
368 switch (enum_value) {
389 using namespace UT::Literal;
390 switch (enum_value) {
422 if (groupcolor != src.
groupcolor)
return false;
423 if (groupname != src.
groupname)
return false;
440 for (
int i = 0; i < list.
entries(); i++)
446 buf.
appendSprintf(
"(%f, %f, %f)", list(i).groupcolor.x(), list(i).groupcolor.y(), list(i).groupcolor.z());
462 myStashnode =
".."_UTsh;
466 myMirrorbrush =
false;
468 myMirrorgroup =
""_UTsh;
473 myStrandmode =
false;
474 myCollidewithskin =
true;
475 myCreateorient =
false;
476 myOrientname =
"orient"_UTsh;
478 myOrientupattrib =
"tangent"_UTsh;
479 myOrientupattribflip =
false;
480 myTemplatesourcegroup =
""_UTsh;
481 myWidthoverride =
true;
483 myBrushsurface =
false;
484 myUsepartinglines =
true;
490 myBrushmaintainlength = 0;
491 myBrushsnaptosurface =
false;
493 myBrushbendfalloff = 0;
496 myAdjustlengthmode = 0;
497 myAdjustlengthvalue = 0.1;
498 myAdjustlengthlength = 0.1;
499 myAdjustlengthmethod = 1;
500 myMoverotatewithskin =
false;
501 mySculptdoconstrain =
true;
502 mySculptlockroot =
true;
503 mySculptmaintainevensegments =
false;
504 mySmoothtargetsmoothness = 0.5;
505 mySmoothposition =
true;
506 mySmoothorient =
true;
507 myBlurinskinspace =
false;
508 myBlurperpoint =
false;
510 myBlurlength =
false;
511 myBlurorient =
false;
513 myClumpperpoint =
false;
515 myPlantinterpolateguides =
true;
516 myPlantinterpolaterelskin =
true;
517 myPlantinterpolateorient =
true;
518 myPlanttemplatesource = 1;
519 myPlantlength = 0.01;
521 myDrawonskin =
false;
522 myDrawinterpolateorient =
false;
523 myDrawtemplatesource = 1;
524 myDrawlimitlength =
false;
528 myDrawseglength = 0.05;
529 myOrientbrushupmode = 0;
530 myOrientbrushperpoint =
false;
531 myPainttemplateallowblending =
false;
532 myEditactiveprim = 0;
537 myResamplesegmode = 0;
538 myResamplesegcount = 8;
539 myResampleseglength = 0.05;
545 myPreviewutil =
true;
546 myPaintmaskpoints =
false;
547 myGroupnewprims =
false;
548 myNamenewprims =
true;
549 myActivegroup =
""_UTsh;
550 myNameattrib =
""_UTsh;
551 myActivename =
""_UTsh;
552 myOverridecolor =
false;
553 myColorbyname =
false;
572 myCursordisplace = 0;
591 if (myStashnode != src.myStashnode)
return false;
592 if (myGroup != src.myGroup)
return false;
593 if (myGrouptype != src.myGrouptype)
return false;
594 if (myUsemask != src.myUsemask)
return false;
595 if (myMirrorbrush != src.myMirrorbrush)
return false;
596 if (myMirror != src.myMirror)
return false;
597 if (myMirrorgroup != src.myMirrorgroup)
return false;
598 if (myMirrororigin != src.myMirrororigin)
return false;
599 if (myMirrordir != src.myMirrordir)
return false;
600 if (myTool != src.myTool)
return false;
601 if (myRaybias != src.myRaybias)
return false;
602 if (myStrandmode != src.myStrandmode)
return false;
603 if (myCollidewithskin != src.myCollidewithskin)
return false;
604 if (myCreateorient != src.myCreateorient)
return false;
605 if (myOrientname != src.myOrientname)
return false;
606 if (myOrientup != src.myOrientup)
return false;
607 if (myOrientupattrib != src.myOrientupattrib)
return false;
608 if (myOrientupattribflip != src.myOrientupattribflip)
return false;
609 if (myTemplatesourcegroup != src.myTemplatesourcegroup)
return false;
610 if (myWidthoverride != src.myWidthoverride)
return false;
611 if (myWidth != src.myWidth)
return false;
612 if (myBrushsurface != src.myBrushsurface)
return false;
613 if (myUsepartinglines != src.myUsepartinglines)
return false;
614 if (myScreenradius != src.myScreenradius)
return false;
615 if (myObjectradius != src.myObjectradius)
return false;
616 if (mySoft != src.mySoft)
return false;
617 if (mySpacing != src.mySpacing)
return false;
618 if (myDensity != src.myDensity)
return false;
619 if (myBrushmaintainlength != src.myBrushmaintainlength)
return false;
620 if (myBrushsnaptosurface != src.myBrushsnaptosurface)
return false;
621 if (myBrushbend != src.myBrushbend)
return false;
622 if (myBrushbendfalloff != src.myBrushbendfalloff)
return false;
623 if (myLiftmode != src.myLiftmode)
return false;
624 if (myLiftangle != src.myLiftangle)
return false;
625 if (myAdjustlengthmode != src.myAdjustlengthmode)
return false;
626 if (myAdjustlengthvalue != src.myAdjustlengthvalue)
return false;
627 if (myAdjustlengthlength != src.myAdjustlengthlength)
return false;
628 if (myAdjustlengthmethod != src.myAdjustlengthmethod)
return false;
629 if (myMoverotatewithskin != src.myMoverotatewithskin)
return false;
630 if (mySculptdoconstrain != src.mySculptdoconstrain)
return false;
631 if (mySculptlockroot != src.mySculptlockroot)
return false;
632 if (mySculptmaintainevensegments != src.mySculptmaintainevensegments)
return false;
633 if (mySmoothtargetsmoothness != src.mySmoothtargetsmoothness)
return false;
634 if (mySmoothposition != src.mySmoothposition)
return false;
635 if (mySmoothorient != src.mySmoothorient)
return false;
636 if (myBlurinskinspace != src.myBlurinskinspace)
return false;
637 if (myBlurperpoint != src.myBlurperpoint)
return false;
638 if (myBlurshape != src.myBlurshape)
return false;
639 if (myBlurlength != src.myBlurlength)
return false;
640 if (myBlurorient != src.myBlurorient)
return false;
641 if (myCutmode != src.myCutmode)
return false;
642 if (myClumpperpoint != src.myClumpperpoint)
return false;
643 if (myPlantmode != src.myPlantmode)
return false;
644 if (myPlantinterpolateguides != src.myPlantinterpolateguides)
return false;
645 if (myPlantinterpolaterelskin != src.myPlantinterpolaterelskin)
return false;
646 if (myPlantinterpolateorient != src.myPlantinterpolateorient)
return false;
647 if (myPlanttemplatesource != src.myPlanttemplatesource)
return false;
648 if (myPlantlength != src.myPlantlength)
return false;
649 if (myPlantsegcount != src.myPlantsegcount)
return false;
650 if (myDrawonskin != src.myDrawonskin)
return false;
651 if (myDrawinterpolateorient != src.myDrawinterpolateorient)
return false;
652 if (myDrawtemplatesource != src.myDrawtemplatesource)
return false;
653 if (myDrawlimitlength != src.myDrawlimitlength)
return false;
654 if (myDrawcurvetype != src.myDrawcurvetype)
return false;
655 if (myDrawsegmode != src.myDrawsegmode)
return false;
656 if (myDrawsegcount != src.myDrawsegcount)
return false;
657 if (myDrawseglength != src.myDrawseglength)
return false;
658 if (myOrientbrushupmode != src.myOrientbrushupmode)
return false;
659 if (myOrientbrushperpoint != src.myOrientbrushperpoint)
return false;
660 if (myPainttemplateallowblending != src.myPainttemplateallowblending)
return false;
661 if (myEditactiveprim != src.myEditactiveprim)
return false;
662 if (myEditsoft != src.myEditsoft)
return false;
663 if (myEditsoftmode != src.myEditsoftmode)
return false;
664 if (myEditcurvefrac != src.myEditcurvefrac)
return false;
665 if (myEditcurvedist != src.myEditcurvedist)
return false;
666 if (myResamplesegmode != src.myResamplesegmode)
return false;
667 if (myResamplesegcount != src.myResamplesegcount)
return false;
668 if (myResampleseglength != src.myResampleseglength)
return false;
669 if (myTwistangle != src.myTwistangle)
return false;
670 if (myCurvemaskramp != src.myCurvemaskramp)
671 {
if (!myCurvemaskramp || !src.myCurvemaskramp || !(*myCurvemaskramp == *src.myCurvemaskramp))
return false; }
672 if (myGroom != src.myGroom)
674 if (myStrands != src.myStrands)
676 if (myStrokes != src.myStrokes)
678 if (myPreviewutil != src.myPreviewutil)
return false;
679 if (myPaintmaskpoints != src.myPaintmaskpoints)
return false;
680 if (myGroupnewprims != src.myGroupnewprims)
return false;
681 if (myNamenewprims != src.myNamenewprims)
return false;
682 if (myActivegroup != src.myActivegroup)
return false;
683 if (myNameattrib != src.myNameattrib)
return false;
684 if (myActivename != src.myActivename)
return false;
685 if (myOverridecolor != src.myOverridecolor)
return false;
686 if (myColorbyname != src.myColorbyname)
return false;
687 if (myDefaultcolor != src.myDefaultcolor)
return false;
688 if (myTemplatecolor != src.myTemplatecolor)
return false;
689 if (myColorseed != src.myColorseed)
return false;
690 if (myFolder_grouplist != src.myFolder_grouplist)
return false;
691 if (myXord != src.myXord)
return false;
692 if (myRord != src.myRord)
return false;
693 if (myT != src.myT)
return false;
694 if (myR != src.myR)
return false;
695 if (myS != src.myS)
return false;
696 if (myShear != src.myShear)
return false;
697 if (myScale != src.myScale)
return false;
698 if (myP != src.myP)
return false;
699 if (myPr != src.myPr)
return false;
700 if (myCamxform0 != src.myCamxform0)
return false;
701 if (myCamxform1 != src.myCamxform1)
return false;
702 if (myCamxform2 != src.myCamxform2)
return false;
703 if (myCamxform3 != src.myCamxform3)
return false;
704 if (myCampos != src.myCampos)
return false;
705 if (myCursorpos != src.myCursorpos)
return false;
706 if (myCursordisplace != src.myCursordisplace)
return false;
707 if (myRaypos != src.myRaypos)
return false;
708 if (myRaydir != src.myRaydir)
return false;
709 if (myStrengthscale != src.myStrengthscale)
return false;
710 if (myButton != src.myButton)
return false;
711 if (myShiftkey != src.myShiftkey)
return false;
712 if (myCtrlkey != src.myCtrlkey)
return false;
742 myStashnode =
".."_UTsh;
744 graph->
evalOpParm(myStashnode, nodeidx,
"stashnode", time, 0);
747 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
750 graph->
evalOpParm(myGrouptype, nodeidx,
"grouptype", time, 0);
753 graph->
evalOpParm(myUsemask, nodeidx,
"usemask", time, 0);
754 myMirrorbrush =
false;
756 graph->
evalOpParm(myMirrorbrush, nodeidx,
"mirrorbrush", time, 0);
759 graph->
evalOpParm(myMirror, nodeidx,
"mirror", time, 0);
760 myMirrorgroup =
""_UTsh;
762 graph->
evalOpParm(myMirrorgroup, nodeidx,
"mirrorgroup", time, 0);
765 graph->
evalOpParm(myMirrororigin, nodeidx,
"mirrororigin", time, 0);
768 graph->
evalOpParm(myMirrordir, nodeidx,
"mirrordir", time, 0);
771 graph->
evalOpParm(myTool, nodeidx,
"tool", time, 0);
774 graph->
evalOpParm(myRaybias, nodeidx,
"raybias", time, 0);
775 myStrandmode =
false;
777 graph->
evalOpParm(myStrandmode, nodeidx,
"strandmode", time, 0);
778 myCollidewithskin =
true;
780 graph->
evalOpParm(myCollidewithskin, nodeidx,
"collidewithskin", time, 0);
781 myCreateorient =
false;
783 graph->
evalOpParm(myCreateorient, nodeidx,
"createorient", time, 0);
784 myOrientname =
"orient"_UTsh;
786 graph->
evalOpParm(myOrientname, nodeidx,
"orientname", time, 0);
789 graph->
evalOpParm(myOrientup, nodeidx,
"orientup", time, 0);
790 myOrientupattrib =
"tangent"_UTsh;
792 graph->
evalOpParm(myOrientupattrib, nodeidx,
"orientupattrib", time, 0);
793 myOrientupattribflip =
false;
795 graph->
evalOpParm(myOrientupattribflip, nodeidx,
"orientupattribflip", time, 0);
796 myTemplatesourcegroup =
""_UTsh;
798 graph->
evalOpParm(myTemplatesourcegroup, nodeidx,
"templatesourcegroup", time, 0);
799 myWidthoverride =
true;
801 graph->
evalOpParm(myWidthoverride, nodeidx,
"widthoverride", time, 0);
804 graph->
evalOpParm(myWidth, nodeidx,
"width", time, 0);
805 myBrushsurface =
false;
807 graph->
evalOpParm(myBrushsurface, nodeidx,
"brushsurface", time, 0);
808 myUsepartinglines =
true;
810 graph->
evalOpParm(myUsepartinglines, nodeidx,
"usepartinglines", time, 0);
813 graph->
evalOpParm(myScreenradius, nodeidx,
"screenradius", time, 0);
816 graph->
evalOpParm(myObjectradius, nodeidx,
"objectradius", time, 0);
819 graph->
evalOpParm(mySoft, nodeidx,
"soft", time, 0);
822 graph->
evalOpParm(mySpacing, nodeidx,
"spacing", time, 0);
825 graph->
evalOpParm(myDensity, nodeidx,
"density", time, 0);
826 myBrushmaintainlength = 0;
828 graph->
evalOpParm(myBrushmaintainlength, nodeidx,
"brushmaintainlength", time, 0);
829 myBrushsnaptosurface =
false;
831 graph->
evalOpParm(myBrushsnaptosurface, nodeidx,
"brushsnaptosurface", time, 0);
834 graph->
evalOpParm(myBrushbend, nodeidx,
"brushbend", time, 0);
835 myBrushbendfalloff = 0;
837 graph->
evalOpParm(myBrushbendfalloff, nodeidx,
"brushbendfalloff", time, 0);
840 graph->
evalOpParm(myLiftmode, nodeidx,
"liftmode", time, 0);
843 graph->
evalOpParm(myLiftangle, nodeidx,
"liftangle", time, 0);
844 myAdjustlengthmode = 0;
846 graph->
evalOpParm(myAdjustlengthmode, nodeidx,
"adjustlengthmode", time, 0);
847 myAdjustlengthvalue = 0.1;
849 graph->
evalOpParm(myAdjustlengthvalue, nodeidx,
"adjustlengthvalue", time, 0);
850 myAdjustlengthlength = 0.1;
852 graph->
evalOpParm(myAdjustlengthlength, nodeidx,
"adjustlengthlength", time, 0);
853 myAdjustlengthmethod = 1;
855 graph->
evalOpParm(myAdjustlengthmethod, nodeidx,
"adjustlengthmethod", time, 0);
856 myMoverotatewithskin =
false;
858 graph->
evalOpParm(myMoverotatewithskin, nodeidx,
"moverotatewithskin", time, 0);
859 mySculptdoconstrain =
true;
861 graph->
evalOpParm(mySculptdoconstrain, nodeidx,
"sculptdoconstrain", time, 0);
862 mySculptlockroot =
true;
864 graph->
evalOpParm(mySculptlockroot, nodeidx,
"sculptlockroot", time, 0);
865 mySculptmaintainevensegments =
false;
867 graph->
evalOpParm(mySculptmaintainevensegments, nodeidx,
"sculptmaintainevensegments", time, 0);
868 mySmoothtargetsmoothness = 0.5;
870 graph->
evalOpParm(mySmoothtargetsmoothness, nodeidx,
"smoothtargetsmoothness", time, 0);
871 mySmoothposition =
true;
873 graph->
evalOpParm(mySmoothposition, nodeidx,
"smoothposition", time, 0);
874 mySmoothorient =
true;
876 graph->
evalOpParm(mySmoothorient, nodeidx,
"smoothorient", time, 0);
877 myBlurinskinspace =
false;
879 graph->
evalOpParm(myBlurinskinspace, nodeidx,
"blurinskinspace", time, 0);
880 myBlurperpoint =
false;
882 graph->
evalOpParm(myBlurperpoint, nodeidx,
"blurperpoint", time, 0);
885 graph->
evalOpParm(myBlurshape, nodeidx,
"blurshape", time, 0);
886 myBlurlength =
false;
888 graph->
evalOpParm(myBlurlength, nodeidx,
"blurlength", time, 0);
889 myBlurorient =
false;
891 graph->
evalOpParm(myBlurorient, nodeidx,
"blurorient", time, 0);
894 graph->
evalOpParm(myCutmode, nodeidx,
"cutmode", time, 0);
895 myClumpperpoint =
false;
897 graph->
evalOpParm(myClumpperpoint, nodeidx,
"clumpperpoint", time, 0);
900 graph->
evalOpParm(myPlantmode, nodeidx,
"plantmode", time, 0);
901 myPlantinterpolateguides =
true;
903 graph->
evalOpParm(myPlantinterpolateguides, nodeidx,
"plantinterpolateguides", time, 0);
904 myPlantinterpolaterelskin =
true;
906 graph->
evalOpParm(myPlantinterpolaterelskin, nodeidx,
"plantinterpolaterelskin", time, 0);
907 myPlantinterpolateorient =
true;
909 graph->
evalOpParm(myPlantinterpolateorient, nodeidx,
"plantinterpolateorient", time, 0);
910 myPlanttemplatesource = 1;
912 graph->
evalOpParm(myPlanttemplatesource, nodeidx,
"planttemplatesource", time, 0);
913 myPlantlength = 0.01;
915 graph->
evalOpParm(myPlantlength, nodeidx,
"plantlength", time, 0);
918 graph->
evalOpParm(myPlantsegcount, nodeidx,
"plantsegcount", time, 0);
919 myDrawonskin =
false;
921 graph->
evalOpParm(myDrawonskin, nodeidx,
"drawonskin", time, 0);
922 myDrawinterpolateorient =
false;
924 graph->
evalOpParm(myDrawinterpolateorient, nodeidx,
"drawinterpolateorient", time, 0);
925 myDrawtemplatesource = 1;
927 graph->
evalOpParm(myDrawtemplatesource, nodeidx,
"drawtemplatesource", time, 0);
928 myDrawlimitlength =
false;
930 graph->
evalOpParm(myDrawlimitlength, nodeidx,
"drawlimitlength", time, 0);
933 graph->
evalOpParm(myDrawcurvetype, nodeidx,
"drawcurvetype", time, 0);
936 graph->
evalOpParm(myDrawsegmode, nodeidx,
"drawsegmode", time, 0);
939 graph->
evalOpParm(myDrawsegcount, nodeidx,
"drawsegcount", time, 0);
940 myDrawseglength = 0.05;
942 graph->
evalOpParm(myDrawseglength, nodeidx,
"drawseglength", time, 0);
943 myOrientbrushupmode = 0;
945 graph->
evalOpParm(myOrientbrushupmode, nodeidx,
"orientbrushupmode", time, 0);
946 myOrientbrushperpoint =
false;
948 graph->
evalOpParm(myOrientbrushperpoint, nodeidx,
"orientbrushperpoint", time, 0);
949 myPainttemplateallowblending =
false;
951 graph->
evalOpParm(myPainttemplateallowblending, nodeidx,
"painttemplateallowblending", time, 0);
952 myEditactiveprim = 0;
954 graph->
evalOpParm(myEditactiveprim, nodeidx,
"editactiveprim", time, 0);
957 graph->
evalOpParm(myEditsoft, nodeidx,
"editsoft", time, 0);
960 graph->
evalOpParm(myEditsoftmode, nodeidx,
"editsoftmode", time, 0);
963 graph->
evalOpParm(myEditcurvefrac, nodeidx,
"editcurvefrac", time, 0);
966 graph->
evalOpParm(myEditcurvedist, nodeidx,
"editcurvedist", time, 0);
967 myResamplesegmode = 0;
969 graph->
evalOpParm(myResamplesegmode, nodeidx,
"resamplesegmode", time, 0);
970 myResamplesegcount = 8;
972 graph->
evalOpParm(myResamplesegcount, nodeidx,
"resamplesegcount", time, 0);
973 myResampleseglength = 0.05;
975 graph->
evalOpParm(myResampleseglength, nodeidx,
"resampleseglength", time, 0);
978 graph->
evalOpParm(myTwistangle, nodeidx,
"twistangle", time, 0);
981 graph->
evalOpParm(myCurvemaskramp, nodeidx,
"curvemaskramp", time, 0);
984 graph->
evalOpParm(myGroom, nodeidx,
"groom", time, 0);
987 graph->
evalOpParm(myStrands, nodeidx,
"strands", time, 0);
990 graph->
evalOpParm(myStrokes, nodeidx,
"strokes", time, 0);
991 myPreviewutil =
true;
993 graph->
evalOpParm(myPreviewutil, nodeidx,
"previewutil", time, 0);
994 myPaintmaskpoints =
false;
996 graph->
evalOpParm(myPaintmaskpoints, nodeidx,
"paintmaskpoints", time, 0);
997 myGroupnewprims =
false;
999 graph->
evalOpParm(myGroupnewprims, nodeidx,
"groupnewprims", time, 0);
1000 myNamenewprims =
true;
1002 graph->
evalOpParm(myNamenewprims, nodeidx,
"namenewprims", time, 0);
1003 myActivegroup =
""_UTsh;
1005 graph->
evalOpParm(myActivegroup, nodeidx,
"activegroup", time, 0);
1006 myNameattrib =
""_UTsh;
1008 graph->
evalOpParm(myNameattrib, nodeidx,
"nameattrib", time, 0);
1009 myActivename =
""_UTsh;
1011 graph->
evalOpParm(myActivename, nodeidx,
"activename", time, 0);
1012 myOverridecolor =
false;
1014 graph->
evalOpParm(myOverridecolor, nodeidx,
"overridecolor", time, 0);
1015 myColorbyname =
false;
1017 graph->
evalOpParm(myColorbyname, nodeidx,
"colorbyname", time, 0);
1020 graph->
evalOpParm(myDefaultcolor, nodeidx,
"defaultcolor", time, 0);
1023 graph->
evalOpParm(myTemplatecolor, nodeidx,
"templatecolor", time, 0);
1026 graph->
evalOpParm(myColorseed, nodeidx,
"colorseed", time, 0);
1030 graph->
evalOpParm(length, nodeidx,
"folder_grouplist", time, 0);
1031 if (length < 0) length = 0;
1032 myFolder_grouplist.setSize(length);
1039 auto && _curentry = myFolder_grouplist(i);
1043 graph->
evalOpParmInst(_curentry.groupcolor, nodeidx,
"groupcolor#", parmidx, offsets, time, 0, 2-1);
1044 _curentry.groupname =
""_UTsh;
1046 graph->
evalOpParmInst(_curentry.groupname, nodeidx,
"groupname#", parmidx, offsets, time, 0, 2-1);
1047 _curentry.groupoptions = 0;
1049 graph->
evalOpParmInst(_curentry.groupoptions, nodeidx,
"groupoptions#", parmidx, offsets, time, 0, 2-1);
1054 myFolder_grouplist.clear();
1057 graph->
evalOpParm(myXord, nodeidx,
"xOrd", time, 0);
1060 graph->
evalOpParm(myRord, nodeidx,
"rOrd", time, 0);
1063 graph->
evalOpParm(myT, nodeidx,
"t", time, 0);
1066 graph->
evalOpParm(myR, nodeidx,
"r", time, 0);
1069 graph->
evalOpParm(myS, nodeidx,
"s", time, 0);
1072 graph->
evalOpParm(myShear, nodeidx,
"shear", time, 0);
1075 graph->
evalOpParm(myScale, nodeidx,
"scale", time, 0);
1078 graph->
evalOpParm(myP, nodeidx,
"p", time, 0);
1081 graph->
evalOpParm(myPr, nodeidx,
"pr", time, 0);
1084 graph->
evalOpParm(myCamxform0, nodeidx,
"camxform0", time, 0);
1087 graph->
evalOpParm(myCamxform1, nodeidx,
"camxform1", time, 0);
1090 graph->
evalOpParm(myCamxform2, nodeidx,
"camxform2", time, 0);
1093 graph->
evalOpParm(myCamxform3, nodeidx,
"camxform3", time, 0);
1096 graph->
evalOpParm(myCampos, nodeidx,
"campos", time, 0);
1099 graph->
evalOpParm(myCursorpos, nodeidx,
"cursorpos", time, 0);
1100 myCursordisplace = 0;
1102 graph->
evalOpParm(myCursordisplace, nodeidx,
"cursordisplace", time, 0);
1105 graph->
evalOpParm(myRaypos, nodeidx,
"raypos", time, 0);
1108 graph->
evalOpParm(myRaydir, nodeidx,
"raydir", time, 0);
1109 myStrengthscale = 0;
1111 graph->
evalOpParm(myStrengthscale, nodeidx,
"strengthscale", time, 0);
1114 graph->
evalOpParm(myButton, nodeidx,
"button", time, 0);
1117 graph->
evalOpParm(myShiftkey, nodeidx,
"shiftkey", time, 0);
1120 graph->
evalOpParm(myCtrlkey, nodeidx,
"ctrlkey", time, 0);
1136 template <
typename T>
1143 if (idx.
size() != instance.
size()+1)
1148 coerceValue(value, myStashnode);
1151 coerceValue(value, myGroup);
1154 coerceValue(value, myGrouptype);
1157 coerceValue(value, myUsemask);
1160 coerceValue(value, myMirrorbrush);
1163 coerceValue(value, myMirror);
1166 coerceValue(value, myMirrorgroup);
1169 coerceValue(value, myMirrororigin);
1172 coerceValue(value, myMirrordir);
1175 coerceValue(value, myTool);
1178 coerceValue(value, myRaybias);
1181 coerceValue(value, myStrandmode);
1184 coerceValue(value, myCollidewithskin);
1187 coerceValue(value, myCreateorient);
1190 coerceValue(value, myOrientname);
1193 coerceValue(value, myOrientup);
1196 coerceValue(value, myOrientupattrib);
1199 coerceValue(value, myOrientupattribflip);
1202 coerceValue(value, myTemplatesourcegroup);
1205 coerceValue(value, myWidthoverride);
1208 coerceValue(value, myWidth);
1211 coerceValue(value, myBrushsurface);
1214 coerceValue(value, myUsepartinglines);
1217 coerceValue(value, myScreenradius);
1220 coerceValue(value, myObjectradius);
1223 coerceValue(value, mySoft);
1226 coerceValue(value, mySpacing);
1229 coerceValue(value, myDensity);
1232 coerceValue(value, myBrushmaintainlength);
1235 coerceValue(value, myBrushsnaptosurface);
1238 coerceValue(value, myBrushbend);
1241 coerceValue(value, myBrushbendfalloff);
1244 coerceValue(value, myLiftmode);
1247 coerceValue(value, myLiftangle);
1250 coerceValue(value, myAdjustlengthmode);
1253 coerceValue(value, myAdjustlengthvalue);
1256 coerceValue(value, myAdjustlengthlength);
1259 coerceValue(value, myAdjustlengthmethod);
1262 coerceValue(value, myMoverotatewithskin);
1265 coerceValue(value, mySculptdoconstrain);
1268 coerceValue(value, mySculptlockroot);
1271 coerceValue(value, mySculptmaintainevensegments);
1274 coerceValue(value, mySmoothtargetsmoothness);
1277 coerceValue(value, mySmoothposition);
1280 coerceValue(value, mySmoothorient);
1283 coerceValue(value, myBlurinskinspace);
1286 coerceValue(value, myBlurperpoint);
1289 coerceValue(value, myBlurshape);
1292 coerceValue(value, myBlurlength);
1295 coerceValue(value, myBlurorient);
1298 coerceValue(value, myCutmode);
1301 coerceValue(value, myClumpperpoint);
1304 coerceValue(value, myPlantmode);
1307 coerceValue(value, myPlantinterpolateguides);
1310 coerceValue(value, myPlantinterpolaterelskin);
1313 coerceValue(value, myPlantinterpolateorient);
1316 coerceValue(value, myPlanttemplatesource);
1319 coerceValue(value, myPlantlength);
1322 coerceValue(value, myPlantsegcount);
1325 coerceValue(value, myDrawonskin);
1328 coerceValue(value, myDrawinterpolateorient);
1331 coerceValue(value, myDrawtemplatesource);
1334 coerceValue(value, myDrawlimitlength);
1337 coerceValue(value, myDrawcurvetype);
1340 coerceValue(value, myDrawsegmode);
1343 coerceValue(value, myDrawsegcount);
1346 coerceValue(value, myDrawseglength);
1349 coerceValue(value, myOrientbrushupmode);
1352 coerceValue(value, myOrientbrushperpoint);
1355 coerceValue(value, myPainttemplateallowblending);
1358 coerceValue(value, myEditactiveprim);
1361 coerceValue(value, myEditsoft);
1364 coerceValue(value, myEditsoftmode);
1367 coerceValue(value, myEditcurvefrac);
1370 coerceValue(value, myEditcurvedist);
1373 coerceValue(value, myResamplesegmode);
1376 coerceValue(value, myResamplesegcount);
1379 coerceValue(value, myResampleseglength);
1382 coerceValue(value, myTwistangle);
1385 coerceValue(value, myCurvemaskramp);
1388 coerceValue(value, myGroom);
1391 coerceValue(value, myStrands);
1394 coerceValue(value, myStrokes);
1397 coerceValue(value, myPreviewutil);
1400 coerceValue(value, myPaintmaskpoints);
1403 coerceValue(value, myGroupnewprims);
1406 coerceValue(value, myNamenewprims);
1409 coerceValue(value, myActivegroup);
1412 coerceValue(value, myNameattrib);
1415 coerceValue(value, myActivename);
1418 coerceValue(value, myOverridecolor);
1421 coerceValue(value, myColorbyname);
1424 coerceValue(value, myDefaultcolor);
1427 coerceValue(value, myTemplatecolor);
1430 coerceValue(value, myColorseed);
1433 if (idx.
size() == 1)
1434 coerceValue(value, myFolder_grouplist.entries());
1435 else if (instance[0] < myFolder_grouplist.entries())
1437 auto && _data = myFolder_grouplist(instance[0]);
1441 coerceValue(value, _data.groupcolor);
1444 coerceValue(value, _data.groupname);
1447 coerceValue(value, _data.groupoptions);
1454 coerceValue(value, myXord);
1457 coerceValue(value, myRord);
1460 coerceValue(value, myT);
1463 coerceValue(value, myR);
1466 coerceValue(value, myS);
1469 coerceValue(value, myShear);
1472 coerceValue(value, myScale);
1475 coerceValue(value, myP);
1478 coerceValue(value, myPr);
1481 coerceValue(value, myCamxform0);
1484 coerceValue(value, myCamxform1);
1487 coerceValue(value, myCamxform2);
1490 coerceValue(value, myCamxform3);
1493 coerceValue(value, myCampos);
1496 coerceValue(value, myCursorpos);
1499 coerceValue(value, myCursordisplace);
1502 coerceValue(value, myRaypos);
1505 coerceValue(value, myRaydir);
1508 coerceValue(value, myStrengthscale);
1511 coerceValue(value, myButton);
1514 coerceValue(value, myShiftkey);
1517 coerceValue(value, myCtrlkey);
1533 { doGetParmValue(idx, instance, value); }
1535 { doGetParmValue(idx, instance, value); }
1537 { doGetParmValue(idx, instance, value); }
1539 { doGetParmValue(idx, instance, value); }
1541 { doGetParmValue(idx, instance, value); }
1543 { doGetParmValue(idx, instance, value); }
1545 { doGetParmValue(idx, instance, value); }
1547 { doGetParmValue(idx, instance, value); }
1549 { doGetParmValue(idx, instance, value); }
1551 { doGetParmValue(idx, instance, value); }
1553 { doGetParmValue(idx, instance, value); }
1555 template <
typename T>
1562 if (idx.
size() != instance.
size()+1)
1567 coerceValue(myStashnode, ( ( value ) ));
1570 coerceValue(myGroup, ( ( value ) ));
1573 coerceValue(myGrouptype, clampMinValue(0, clampMaxValue(4, value ) ));
1576 coerceValue(myUsemask, ( ( value ) ));
1579 coerceValue(myMirrorbrush, ( ( value ) ));
1582 coerceValue(myMirror, ( ( value ) ));
1585 coerceValue(myMirrorgroup, ( ( value ) ));
1588 coerceValue(myMirrororigin, ( ( value ) ));
1591 coerceValue(myMirrordir, ( ( value ) ));
1594 coerceValue(myTool, clampMinValue(0, clampMaxValue(24, value ) ));
1597 coerceValue(myRaybias, ( ( value ) ));
1600 coerceValue(myStrandmode, ( ( value ) ));
1603 coerceValue(myCollidewithskin, ( ( value ) ));
1606 coerceValue(myCreateorient, ( ( value ) ));
1609 coerceValue(myOrientname, ( ( value ) ));
1612 coerceValue(myOrientup, ( ( value ) ));
1615 coerceValue(myOrientupattrib, ( ( value ) ));
1618 coerceValue(myOrientupattribflip, ( ( value ) ));
1621 coerceValue(myTemplatesourcegroup, ( ( value ) ));
1624 coerceValue(myWidthoverride, ( ( value ) ));
1627 coerceValue(myWidth, ( ( value ) ));
1630 coerceValue(myBrushsurface, ( ( value ) ));
1633 coerceValue(myUsepartinglines, ( ( value ) ));
1636 coerceValue(myScreenradius, ( ( value ) ));
1639 coerceValue(myObjectradius, ( ( value ) ));
1642 coerceValue(mySoft, ( ( value ) ));
1645 coerceValue(mySpacing, ( ( value ) ));
1648 coerceValue(myDensity, ( ( value ) ));
1651 coerceValue(myBrushmaintainlength, ( ( value ) ));
1654 coerceValue(myBrushsnaptosurface, ( ( value ) ));
1657 coerceValue(myBrushbend, ( ( value ) ));
1660 coerceValue(myBrushbendfalloff, ( ( value ) ));
1663 coerceValue(myLiftmode, clampMinValue(0, clampMaxValue(1, value ) ));
1666 coerceValue(myLiftangle, ( ( value ) ));
1669 coerceValue(myAdjustlengthmode, clampMinValue(0, clampMaxValue(1, value ) ));
1672 coerceValue(myAdjustlengthvalue, ( ( value ) ));
1675 coerceValue(myAdjustlengthlength, ( ( value ) ));
1678 coerceValue(myAdjustlengthmethod, clampMinValue(0, clampMaxValue(1, value ) ));
1681 coerceValue(myMoverotatewithskin, ( ( value ) ));
1684 coerceValue(mySculptdoconstrain, ( ( value ) ));
1687 coerceValue(mySculptlockroot, ( ( value ) ));
1690 coerceValue(mySculptmaintainevensegments, ( ( value ) ));
1693 coerceValue(mySmoothtargetsmoothness, ( ( value ) ));
1696 coerceValue(mySmoothposition, ( ( value ) ));
1699 coerceValue(mySmoothorient, ( ( value ) ));
1702 coerceValue(myBlurinskinspace, ( ( value ) ));
1705 coerceValue(myBlurperpoint, ( ( value ) ));
1708 coerceValue(myBlurshape, ( ( value ) ));
1711 coerceValue(myBlurlength, ( ( value ) ));
1714 coerceValue(myBlurorient, ( ( value ) ));
1717 coerceValue(myCutmode, clampMinValue(0, clampMaxValue(1, value ) ));
1720 coerceValue(myClumpperpoint, ( ( value ) ));
1723 coerceValue(myPlantmode, clampMinValue(0, clampMaxValue(1, value ) ));
1726 coerceValue(myPlantinterpolateguides, ( ( value ) ));
1729 coerceValue(myPlantinterpolaterelskin, ( ( value ) ));
1732 coerceValue(myPlantinterpolateorient, ( ( value ) ));
1735 coerceValue(myPlanttemplatesource, clampMinValue(0, clampMaxValue(2, value ) ));
1738 coerceValue(myPlantlength, ( ( value ) ));
1741 coerceValue(myPlantsegcount, ( ( value ) ));
1744 coerceValue(myDrawonskin, ( ( value ) ));
1747 coerceValue(myDrawinterpolateorient, ( ( value ) ));
1750 coerceValue(myDrawtemplatesource, clampMinValue(0, clampMaxValue(2, value ) ));
1753 coerceValue(myDrawlimitlength, ( ( value ) ));
1756 coerceValue(myDrawcurvetype, clampMinValue(0, clampMaxValue(1, value ) ));
1759 coerceValue(myDrawsegmode, clampMinValue(0, clampMaxValue(1, value ) ));
1762 coerceValue(myDrawsegcount, ( ( value ) ));
1765 coerceValue(myDrawseglength, ( ( value ) ));
1768 coerceValue(myOrientbrushupmode, clampMinValue(0, clampMaxValue(3, value ) ));
1771 coerceValue(myOrientbrushperpoint, ( ( value ) ));
1774 coerceValue(myPainttemplateallowblending, ( ( value ) ));
1777 coerceValue(myEditactiveprim, ( ( value ) ));
1780 coerceValue(myEditsoft, ( ( value ) ));
1783 coerceValue(myEditsoftmode, clampMinValue(0, clampMaxValue(2, value ) ));
1786 coerceValue(myEditcurvefrac, ( ( value ) ));
1789 coerceValue(myEditcurvedist, ( ( value ) ));
1792 coerceValue(myResamplesegmode, clampMinValue(0, clampMaxValue(3, value ) ));
1795 coerceValue(myResamplesegcount, ( ( value ) ));
1798 coerceValue(myResampleseglength, ( ( value ) ));
1801 coerceValue(myTwistangle, ( ( value ) ));
1804 coerceValue(myCurvemaskramp, clampMinValue(0, ( value ) ));
1807 coerceValue(myGroom, ( ( value ) ));
1810 coerceValue(myStrands, ( ( value ) ));
1813 coerceValue(myStrokes, ( ( value ) ));
1816 coerceValue(myPreviewutil, ( ( value ) ));
1819 coerceValue(myPaintmaskpoints, ( ( value ) ));
1822 coerceValue(myGroupnewprims, ( ( value ) ));
1825 coerceValue(myNamenewprims, ( ( value ) ));
1828 coerceValue(myActivegroup, ( ( value ) ));
1831 coerceValue(myNameattrib, ( ( value ) ));
1834 coerceValue(myActivename, ( ( value ) ));
1837 coerceValue(myOverridecolor, ( ( value ) ));
1840 coerceValue(myColorbyname, ( ( value ) ));
1843 coerceValue(myDefaultcolor, ( ( value ) ));
1846 coerceValue(myTemplatecolor, ( ( value ) ));
1849 coerceValue(myColorseed, ( ( value ) ));
1852 if (idx.
size() == 1)
1855 coerceValue(newsize, value);
1856 if (newsize < 0) newsize = 0;
1857 myFolder_grouplist.setSize(newsize);
1861 if (instance[0] < 0)
1863 myFolder_grouplist.setSizeIfNeeded(instance[0]+1);
1864 auto && _data = myFolder_grouplist(instance[0]);
1868 coerceValue(_data.groupcolor, value);
1871 coerceValue(_data.groupname, value);
1874 coerceValue(_data.groupoptions, value);
1881 coerceValue(myXord, clampMinValue(0, clampMaxValue(5, value ) ));
1884 coerceValue(myRord, clampMinValue(0, clampMaxValue(5, value ) ));
1887 coerceValue(myT, ( ( value ) ));
1890 coerceValue(myR, ( ( value ) ));
1893 coerceValue(myS, ( ( value ) ));
1896 coerceValue(myShear, ( ( value ) ));
1899 coerceValue(myScale, ( ( value ) ));
1902 coerceValue(myP, ( ( value ) ));
1905 coerceValue(myPr, ( ( value ) ));
1908 coerceValue(myCamxform0, ( ( value ) ));
1911 coerceValue(myCamxform1, ( ( value ) ));
1914 coerceValue(myCamxform2, ( ( value ) ));
1917 coerceValue(myCamxform3, ( ( value ) ));
1920 coerceValue(myCampos, ( ( value ) ));
1923 coerceValue(myCursorpos, ( ( value ) ));
1926 coerceValue(myCursordisplace, ( ( value ) ));
1929 coerceValue(myRaypos, ( ( value ) ));
1932 coerceValue(myRaydir, ( ( value ) ));
1935 coerceValue(myStrengthscale, ( ( value ) ));
1938 coerceValue(myButton, clampMinValue(0, clampMaxValue(2, value ) ));
1941 coerceValue(myShiftkey, ( ( value ) ));
1944 coerceValue(myCtrlkey, ( ( value ) ));
1951 { doSetParmValue(idx, instance, value); }
1953 { doSetParmValue(idx, instance, value); }
1955 { doSetParmValue(idx, instance, value); }
1957 { doSetParmValue(idx, instance, value); }
1959 { doSetParmValue(idx, instance, value); }
1961 { doSetParmValue(idx, instance, value); }
1963 { doSetParmValue(idx, instance, value); }
1965 { doSetParmValue(idx, instance, value); }
1967 { doSetParmValue(idx, instance, value); }
1969 { doSetParmValue(idx, instance, value); }
1971 { doSetParmValue(idx, instance, value); }
1975 if (idx.
size() == 0)
1989 if (fieldnum.
size() < 1)
1991 switch (fieldnum[0])
2002 return "mirrorbrush";
2006 return "mirrorgroup";
2008 return "mirrororigin";
2016 return "strandmode";
2018 return "collidewithskin";
2020 return "createorient";
2022 return "orientname";
2026 return "orientupattrib";
2028 return "orientupattribflip";
2030 return "templatesourcegroup";
2032 return "widthoverride";
2036 return "brushsurface";
2038 return "usepartinglines";
2040 return "screenradius";
2042 return "objectradius";
2050 return "brushmaintainlength";
2052 return "brushsnaptosurface";
2056 return "brushbendfalloff";
2062 return "adjustlengthmode";
2064 return "adjustlengthvalue";
2066 return "adjustlengthlength";
2068 return "adjustlengthmethod";
2070 return "moverotatewithskin";
2072 return "sculptdoconstrain";
2074 return "sculptlockroot";
2076 return "sculptmaintainevensegments";
2078 return "smoothtargetsmoothness";
2080 return "smoothposition";
2082 return "smoothorient";
2084 return "blurinskinspace";
2086 return "blurperpoint";
2090 return "blurlength";
2092 return "blurorient";
2096 return "clumpperpoint";
2100 return "plantinterpolateguides";
2102 return "plantinterpolaterelskin";
2104 return "plantinterpolateorient";
2106 return "planttemplatesource";
2108 return "plantlength";
2110 return "plantsegcount";
2112 return "drawonskin";
2114 return "drawinterpolateorient";
2116 return "drawtemplatesource";
2118 return "drawlimitlength";
2120 return "drawcurvetype";
2122 return "drawsegmode";
2124 return "drawsegcount";
2126 return "drawseglength";
2128 return "orientbrushupmode";
2130 return "orientbrushperpoint";
2132 return "painttemplateallowblending";
2134 return "editactiveprim";
2138 return "editsoftmode";
2140 return "editcurvefrac";
2142 return "editcurvedist";
2144 return "resamplesegmode";
2146 return "resamplesegcount";
2148 return "resampleseglength";
2150 return "twistangle";
2152 return "curvemaskramp";
2160 return "previewutil";
2162 return "paintmaskpoints";
2164 return "groupnewprims";
2166 return "namenewprims";
2168 return "activegroup";
2170 return "nameattrib";
2172 return "activename";
2174 return "overridecolor";
2176 return "colorbyname";
2178 return "defaultcolor";
2180 return "templatecolor";
2184 if (fieldnum.
size() == 1)
2185 return "folder_grouplist";
2186 switch (fieldnum[1])
2189 return "groupcolor#";
2191 return "groupname#";
2193 return "groupoptions#";
2228 return "cursordisplace";
2234 return "strengthscale";
2248 if (fieldnum.
size() < 1)
2249 return PARM_UNSUPPORTED;
2250 switch (fieldnum[0])
2257 return PARM_INTEGER;
2259 return PARM_INTEGER;
2261 return PARM_INTEGER;
2263 return PARM_INTEGER;
2267 return PARM_VECTOR3;
2269 return PARM_VECTOR3;
2271 return PARM_INTEGER;
2275 return PARM_INTEGER;
2277 return PARM_INTEGER;
2279 return PARM_INTEGER;
2283 return PARM_VECTOR3;
2287 return PARM_INTEGER;
2291 return PARM_INTEGER;
2295 return PARM_INTEGER;
2297 return PARM_INTEGER;
2311 return PARM_INTEGER;
2317 return PARM_INTEGER;
2321 return PARM_INTEGER;
2327 return PARM_INTEGER;
2329 return PARM_INTEGER;
2331 return PARM_INTEGER;
2333 return PARM_INTEGER;
2335 return PARM_INTEGER;
2339 return PARM_INTEGER;
2341 return PARM_INTEGER;
2343 return PARM_INTEGER;
2345 return PARM_INTEGER;
2347 return PARM_INTEGER;
2349 return PARM_INTEGER;
2351 return PARM_INTEGER;
2353 return PARM_INTEGER;
2355 return PARM_INTEGER;
2357 return PARM_INTEGER;
2359 return PARM_INTEGER;
2361 return PARM_INTEGER;
2363 return PARM_INTEGER;
2365 return PARM_INTEGER;
2369 return PARM_INTEGER;
2371 return PARM_INTEGER;
2373 return PARM_INTEGER;
2375 return PARM_INTEGER;
2377 return PARM_INTEGER;
2379 return PARM_INTEGER;
2381 return PARM_INTEGER;
2383 return PARM_INTEGER;
2387 return PARM_INTEGER;
2389 return PARM_INTEGER;
2391 return PARM_INTEGER;
2393 return PARM_INTEGER;
2395 return PARM_INTEGER;
2397 return PARM_INTEGER;
2403 return PARM_INTEGER;
2405 return PARM_INTEGER;
2419 return PARM_INTEGER;
2421 return PARM_INTEGER;
2423 return PARM_INTEGER;
2425 return PARM_INTEGER;
2433 return PARM_INTEGER;
2435 return PARM_INTEGER;
2437 return PARM_VECTOR3;
2439 return PARM_VECTOR3;
2441 return PARM_INTEGER;
2443 if (fieldnum.
size() == 1)
2444 return PARM_MULTIPARM;
2445 switch (fieldnum[1])
2448 return PARM_VECTOR3;
2452 return PARM_INTEGER;
2455 return PARM_UNSUPPORTED;
2457 return PARM_INTEGER;
2459 return PARM_INTEGER;
2461 return PARM_VECTOR3;
2463 return PARM_VECTOR3;
2465 return PARM_VECTOR3;
2467 return PARM_VECTOR3;
2471 return PARM_VECTOR3;
2473 return PARM_VECTOR3;
2475 return PARM_VECTOR4;
2477 return PARM_VECTOR4;
2479 return PARM_VECTOR4;
2481 return PARM_VECTOR4;
2483 return PARM_VECTOR3;
2485 return PARM_VECTOR2;
2487 return PARM_VECTOR3;
2489 return PARM_VECTOR3;
2491 return PARM_VECTOR3;
2495 return PARM_INTEGER;
2497 return PARM_INTEGER;
2499 return PARM_INTEGER;
2502 return PARM_UNSUPPORTED;
2507 { is.
bread(&v, 1); }
2538 loadData(is, rampdata);
2556 int typelen = colon - data.
buffer();
2568 { UTwrite(os, &v); }
2570 {
int64 iv =
v; UTwrite(os, &iv); }
2572 { UTwrite<fpreal64>(os, &
v); }
2574 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
2576 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
2577 UTwrite<fpreal64>(os, &v.
z()); }
2579 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
2580 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
2592 if (s) s->save(ostr);
2593 result = ostr.
str();
2594 saveData(os, result);
2601 ostr << s->getDataTypeToken();
2603 s->saveBinary(ostr);
2605 result = ostr.
str();
2606 saveData(os, result);
2614 saveData(os, myStashnode);
2615 saveData(os, myGroup);
2616 saveData(os, myGrouptype);
2617 saveData(os, myUsemask);
2618 saveData(os, myMirrorbrush);
2619 saveData(os, myMirror);
2620 saveData(os, myMirrorgroup);
2621 saveData(os, myMirrororigin);
2622 saveData(os, myMirrordir);
2623 saveData(os, myTool);
2624 saveData(os, myRaybias);
2625 saveData(os, myStrandmode);
2626 saveData(os, myCollidewithskin);
2627 saveData(os, myCreateorient);
2628 saveData(os, myOrientname);
2629 saveData(os, myOrientup);
2630 saveData(os, myOrientupattrib);
2631 saveData(os, myOrientupattribflip);
2632 saveData(os, myTemplatesourcegroup);
2633 saveData(os, myWidthoverride);
2634 saveData(os, myWidth);
2635 saveData(os, myBrushsurface);
2636 saveData(os, myUsepartinglines);
2637 saveData(os, myScreenradius);
2638 saveData(os, myObjectradius);
2639 saveData(os, mySoft);
2640 saveData(os, mySpacing);
2641 saveData(os, myDensity);
2642 saveData(os, myBrushmaintainlength);
2643 saveData(os, myBrushsnaptosurface);
2644 saveData(os, myBrushbend);
2645 saveData(os, myBrushbendfalloff);
2646 saveData(os, myLiftmode);
2647 saveData(os, myLiftangle);
2648 saveData(os, myAdjustlengthmode);
2649 saveData(os, myAdjustlengthvalue);
2650 saveData(os, myAdjustlengthlength);
2651 saveData(os, myAdjustlengthmethod);
2652 saveData(os, myMoverotatewithskin);
2653 saveData(os, mySculptdoconstrain);
2654 saveData(os, mySculptlockroot);
2655 saveData(os, mySculptmaintainevensegments);
2656 saveData(os, mySmoothtargetsmoothness);
2657 saveData(os, mySmoothposition);
2658 saveData(os, mySmoothorient);
2659 saveData(os, myBlurinskinspace);
2660 saveData(os, myBlurperpoint);
2661 saveData(os, myBlurshape);
2662 saveData(os, myBlurlength);
2663 saveData(os, myBlurorient);
2664 saveData(os, myCutmode);
2665 saveData(os, myClumpperpoint);
2666 saveData(os, myPlantmode);
2667 saveData(os, myPlantinterpolateguides);
2668 saveData(os, myPlantinterpolaterelskin);
2669 saveData(os, myPlantinterpolateorient);
2670 saveData(os, myPlanttemplatesource);
2671 saveData(os, myPlantlength);
2672 saveData(os, myPlantsegcount);
2673 saveData(os, myDrawonskin);
2674 saveData(os, myDrawinterpolateorient);
2675 saveData(os, myDrawtemplatesource);
2676 saveData(os, myDrawlimitlength);
2677 saveData(os, myDrawcurvetype);
2678 saveData(os, myDrawsegmode);
2679 saveData(os, myDrawsegcount);
2680 saveData(os, myDrawseglength);
2681 saveData(os, myOrientbrushupmode);
2682 saveData(os, myOrientbrushperpoint);
2683 saveData(os, myPainttemplateallowblending);
2684 saveData(os, myEditactiveprim);
2685 saveData(os, myEditsoft);
2686 saveData(os, myEditsoftmode);
2687 saveData(os, myEditcurvefrac);
2688 saveData(os, myEditcurvedist);
2689 saveData(os, myResamplesegmode);
2690 saveData(os, myResamplesegcount);
2691 saveData(os, myResampleseglength);
2692 saveData(os, myTwistangle);
2693 saveData(os, myCurvemaskramp);
2694 saveData(os, myGroom);
2695 saveData(os, myStrands);
2696 saveData(os, myStrokes);
2697 saveData(os, myPreviewutil);
2698 saveData(os, myPaintmaskpoints);
2699 saveData(os, myGroupnewprims);
2700 saveData(os, myNamenewprims);
2701 saveData(os, myActivegroup);
2702 saveData(os, myNameattrib);
2703 saveData(os, myActivename);
2704 saveData(os, myOverridecolor);
2705 saveData(os, myColorbyname);
2706 saveData(os, myDefaultcolor);
2707 saveData(os, myTemplatecolor);
2708 saveData(os, myColorseed);
2711 UTwrite(os, &length);
2714 auto && _curentry = myFolder_grouplist(i);
2716 saveData(os, _curentry.groupcolor);
2717 saveData(os, _curentry.groupname);
2718 saveData(os, _curentry.groupoptions);
2722 saveData(os, myXord);
2723 saveData(os, myRord);
2727 saveData(os, myShear);
2728 saveData(os, myScale);
2731 saveData(os, myCamxform0);
2732 saveData(os, myCamxform1);
2733 saveData(os, myCamxform2);
2734 saveData(os, myCamxform3);
2735 saveData(os, myCampos);
2736 saveData(os, myCursorpos);
2737 saveData(os, myCursordisplace);
2738 saveData(os, myRaypos);
2739 saveData(os, myRaydir);
2740 saveData(os, myStrengthscale);
2741 saveData(os, myButton);
2742 saveData(os, myShiftkey);
2743 saveData(os, myCtrlkey);
2756 loadData(is, myStashnode);
2757 loadData(is, myGroup);
2758 loadData(is, myGrouptype);
2759 loadData(is, myUsemask);
2760 loadData(is, myMirrorbrush);
2761 loadData(is, myMirror);
2762 loadData(is, myMirrorgroup);
2763 loadData(is, myMirrororigin);
2764 loadData(is, myMirrordir);
2765 loadData(is, myTool);
2766 loadData(is, myRaybias);
2767 loadData(is, myStrandmode);
2768 loadData(is, myCollidewithskin);
2769 loadData(is, myCreateorient);
2770 loadData(is, myOrientname);
2771 loadData(is, myOrientup);
2772 loadData(is, myOrientupattrib);
2773 loadData(is, myOrientupattribflip);
2774 loadData(is, myTemplatesourcegroup);
2775 loadData(is, myWidthoverride);
2776 loadData(is, myWidth);
2777 loadData(is, myBrushsurface);
2778 loadData(is, myUsepartinglines);
2779 loadData(is, myScreenradius);
2780 loadData(is, myObjectradius);
2781 loadData(is, mySoft);
2782 loadData(is, mySpacing);
2783 loadData(is, myDensity);
2784 loadData(is, myBrushmaintainlength);
2785 loadData(is, myBrushsnaptosurface);
2786 loadData(is, myBrushbend);
2787 loadData(is, myBrushbendfalloff);
2788 loadData(is, myLiftmode);
2789 loadData(is, myLiftangle);
2790 loadData(is, myAdjustlengthmode);
2791 loadData(is, myAdjustlengthvalue);
2792 loadData(is, myAdjustlengthlength);
2793 loadData(is, myAdjustlengthmethod);
2794 loadData(is, myMoverotatewithskin);
2795 loadData(is, mySculptdoconstrain);
2796 loadData(is, mySculptlockroot);
2797 loadData(is, mySculptmaintainevensegments);
2798 loadData(is, mySmoothtargetsmoothness);
2799 loadData(is, mySmoothposition);
2800 loadData(is, mySmoothorient);
2801 loadData(is, myBlurinskinspace);
2802 loadData(is, myBlurperpoint);
2803 loadData(is, myBlurshape);
2804 loadData(is, myBlurlength);
2805 loadData(is, myBlurorient);
2806 loadData(is, myCutmode);
2807 loadData(is, myClumpperpoint);
2808 loadData(is, myPlantmode);
2809 loadData(is, myPlantinterpolateguides);
2810 loadData(is, myPlantinterpolaterelskin);
2811 loadData(is, myPlantinterpolateorient);
2812 loadData(is, myPlanttemplatesource);
2813 loadData(is, myPlantlength);
2814 loadData(is, myPlantsegcount);
2815 loadData(is, myDrawonskin);
2816 loadData(is, myDrawinterpolateorient);
2817 loadData(is, myDrawtemplatesource);
2818 loadData(is, myDrawlimitlength);
2819 loadData(is, myDrawcurvetype);
2820 loadData(is, myDrawsegmode);
2821 loadData(is, myDrawsegcount);
2822 loadData(is, myDrawseglength);
2823 loadData(is, myOrientbrushupmode);
2824 loadData(is, myOrientbrushperpoint);
2825 loadData(is, myPainttemplateallowblending);
2826 loadData(is, myEditactiveprim);
2827 loadData(is, myEditsoft);
2828 loadData(is, myEditsoftmode);
2829 loadData(is, myEditcurvefrac);
2830 loadData(is, myEditcurvedist);
2831 loadData(is, myResamplesegmode);
2832 loadData(is, myResamplesegcount);
2833 loadData(is, myResampleseglength);
2834 loadData(is, myTwistangle);
2835 loadData(is, myCurvemaskramp);
2836 loadData(is, myGroom);
2837 loadData(is, myStrands);
2838 loadData(is, myStrokes);
2839 loadData(is, myPreviewutil);
2840 loadData(is, myPaintmaskpoints);
2841 loadData(is, myGroupnewprims);
2842 loadData(is, myNamenewprims);
2843 loadData(is, myActivegroup);
2844 loadData(is, myNameattrib);
2845 loadData(is, myActivename);
2846 loadData(is, myOverridecolor);
2847 loadData(is, myColorbyname);
2848 loadData(is, myDefaultcolor);
2849 loadData(is, myTemplatecolor);
2850 loadData(is, myColorseed);
2853 is.
read(&length, 1);
2854 myFolder_grouplist.setSize(length);
2857 auto && _curentry = myFolder_grouplist(i);
2859 loadData(is, _curentry.groupcolor);
2860 loadData(is, _curentry.groupname);
2861 loadData(is, _curentry.groupoptions);
2865 loadData(is, myXord);
2866 loadData(is, myRord);
2870 loadData(is, myShear);
2871 loadData(is, myScale);
2874 loadData(is, myCamxform0);
2875 loadData(is, myCamxform1);
2876 loadData(is, myCamxform2);
2877 loadData(is, myCamxform3);
2878 loadData(is, myCampos);
2879 loadData(is, myCursorpos);
2880 loadData(is, myCursordisplace);
2881 loadData(is, myRaypos);
2882 loadData(is, myRaydir);
2883 loadData(is, myStrengthscale);
2884 loadData(is, myButton);
2885 loadData(is, myShiftkey);
2886 loadData(is, myCtrlkey);
2896 if (!thissop)
return getStashnode();
2898 OP_Utils::evalOpParm(result, thissop,
"stashnode", cookparms.
getCookTime(), 0);
2906 if (!thissop)
return getGroup();
2908 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
2916 if (!thissop)
return getGrouptype();
2918 OP_Utils::evalOpParm(result, thissop,
"grouptype", cookparms.
getCookTime(), 0);
2926 if (!thissop)
return getUsemask();
2928 OP_Utils::evalOpParm(result, thissop,
"usemask", cookparms.
getCookTime(), 0);
2936 if (!thissop)
return getMirrorbrush();
2938 OP_Utils::evalOpParm(result, thissop,
"mirrorbrush", cookparms.
getCookTime(), 0);
2946 if (!thissop)
return getMirror();
2948 OP_Utils::evalOpParm(result, thissop,
"mirror", cookparms.
getCookTime(), 0);
2956 if (!thissop)
return getMirrorgroup();
2958 OP_Utils::evalOpParm(result, thissop,
"mirrorgroup", cookparms.
getCookTime(), 0);
2966 if (!thissop)
return getMirrororigin();
2968 OP_Utils::evalOpParm(result, thissop,
"mirrororigin", cookparms.
getCookTime(), 0);
2976 if (!thissop)
return getMirrordir();
2978 OP_Utils::evalOpParm(result, thissop,
"mirrordir", cookparms.
getCookTime(), 0);
2986 if (!thissop)
return getTool();
2988 OP_Utils::evalOpParm(result, thissop,
"tool", cookparms.
getCookTime(), 0);
2989 return Tool(result);
2996 if (!thissop)
return getRaybias();
2998 OP_Utils::evalOpParm(result, thissop,
"raybias", cookparms.
getCookTime(), 0);
3006 if (!thissop)
return getStrandmode();
3008 OP_Utils::evalOpParm(result, thissop,
"strandmode", cookparms.
getCookTime(), 0);
3016 if (!thissop)
return getCollidewithskin();
3018 OP_Utils::evalOpParm(result, thissop,
"collidewithskin", cookparms.
getCookTime(), 0);
3026 if (!thissop)
return getCreateorient();
3028 OP_Utils::evalOpParm(result, thissop,
"createorient", cookparms.
getCookTime(), 0);
3036 if (!thissop)
return getOrientname();
3038 OP_Utils::evalOpParm(result, thissop,
"orientname", cookparms.
getCookTime(), 0);
3046 if (!thissop)
return getOrientup();
3048 OP_Utils::evalOpParm(result, thissop,
"orientup", cookparms.
getCookTime(), 0);
3056 if (!thissop)
return getOrientupattrib();
3058 OP_Utils::evalOpParm(result, thissop,
"orientupattrib", cookparms.
getCookTime(), 0);
3066 if (!thissop)
return getOrientupattribflip();
3068 OP_Utils::evalOpParm(result, thissop,
"orientupattribflip", cookparms.
getCookTime(), 0);
3076 if (!thissop)
return getTemplatesourcegroup();
3078 OP_Utils::evalOpParm(result, thissop,
"templatesourcegroup", cookparms.
getCookTime(), 0);
3086 if (!thissop)
return getWidthoverride();
3088 OP_Utils::evalOpParm(result, thissop,
"widthoverride", cookparms.
getCookTime(), 0);
3096 if (!thissop)
return getWidth();
3098 OP_Utils::evalOpParm(result, thissop,
"width", cookparms.
getCookTime(), 0);
3106 if (!thissop)
return getBrushsurface();
3108 OP_Utils::evalOpParm(result, thissop,
"brushsurface", cookparms.
getCookTime(), 0);
3116 if (!thissop)
return getUsepartinglines();
3118 OP_Utils::evalOpParm(result, thissop,
"usepartinglines", cookparms.
getCookTime(), 0);
3126 if (!thissop)
return getScreenradius();
3128 OP_Utils::evalOpParm(result, thissop,
"screenradius", cookparms.
getCookTime(), 0);
3136 if (!thissop)
return getObjectradius();
3138 OP_Utils::evalOpParm(result, thissop,
"objectradius", cookparms.
getCookTime(), 0);
3146 if (!thissop)
return getSoft();
3148 OP_Utils::evalOpParm(result, thissop,
"soft", cookparms.
getCookTime(), 0);
3156 if (!thissop)
return getSpacing();
3158 OP_Utils::evalOpParm(result, thissop,
"spacing", cookparms.
getCookTime(), 0);
3166 if (!thissop)
return getDensity();
3168 OP_Utils::evalOpParm(result, thissop,
"density", cookparms.
getCookTime(), 0);
3176 if (!thissop)
return getBrushmaintainlength();
3178 OP_Utils::evalOpParm(result, thissop,
"brushmaintainlength", cookparms.
getCookTime(), 0);
3186 if (!thissop)
return getBrushsnaptosurface();
3188 OP_Utils::evalOpParm(result, thissop,
"brushsnaptosurface", cookparms.
getCookTime(), 0);
3196 if (!thissop)
return getBrushbend();
3198 OP_Utils::evalOpParm(result, thissop,
"brushbend", cookparms.
getCookTime(), 0);
3206 if (!thissop)
return getBrushbendfalloff();
3208 OP_Utils::evalOpParm(result, thissop,
"brushbendfalloff", cookparms.
getCookTime(), 0);
3216 if (!thissop)
return getLiftmode();
3218 OP_Utils::evalOpParm(result, thissop,
"liftmode", cookparms.
getCookTime(), 0);
3226 if (!thissop)
return getLiftangle();
3228 OP_Utils::evalOpParm(result, thissop,
"liftangle", cookparms.
getCookTime(), 0);
3236 if (!thissop)
return getAdjustlengthmode();
3238 OP_Utils::evalOpParm(result, thissop,
"adjustlengthmode", cookparms.
getCookTime(), 0);
3246 if (!thissop)
return getAdjustlengthvalue();
3248 OP_Utils::evalOpParm(result, thissop,
"adjustlengthvalue", cookparms.
getCookTime(), 0);
3256 if (!thissop)
return getAdjustlengthlength();
3258 OP_Utils::evalOpParm(result, thissop,
"adjustlengthlength", cookparms.
getCookTime(), 0);
3266 if (!thissop)
return getAdjustlengthmethod();
3268 OP_Utils::evalOpParm(result, thissop,
"adjustlengthmethod", cookparms.
getCookTime(), 0);
3276 if (!thissop)
return getMoverotatewithskin();
3278 OP_Utils::evalOpParm(result, thissop,
"moverotatewithskin", cookparms.
getCookTime(), 0);
3286 if (!thissop)
return getSculptdoconstrain();
3288 OP_Utils::evalOpParm(result, thissop,
"sculptdoconstrain", cookparms.
getCookTime(), 0);
3296 if (!thissop)
return getSculptlockroot();
3298 OP_Utils::evalOpParm(result, thissop,
"sculptlockroot", cookparms.
getCookTime(), 0);
3306 if (!thissop)
return getSculptmaintainevensegments();
3308 OP_Utils::evalOpParm(result, thissop,
"sculptmaintainevensegments", cookparms.
getCookTime(), 0);
3316 if (!thissop)
return getSmoothtargetsmoothness();
3318 OP_Utils::evalOpParm(result, thissop,
"smoothtargetsmoothness", cookparms.
getCookTime(), 0);
3326 if (!thissop)
return getSmoothposition();
3328 OP_Utils::evalOpParm(result, thissop,
"smoothposition", cookparms.
getCookTime(), 0);
3336 if (!thissop)
return getSmoothorient();
3338 OP_Utils::evalOpParm(result, thissop,
"smoothorient", cookparms.
getCookTime(), 0);
3346 if (!thissop)
return getBlurinskinspace();
3348 OP_Utils::evalOpParm(result, thissop,
"blurinskinspace", cookparms.
getCookTime(), 0);
3356 if (!thissop)
return getBlurperpoint();
3358 OP_Utils::evalOpParm(result, thissop,
"blurperpoint", cookparms.
getCookTime(), 0);
3366 if (!thissop)
return getBlurshape();
3368 OP_Utils::evalOpParm(result, thissop,
"blurshape", cookparms.
getCookTime(), 0);
3376 if (!thissop)
return getBlurlength();
3378 OP_Utils::evalOpParm(result, thissop,
"blurlength", cookparms.
getCookTime(), 0);
3386 if (!thissop)
return getBlurorient();
3388 OP_Utils::evalOpParm(result, thissop,
"blurorient", cookparms.
getCookTime(), 0);
3396 if (!thissop)
return getCutmode();
3398 OP_Utils::evalOpParm(result, thissop,
"cutmode", cookparms.
getCookTime(), 0);
3406 if (!thissop)
return getClumpperpoint();
3408 OP_Utils::evalOpParm(result, thissop,
"clumpperpoint", cookparms.
getCookTime(), 0);
3416 if (!thissop)
return getPlantmode();
3418 OP_Utils::evalOpParm(result, thissop,
"plantmode", cookparms.
getCookTime(), 0);
3426 if (!thissop)
return getPlantinterpolateguides();
3428 OP_Utils::evalOpParm(result, thissop,
"plantinterpolateguides", cookparms.
getCookTime(), 0);
3436 if (!thissop)
return getPlantinterpolaterelskin();
3438 OP_Utils::evalOpParm(result, thissop,
"plantinterpolaterelskin", cookparms.
getCookTime(), 0);
3446 if (!thissop)
return getPlantinterpolateorient();
3448 OP_Utils::evalOpParm(result, thissop,
"plantinterpolateorient", cookparms.
getCookTime(), 0);
3456 if (!thissop)
return getPlanttemplatesource();
3458 OP_Utils::evalOpParm(result, thissop,
"planttemplatesource", cookparms.
getCookTime(), 0);
3466 if (!thissop)
return getPlantlength();
3468 OP_Utils::evalOpParm(result, thissop,
"plantlength", cookparms.
getCookTime(), 0);
3476 if (!thissop)
return getPlantsegcount();
3478 OP_Utils::evalOpParm(result, thissop,
"plantsegcount", cookparms.
getCookTime(), 0);
3486 if (!thissop)
return getDrawonskin();
3488 OP_Utils::evalOpParm(result, thissop,
"drawonskin", cookparms.
getCookTime(), 0);
3496 if (!thissop)
return getDrawinterpolateorient();
3498 OP_Utils::evalOpParm(result, thissop,
"drawinterpolateorient", cookparms.
getCookTime(), 0);
3506 if (!thissop)
return getDrawtemplatesource();
3508 OP_Utils::evalOpParm(result, thissop,
"drawtemplatesource", cookparms.
getCookTime(), 0);
3516 if (!thissop)
return getDrawlimitlength();
3518 OP_Utils::evalOpParm(result, thissop,
"drawlimitlength", cookparms.
getCookTime(), 0);
3526 if (!thissop)
return getDrawcurvetype();
3528 OP_Utils::evalOpParm(result, thissop,
"drawcurvetype", cookparms.
getCookTime(), 0);
3536 if (!thissop)
return getDrawsegmode();
3538 OP_Utils::evalOpParm(result, thissop,
"drawsegmode", cookparms.
getCookTime(), 0);
3546 if (!thissop)
return getDrawsegcount();
3548 OP_Utils::evalOpParm(result, thissop,
"drawsegcount", cookparms.
getCookTime(), 0);
3556 if (!thissop)
return getDrawseglength();
3558 OP_Utils::evalOpParm(result, thissop,
"drawseglength", cookparms.
getCookTime(), 0);
3566 if (!thissop)
return getOrientbrushupmode();
3568 OP_Utils::evalOpParm(result, thissop,
"orientbrushupmode", cookparms.
getCookTime(), 0);
3576 if (!thissop)
return getOrientbrushperpoint();
3578 OP_Utils::evalOpParm(result, thissop,
"orientbrushperpoint", cookparms.
getCookTime(), 0);
3586 if (!thissop)
return getPainttemplateallowblending();
3588 OP_Utils::evalOpParm(result, thissop,
"painttemplateallowblending", cookparms.
getCookTime(), 0);
3596 if (!thissop)
return getEditactiveprim();
3598 OP_Utils::evalOpParm(result, thissop,
"editactiveprim", cookparms.
getCookTime(), 0);
3606 if (!thissop)
return getEditsoft();
3608 OP_Utils::evalOpParm(result, thissop,
"editsoft", cookparms.
getCookTime(), 0);
3616 if (!thissop)
return getEditsoftmode();
3618 OP_Utils::evalOpParm(result, thissop,
"editsoftmode", cookparms.
getCookTime(), 0);
3626 if (!thissop)
return getEditcurvefrac();
3628 OP_Utils::evalOpParm(result, thissop,
"editcurvefrac", cookparms.
getCookTime(), 0);
3636 if (!thissop)
return getEditcurvedist();
3638 OP_Utils::evalOpParm(result, thissop,
"editcurvedist", cookparms.
getCookTime(), 0);
3646 if (!thissop)
return getResamplesegmode();
3648 OP_Utils::evalOpParm(result, thissop,
"resamplesegmode", cookparms.
getCookTime(), 0);
3656 if (!thissop)
return getResamplesegcount();
3658 OP_Utils::evalOpParm(result, thissop,
"resamplesegcount", cookparms.
getCookTime(), 0);
3666 if (!thissop)
return getResampleseglength();
3668 OP_Utils::evalOpParm(result, thissop,
"resampleseglength", cookparms.
getCookTime(), 0);
3676 if (!thissop)
return getTwistangle();
3678 OP_Utils::evalOpParm(result, thissop,
"twistangle", cookparms.
getCookTime(), 0);
3686 if (!thissop)
return getCurvemaskramp();
3688 OP_Utils::evalOpParm(result, thissop,
"curvemaskramp", cookparms.
getCookTime(), 0);
3696 if (!thissop)
return getGroom();
3698 OP_Utils::evalOpParm(result, thissop,
"groom", cookparms.
getCookTime(), 0);
3706 if (!thissop)
return getStrands();
3708 OP_Utils::evalOpParm(result, thissop,
"strands", cookparms.
getCookTime(), 0);
3716 if (!thissop)
return getStrokes();
3718 OP_Utils::evalOpParm(result, thissop,
"strokes", cookparms.
getCookTime(), 0);
3726 if (!thissop)
return getPreviewutil();
3728 OP_Utils::evalOpParm(result, thissop,
"previewutil", cookparms.
getCookTime(), 0);
3736 if (!thissop)
return getPaintmaskpoints();
3738 OP_Utils::evalOpParm(result, thissop,
"paintmaskpoints", cookparms.
getCookTime(), 0);
3746 if (!thissop)
return getGroupnewprims();
3748 OP_Utils::evalOpParm(result, thissop,
"groupnewprims", cookparms.
getCookTime(), 0);
3756 if (!thissop)
return getNamenewprims();
3758 OP_Utils::evalOpParm(result, thissop,
"namenewprims", cookparms.
getCookTime(), 0);
3766 if (!thissop)
return getActivegroup();
3768 OP_Utils::evalOpParm(result, thissop,
"activegroup", cookparms.
getCookTime(), 0);
3776 if (!thissop)
return getNameattrib();
3778 OP_Utils::evalOpParm(result, thissop,
"nameattrib", cookparms.
getCookTime(), 0);
3786 if (!thissop)
return getActivename();
3788 OP_Utils::evalOpParm(result, thissop,
"activename", cookparms.
getCookTime(), 0);
3796 if (!thissop)
return getOverridecolor();
3798 OP_Utils::evalOpParm(result, thissop,
"overridecolor", cookparms.
getCookTime(), 0);
3806 if (!thissop)
return getColorbyname();
3808 OP_Utils::evalOpParm(result, thissop,
"colorbyname", cookparms.
getCookTime(), 0);
3816 if (!thissop)
return getDefaultcolor();
3818 OP_Utils::evalOpParm(result, thissop,
"defaultcolor", cookparms.
getCookTime(), 0);
3826 if (!thissop)
return getTemplatecolor();
3828 OP_Utils::evalOpParm(result, thissop,
"templatecolor", cookparms.
getCookTime(), 0);
3836 if (!thissop)
return getColorseed();
3838 OP_Utils::evalOpParm(result, thissop,
"colorseed", cookparms.
getCookTime(), 0);
3846 if (!thissop)
return getFolder_grouplist().entries();
3848 OP_Utils::evalOpParm(result, thissop,
"folder_grouplist", cookparms.
getCookTime(), 0);
3852 {
return opinstFolder_grouplist_groupcolor(cookparms, &_idx); }
3856 if (!thissop)
return (myFolder_grouplist(_idx[0]).groupcolor);
3858 _parmidx[1-1] = _idx[1-1] + 0;
3861 OP_Utils::evalOpParmInst(result, thissop,
"groupcolor#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
3865 {
return opinstFolder_grouplist_groupname(cookparms, &_idx); }
3869 if (!thissop)
return (myFolder_grouplist(_idx[0]).groupname);
3871 _parmidx[1-1] = _idx[1-1] + 0;
3874 OP_Utils::evalOpParmInst(result, thissop,
"groupname#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
3878 {
return opinstFolder_grouplist_groupoptions(cookparms, &_idx); }
3882 if (!thissop)
return (myFolder_grouplist(_idx[0]).groupoptions);
3884 _parmidx[1-1] = _idx[1-1] + 0;
3887 OP_Utils::evalOpParmInst(result, thissop,
"groupoptions#", _parmidx, cookparms.
getCookTime(), 0, 2-1);
3896 if (!thissop)
return getXord();
3898 OP_Utils::evalOpParm(result, thissop,
"xOrd", cookparms.
getCookTime(), 0);
3899 return Xord(result);
3906 if (!thissop)
return getRord();
3908 OP_Utils::evalOpParm(result, thissop,
"rOrd", cookparms.
getCookTime(), 0);
3909 return Rord(result);
3916 if (!thissop)
return getT();
3918 OP_Utils::evalOpParm(result, thissop,
"t", cookparms.
getCookTime(), 0);
3926 if (!thissop)
return getR();
3928 OP_Utils::evalOpParm(result, thissop,
"r", cookparms.
getCookTime(), 0);
3936 if (!thissop)
return getS();
3938 OP_Utils::evalOpParm(result, thissop,
"s", cookparms.
getCookTime(), 0);
3946 if (!thissop)
return getShear();
3948 OP_Utils::evalOpParm(result, thissop,
"shear", cookparms.
getCookTime(), 0);
3958 OP_Utils::evalOpParm(result, thissop,
"scale", cookparms.
getCookTime(), 0);
3966 if (!thissop)
return getP();
3968 OP_Utils::evalOpParm(result, thissop,
"p", cookparms.
getCookTime(), 0);
3976 if (!thissop)
return getPr();
3978 OP_Utils::evalOpParm(result, thissop,
"pr", cookparms.
getCookTime(), 0);
3986 if (!thissop)
return getCamxform0();
3988 OP_Utils::evalOpParm(result, thissop,
"camxform0", cookparms.
getCookTime(), 0);
3996 if (!thissop)
return getCamxform1();
3998 OP_Utils::evalOpParm(result, thissop,
"camxform1", cookparms.
getCookTime(), 0);
4006 if (!thissop)
return getCamxform2();
4008 OP_Utils::evalOpParm(result, thissop,
"camxform2", cookparms.
getCookTime(), 0);
4016 if (!thissop)
return getCamxform3();
4018 OP_Utils::evalOpParm(result, thissop,
"camxform3", cookparms.
getCookTime(), 0);
4026 if (!thissop)
return getCampos();
4028 OP_Utils::evalOpParm(result, thissop,
"campos", cookparms.
getCookTime(), 0);
4036 if (!thissop)
return getCursorpos();
4038 OP_Utils::evalOpParm(result, thissop,
"cursorpos", cookparms.
getCookTime(), 0);
4046 if (!thissop)
return getCursordisplace();
4048 OP_Utils::evalOpParm(result, thissop,
"cursordisplace", cookparms.
getCookTime(), 0);
4056 if (!thissop)
return getRaypos();
4058 OP_Utils::evalOpParm(result, thissop,
"raypos", cookparms.
getCookTime(), 0);
4066 if (!thissop)
return getRaydir();
4068 OP_Utils::evalOpParm(result, thissop,
"raydir", cookparms.
getCookTime(), 0);
4076 if (!thissop)
return getStrengthscale();
4078 OP_Utils::evalOpParm(result, thissop,
"strengthscale", cookparms.
getCookTime(), 0);
4086 if (!thissop)
return getButton();
4088 OP_Utils::evalOpParm(result, thissop,
"button", cookparms.
getCookTime(), 0);
4096 if (!thissop)
return getShiftkey();
4098 OP_Utils::evalOpParm(result, thissop,
"shiftkey", cookparms.
getCookTime(), 0);
4106 if (!thissop)
return getCtrlkey();
4108 OP_Utils::evalOpParm(result, thissop,
"ctrlkey", cookparms.
getCookTime(), 0);
4125 bool myCollidewithskin;
4126 bool myCreateorient;
4130 bool myOrientupattribflip;
4132 bool myWidthoverride;
4134 bool myBrushsurface;
4135 bool myUsepartinglines;
4142 bool myBrushsnaptosurface;
4147 int64 myAdjustlengthmode;
4150 int64 myAdjustlengthmethod;
4151 bool myMoverotatewithskin;
4152 bool mySculptdoconstrain;
4153 bool mySculptlockroot;
4154 bool mySculptmaintainevensegments;
4156 bool mySmoothposition;
4157 bool mySmoothorient;
4158 bool myBlurinskinspace;
4159 bool myBlurperpoint;
4164 bool myClumpperpoint;
4166 bool myPlantinterpolateguides;
4167 bool myPlantinterpolaterelskin;
4168 bool myPlantinterpolateorient;
4169 int64 myPlanttemplatesource;
4171 int64 myPlantsegcount;
4173 bool myDrawinterpolateorient;
4174 int64 myDrawtemplatesource;
4175 bool myDrawlimitlength;
4176 int64 myDrawcurvetype;
4177 int64 myDrawsegmode;
4178 int64 myDrawsegcount;
4180 int64 myOrientbrushupmode;
4181 bool myOrientbrushperpoint;
4182 bool myPainttemplateallowblending;
4183 int64 myEditactiveprim;
4185 int64 myEditsoftmode;
4188 int64 myResamplesegmode;
4189 int64 myResamplesegcount;
4197 bool myPaintmaskpoints;
4198 bool myGroupnewprims;
4199 bool myNamenewprims;
4203 bool myOverridecolor;
void setP(UT_Vector3D val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
UT_Vector4D opCamxform1(const SOP_NodeVerb::CookParms &cookparms) const
bool getDrawinterpolateorient() const
UT_StringHolder opActivegroup(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getSpacing() const
void setOrientname(const UT_StringHolder &val)
void setSculptlockroot(bool val)
void setDrawlimitlength(bool val)
Plantmode opPlantmode(const SOP_NodeVerb::CookParms &cookparms) const
void setCtrlkey(bool val)
void setActivename(const UT_StringHolder &val)
fpreal64 getAdjustlengthvalue() const
UT_Vector3D getShear() const
void setMirrororigin(UT_Vector3D val)
fpreal64 opSoft(const SOP_NodeVerb::CookParms &cookparms) const
bool getMoverotatewithskin() const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
GLenum GLuint GLenum GLsizei const GLchar * buf
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
bool getBrushsnaptosurface() const
UT_StringHolder opStashnode(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setActivegroup(const UT_StringHolder &val)
fpreal64 getDensity() const
bool getSculptmaintainevensegments() const
void setGrouptype(Grouptype val)
fpreal64 opLiftangle(const SOP_NodeVerb::CookParms &cookparms) const
SOP_Node * getNode() const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setAdjustlengthlength(fpreal64 val)
void setOrientbrushupmode(Orientbrushupmode val)
static void loadData(UT_IStream &is, fpreal64 &v)
bool opColorbyname(const SOP_NodeVerb::CookParms &cookparms) const
bool getColorbyname() const
void setAdjustlengthmode(Adjustlengthmode val)
int64 getColorseed() const
bool opPlantinterpolaterelskin(const SOP_NodeVerb::CookParms &cookparms) const
void setShiftkey(bool val)
UT_Vector2D opCursorpos(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getBrushbend() const
void setBrushmaintainlength(fpreal64 val)
bool opPlantinterpolateorient(const SOP_NodeVerb::CookParms &cookparms) const
void setS(UT_Vector3D val)
void setNamenewprims(bool val)
Drawsegmode getDrawsegmode() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void setDrawsegcount(int64 val)
void setBlurlength(bool val)
fpreal64 getDrawseglength() const
exint bread(int32 *buffer, exint asize=1)
UT_SharedPtr< UT_Ramp > getCurvemaskramp() const
bool opMoverotatewithskin(const SOP_NodeVerb::CookParms &cookparms) const
GT_API const UT_StringHolder time
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getActivegroup() const
constexpr SYS_FORCE_INLINE T & y() noexcept
bool opCollidewithskin(const SOP_NodeVerb::CookParms &cookparms) const
int64 getResamplesegcount() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
UT_StringHolder opFolder_grouplist_groupname(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
fpreal64 getEditcurvefrac() const
fpreal64 opBrushbendfalloff(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder groupname
exint getNestNumParms(TempIndex idx) const override
void setClumpperpoint(bool val)
fpreal64 getStrengthscale() const
bool getPreviewutil() const
void setBrushsurface(bool val)
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
const OP_Context & context() const
UT_Vector3D getTemplatecolor() const
void setDefaultcolor(UT_Vector3D val)
const char * getNestParmName(TempIndex fieldnum) const override
bool operator!=(const SOP_GuideGroomCoreParms &src) const
UT_StringHolder opNameattrib(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
Drawsegmode opDrawsegmode(const SOP_NodeVerb::CookParms &cookparms) const
void setDrawsegmode(Drawsegmode val)
fpreal64 getAdjustlengthlength() const
fpreal64 opObjectradius(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
SYS_FORCE_INLINE const char * buffer() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
bool opPlantinterpolateguides(const SOP_NodeVerb::CookParms &cookparms) const
int64 opFolder_grouplist_groupoptions(const SOP_NodeVerb::CookParms &cookparms, int _idx) const
static void saveData(std::ostream &os, int64 v)
void setDrawseglength(fpreal64 val)
Grouptype getGrouptype() const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
GLuint GLsizei GLsizei * length
const UT_StringHolder & getTemplatesourcegroup() const
UT_StringHolder opOrientname(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< UT_Ramp > opCurvemaskramp(const SOP_NodeVerb::CookParms &cookparms) const
An output stream object that owns its own string buffer storage.
UT_Vector4D opCamxform2(const SOP_NodeVerb::CookParms &cookparms) const
void setSoft(fpreal64 val)
UT_Vector4D opCamxform0(const SOP_NodeVerb::CookParms &cookparms) const
void setUsepartinglines(bool val)
Planttemplatesource getPlanttemplatesource() const
void setSculptdoconstrain(bool val)
UT_Vector3D opMirrordir(const SOP_NodeVerb::CookParms &cookparms) const
Button opButton(const SOP_NodeVerb::CookParms &cookparms) const
void setPaintmaskpoints(bool val)
UT_Vector3D getCampos() const
bool getBlurperpoint() const
void save(std::ostream &os) const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
fpreal64 getRaybias() const
UT_Vector3D opOrientup(const SOP_NodeVerb::CookParms &cookparms) const
**But if you need a result
fpreal64 opSmoothtargetsmoothness(const SOP_NodeVerb::CookParms &cookparms) const
bool getPlantinterpolateorient() const
fpreal64 getScale() const
UT_Vector3D opPr(const SOP_NodeVerb::CookParms &cookparms) const
void setCamxform1(UT_Vector4D val)
void setPlantinterpolateguides(bool val)
fpreal64 opSpacing(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
bool getDrawlimitlength() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void loadData(UT_IStream &is, int64 &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
bool getMirrorbrush() const
UT_Vector3D opP(const SOP_NodeVerb::CookParms &cookparms) const
Drawcurvetype getDrawcurvetype() const
bool getPainttemplateallowblending() const
void setCurvemaskramp(UT_SharedPtr< UT_Ramp > val)
fpreal64 opDensity(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D getMirrororigin() const
void setOrientbrushperpoint(bool val)
fpreal64 getWidth() const
void setBrushbend(fpreal64 val)
void setEditactiveprim(int64 val)
bool getOverridecolor() const
fpreal64 opScreenradius(const SOP_NodeVerb::CookParms &cookparms) const
void setBlurinskinspace(bool val)
constexpr SYS_FORCE_INLINE T & x() noexcept
void setOrientupattrib(const UT_StringHolder &val)
bool opDrawinterpolateorient(const SOP_NodeVerb::CookParms &cookparms) const
void setColorseed(int64 val)
bool opOverridecolor(const SOP_NodeVerb::CookParms &cookparms) const
void setLiftangle(fpreal64 val)
void setScreenradius(fpreal64 val)
void setPlantmode(Plantmode val)
fpreal64 getLiftangle() const
ParmType getNestParmType(TempIndex fieldnum) const override
void setPlantsegcount(int64 val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
Adjustlengthmethod getAdjustlengthmethod() const
GLuint GLsizei const GLuint const GLintptr * offsets
void setWidthoverride(bool val)
bool opBlurorient(const SOP_NodeVerb::CookParms &cookparms) const
Planttemplatesource opPlanttemplatesource(const SOP_NodeVerb::CookParms &cookparms) const
void setCampos(UT_Vector3D val)
int64 opPlantsegcount(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, bool &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
static void saveData(std::ostream &os, UT_Vector3D v)
bool getBrushsurface() const
UT_Vector3D opinstFolder_grouplist_groupcolor(const SOP_NodeVerb::CookParms &cookparms, const int *_idx) const
UT_Vector3D opRaypos(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)