/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Image", "I", "An Aviary Image or Bitmap", GH_ParamAccess.item); pManager.AddIntegerParameter("Mode", "M", "", GH_ParamAccess.item, 0); pManager[1].Optional = true; pManager.AddIntervalParameter("Red", "R", "[0-1] Unitized adjustment value", GH_ParamAccess.item, new Interval(0, 1)); pManager[2].Optional = true; pManager.AddIntervalParameter("Green", "G", "[0-1] Unitized adjustment value", GH_ParamAccess.item, new Interval(0, 1)); pManager[3].Optional = true; pManager.AddIntervalParameter("Blue", "B", "[0-1] Unitized adjustment value", GH_ParamAccess.item, new Interval(0, 1)); pManager[4].Optional = true; pManager.AddBooleanParameter("Outside", "F", "Flip between inside and outside range", GH_ParamAccess.item, true); pManager[5].Optional = true; pManager.AddColourParameter("Color", "C", "Replacement Color", GH_ParamAccess.item, Color.Black); pManager[6].Optional = true; Param_Integer paramA = (Param_Integer)pManager[1]; foreach (FilterModes value in Enum.GetValues(typeof(FilterModes))) { paramA.AddNamedValue(value.ToString(), (int)value); } }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("Slider Range", "R", "The range that defines the min and max of the slider extents", GH_ParamAccess.item); pManager.AddIntervalParameter("Starting Range", "SR", "The initial value selected on the slider", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("image", "img", "image to manipulate", GH_ParamAccess.item); pManager.AddIntervalParameter("Width Limits", "W", "Size limits to test", GH_ParamAccess.item); pManager.AddIntervalParameter("Height Limits", "H", "Size limits to test", GH_ParamAccess.item); pManager.AddBooleanParameter("Coupled Limits", "C", "Are limits Coupled?", GH_ParamAccess.item, true); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("Gray In", "I", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[0].Optional = true; pManager.AddIntervalParameter("Gray Out", "O", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[1].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddSurfaceParameter("Surface", "S", "Surface to modify", GH_ParamAccess.item); pManager.AddIntervalParameter("U Domain", "U", "Input U domain", GH_ParamAccess.item, new Interval(0, 0)); pManager.AddIntervalParameter("V Domain", "V", "Input V domain", GH_ParamAccess.item, new Interval(0, 0)); pManager.HideParameter(0); Message = "Surface Domain"; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("Temperature Interval", "Temperature", "The temperature interval to calculate", GH_ParamAccess.item); pManager.AddIntervalParameter("Panel Degree Interval", "Panel", "The panel degree interval to calculate", GH_ParamAccess.item); pManager.AddNumberParameter("Gear Ratio", "Gear", "The gear ratio", GH_ParamAccess.item, 9); pManager.AddIntegerParameter("Panel Degrees", "Panel Degrees", "The panel degrees at the beginning", GH_ParamAccess.list); pManager.AddIntegerParameter("180 to Steps", "180 to Steps", "How many steps to rotate 180", GH_ParamAccess.item, 100); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("image", "img", "image to manipulate", GH_ParamAccess.item); pManager.AddIntervalParameter("Red_Range", "R", "Red Range To Highlight", GH_ParamAccess.item); pManager.AddIntervalParameter("Red_Range", "G", "Red Range To Highlight", GH_ParamAccess.item); pManager.AddIntervalParameter("Red_Range", "B", "Red Range To Highlight", GH_ParamAccess.item); pManager.AddColourParameter("Colour", "C", "Colour to use for Highlighting", GH_ParamAccess.item, Color.Black); pManager.AddBooleanParameter("Direction", "D", "Invert Set", GH_ParamAccess.item, false); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("Selection", "S", "Domain which sets the initial min and max selected values within the given domain.", GH_ParamAccess.item, new Interval(25, 75)); pManager[0].Optional = true; pManager.AddIntervalParameter("Domain", "D", "Domain which sets the min and max value", GH_ParamAccess.item, new Interval(0, 100)); pManager[1].Optional = true; pManager.AddNumberParameter("Interval", "I", "The step interval value", GH_ParamAccess.item, 0.1); pManager[2].Optional = true; }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("U Domain", "Iu", "Base {u} domain", GH_ParamAccess.item, new Interval(0, 1)); pManager.AddIntervalParameter("V Domain", "Iv", "Base {v} domain", GH_ParamAccess.item, new Interval(0, 1)); pManager.AddIntervalParameter("W Domain", "Iw", "Base {w} domain", GH_ParamAccess.item, new Interval(0, 1)); pManager.AddIntegerParameter("U Count", "U", "Number of segments in {u} direction.", GH_ParamAccess.item, 10); pManager.AddIntegerParameter("V Count", "V", "Number of segments in {v} direction.", GH_ParamAccess.item, 10); pManager.AddIntegerParameter("W Count", "W", "Number of segments in {w} direction.", GH_ParamAccess.item, 10); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("File Path", "File", "Path to an HGT, GeoTiff, or IMG file", GH_ParamAccess.item); pManager.AddIntervalParameter("Longitude", "Lon", "Longitiude domain.", GH_ParamAccess.item); 7 pManager.AddIntervalParameter("Latitude", "Lat", "Latitiude domain.", GH_ParamAccess.item); pManager[1].Optional = true; pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("Shear Curve", "VCrv", "Curve representing the shear envelope along the beam", GH_ParamAccess.item); pManager.AddCurveParameter("Moment Curve", "MCrv", "Curve representing the moment envelope along the beam", GH_ParamAccess.item); pManager.AddIntervalParameter("Shear Domain", "VDom", "Domain representing the bounds of the shear envelope (kN-m)", GH_ParamAccess.item); pManager.AddIntervalParameter("Moment Domain", "MDom", "Domain representing the bounds of the moment envelope (kN-m)", GH_ParamAccess.item); pManager.AddCurveParameter("Span Curve", "SpnCrv", "Curve representing the full span on the beam", GH_ParamAccess.item); pManager.AddIntegerParameter("Number of Analysis Sections", "n", "Number of analysis sections along length of element", GH_ParamAccess.item, 10); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("Particle Texture Path", "PT", "Input path to particle texture, a png file", GH_ParamAccess.item); pManager.AddIntervalParameter("Red Channel", "RC", "Input a domain component specifying the minimum and maximum floating point values for the red channel", GH_ParamAccess.item); pManager.AddIntervalParameter("Green Channel", "GC", "Input a domain component specifying the minimum and maximum floating point values for the red channel", GH_ParamAccess.item); pManager.AddIntervalParameter("Blue Channel", "BC", "Input a domain component specifying the minimum and maximum floating point values for the red channel", GH_ParamAccess.item); pManager.AddIntegerParameter("Minimum Thickness", "NT", "Input the polyline minimum thickness", GH_ParamAccess.item, 1); pManager.AddIntegerParameter("Maximum Thickness", "MT", "Input the polyline maximum thickness", GH_ParamAccess.item, 3); pManager[0].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddPlaneParameter("Base Plane", "B", "Base plane to construct the cube mesh.", GH_ParamAccess.item, Plane.WorldXY); pManager.AddIntervalParameter("DomainX", "X", "Domain of the box in the {x} direction.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntervalParameter("DomainY", "Y", "Domain of the box in the {y} direction.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntervalParameter("DomainZ", "Z", "Domain of the box in the {z} direction.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntegerParameter("U Count", "U", "Number of faces along the {x} direction.", GH_ParamAccess.item, u); pManager.AddIntegerParameter("V Count", "V", "Number of faces along the {y} direction.", GH_ParamAccess.item, v); pManager.AddIntegerParameter("W Count", "W", "Number of faces along the {z} direction.", GH_ParamAccess.item, w); pManager.AddGenericParameter("iSettings", "iSettings", "Volume mesh settings.", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddPlaneParameter("Base Plane", "B", "Base plane to construct the cube mesh.", GH_ParamAccess.item, Plane.WorldXY); pManager.AddIntervalParameter("DomainX", "X", "Domain of the box in the {x} direction.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntervalParameter("DomainY", "Y", "Domain of the box in the {y} direction.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntervalParameter("DomainZ", "Z", "Domain of the box in the {z} direction.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntegerParameter("U Count", "U", "Number of faces along the {x} direction.", GH_ParamAccess.item, u); pManager.AddIntegerParameter("V Count", "V", "Number of faces along the {y} direction.", GH_ParamAccess.item, v); pManager.AddIntegerParameter("W Count", "W", "Number of faces along the {z} direction.", GH_ParamAccess.item, w); pManager.AddBooleanParameter("Weld", "Weld", "Weld creases in the mesh.", GH_ParamAccess.item, weld); pManager.AddNumberParameter("Tolerance", "t", "Welding tolerance (Vertices smaller than this tolerance will be merged)", GH_ParamAccess.item, tolerance); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Image", "I", "An Aviary Image or Bitmap", GH_ParamAccess.item); pManager.AddIntervalParameter("Width Domain", "W", "The horizontal threshold domain for the filtered blobs", GH_ParamAccess.item, new Interval(5, 100)); pManager[1].Optional = true; pManager.AddIntervalParameter("Height Domain", "H", "The vertical threshold domain for the filtered blobs", GH_ParamAccess.item, new Interval(5, 100)); pManager[2].Optional = true; pManager.AddColourParameter("Background Color", "C", "The background color to be ignored", GH_ParamAccess.item, Color.DarkGray); pManager[3].Optional = true; pManager.AddBooleanParameter("Coupled Filtering", "F", "If true filter by height and width, if false filter by height or width.", GH_ParamAccess.item, false); pManager[4].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Bitmap", "B", "---", GH_ParamAccess.item); pManager[0].Optional = true; Param_GenericObject paramGen = (Param_GenericObject)Params.Input[0]; paramGen.PersistentData.Append(new GH_ObjectWrapper(new Bitmap(100, 100))); pManager.AddIntervalParameter("Width", "W", "---", GH_ParamAccess.item, new Interval(0, 20)); pManager[1].Optional = true; pManager.AddIntervalParameter("Height", "H", "---", GH_ParamAccess.item, new Interval(0, 20)); pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Bitmap", "B", "---", GH_ParamAccess.item); pManager[0].Optional = true; Param_GenericObject paramGen = (Param_GenericObject)Params.Input[0]; paramGen.SetPersistentData(new Bitmap(10, 10)); pManager.AddIntervalParameter("Gray In", "G0", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[1].Optional = true; pManager.AddIntervalParameter("Gray Out", "G1", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Image", "I", "An Aviary Image or Bitmap", GH_ParamAccess.item); pManager.AddIntervalParameter("Width", "W", "The horizontal threshold domain for the filtered blobs", GH_ParamAccess.item, new Interval(1, 100)); pManager[1].Optional = true; pManager.AddIntervalParameter("Height", "H", "The vertical threshold domain for the filtered blobs", GH_ParamAccess.item, new Interval(1, 100)); pManager[2].Optional = true; pManager.AddBooleanParameter("Unique", "U", "If true, each discrete blob is color individually", GH_ParamAccess.item, false); pManager[3].Optional = true; pManager.AddBooleanParameter("Blobs", "B", "", GH_ParamAccess.item, false); pManager[4].Optional = true; pManager.AddBooleanParameter("Coupled", "C", "", GH_ParamAccess.item, false); pManager[5].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntegerParameter("U Count", "U", "Number of faces along the {x} direction.", GH_ParamAccess.item, 30); pManager.AddIntegerParameter("V Count", "V", "Number of faces along the {y} direction.", GH_ParamAccess.item, 10); pManager.AddNumberParameter("Param a", "a", "Constant parabolic parameter.", GH_ParamAccess.item, 1.0); pManager.AddIntervalParameter("Domain {x}", "D1", "Domain in the {x} direction. The domain should be bounded between -∞ to +∞.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddIntervalParameter("Domain {y}", "D2", "Domain in the {y} direction. The domain should be bounded between -∞ to +∞.", GH_ParamAccess.item, new Interval(-1, 1)); pManager.AddPlaneParameter("Plane", "Pl", "Construction plane.", GH_ParamAccess.item, Plane.WorldXY); pManager[0].Optional = true; pManager[1].Optional = true; pManager[2].Optional = true; pManager[3].Optional = true; pManager[4].Optional = true; pManager[5].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddParameter(new HeMesh3dParam(), "heMesh", "heMesh", "Mesh to color", GH_ParamAccess.item); pManager.AddColourParameter("colors", "colors", "", GH_ParamAccess.list); pManager.AddIntervalParameter("interval", "interval", "", GH_ParamAccess.item); pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("列表", "L", "待查找的列表", GH_ParamAccess.list); pManager.AddIntervalParameter("区间", "D", "指定的查找的范围", GH_ParamAccess.list); pManager.HideParameter(0); Message = "通过区间得到列表"; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("Name", "N", "Name of input.", GH_ParamAccess.item, "Input"); pManager.AddIntervalParameter("Range", "R", "Range of parameter values.", GH_ParamAccess.item, new Interval(0.0, 1.0)); pManager.AddIntegerParameter("Count", "C", "Number of parameters to generate.", GH_ParamAccess.item, 10); pManager.AddTextParameter("Message", "M", "Server message.", GH_ParamAccess.item, ""); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("多段线", "P", "待简化的多边形", GH_ParamAccess.item); pManager.AddIntervalParameter("角度区间", "D", "在此角度区间的角将被简化为平角", GH_ParamAccess.item, new Interval(Math.PI * 0.8, Math.PI)); pManager.HideParameter(0); Message = "简化多边形"; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("TimeDomain", "T", "TimeDomain", GH_ParamAccess.item); this.Hidden = true; pManager[0].WireDisplay = GH_ParamWireDisplay.faint; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntegerParameter("Divisions", "Divisions", "Number of steps to take along the corresponding Iterator input. This should be a list of integers of the same length as the list of Iterator inputs.\n\n 0: for all values \n 1: for current position \n >1: numbers to be evenly picked.", GH_ParamAccess.list); pManager[0].Optional = true; pManager.AddIntervalParameter("Domain", "Domain", "Set the target domain of all iteration combinations to solve. For example, if your total number of iterations is 100 and you want to run half of the computations on one machine and half on another, input '0 to 49' for machine A, and '50 to 99' for machine B. Use \"Construct Domain\" for 1d domain. \n\nDomain setting comes after Divisions setting.", GH_ParamAccess.list); pManager[1].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntegerParameter("U Count", "U", "Number of faces along the {x} direction.", GH_ParamAccess.item, 30); pManager.AddIntegerParameter("V Count", "V", "Number of faces along the {y} direction.", GH_ParamAccess.item, 10); pManager.AddNumberParameter("Semi major", "R1", "Parameter for the semi major axis.", GH_ParamAccess.item, 5.0); pManager.AddNumberParameter("Semi minor", "R2", "Parameter for the semi minor axis.", GH_ParamAccess.item, 2.0); pManager.AddIntervalParameter("Domain {x}", "D1", "Domain in the {x} direction. The domain should be bounded between 0 to 2π.", GH_ParamAccess.item, new Interval(0, 2 * Math.PI)); pManager.AddIntervalParameter("Domain {y}", "D2", "Domain in the {y} direction. The domain should be bounded between 0 to 2π.", GH_ParamAccess.item, new Interval(0, 2 * Math.PI)); pManager.AddPlaneParameter("Plane", "Pl", "Construction plane.", GH_ParamAccess.item, Plane.WorldXY); pManager[0].Optional = true; pManager[1].Optional = true; pManager[2].Optional = true; pManager[3].Optional = true; pManager[4].Optional = true; pManager[5].Optional = true; pManager[6].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddNumberParameter("Value", "V", "---", GH_ParamAccess.item, 0); pManager[0].Optional = true; pManager.AddIntervalParameter("Domain", "D", "Domain which sets the min and max value.", GH_ParamAccess.item, new Interval(0, 1)); pManager[1].Optional = true; pManager.AddNumberParameter("Interval", "I", "The step interval value.", GH_ParamAccess.item, 0.1); pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntervalParameter("Domain", "D", "Domain to Extend", GH_ParamAccess.item, new Interval(0, 1)); pManager.AddNumberParameter("Domain Start Extension", "Ex S", "Extension Value for Domain Start", GH_ParamAccess.item, -0.1); pManager.AddNumberParameter("Domain End Extension", "Ex E", "Extension Value for Domain End", GH_ParamAccess.item, 0.1); // If you want to change properties of certain parameters, // you can use the pManager instance to access them by index: //pManager[0].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Object", "O", "Wind Objects", GH_ParamAccess.item); pManager[0].Optional = true; pManager.AddColourParameter("Colors", "C", "---", GH_ParamAccess.list); pManager.AddNumberParameter("Parameters", "P", "---", GH_ParamAccess.list); pManager[2].Optional = true; pManager.AddNumberParameter("Radius", "R", "---", GH_ParamAccess.item, 1.0); pManager[3].Optional = true; pManager.AddIntervalParameter("Location", "L", "---", GH_ParamAccess.item, new Interval(0.5, 0.5)); pManager[4].Optional = true; pManager.AddIntervalParameter("Focus", "F", "---", GH_ParamAccess.item, new Interval(0.5, 0.5)); pManager[5].Optional = true; Param_GenericObject paramGen = (Param_GenericObject)Params.Input[0]; paramGen.PersistentData.Append(new GH_ObjectWrapper(new pSpacer(new GUIDtoAlpha(Convert.ToString(this.Attributes.InstanceGuid.ToString() + Convert.ToString(this.RunCount)), false).Text))); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Bitmap", "B", "---", GH_ParamAccess.item); pManager[0].Optional = true; Param_GenericObject paramGen = (Param_GenericObject)Params.Input[0]; paramGen.SetPersistentData(new Bitmap(10, 10)); pManager.AddColourParameter("Color", "C", "Replacement Color", GH_ParamAccess.item, Color.Black); pManager[1].Optional = true; pManager.AddIntervalParameter("Red", "R", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[2].Optional = true; pManager.AddIntervalParameter("Green", "G", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[3].Optional = true; pManager.AddIntervalParameter("Blue", "B", "---", GH_ParamAccess.item, new Interval(0, 255)); pManager[4].Optional = true; }