algorithmic modeling for Rhino
Tags:
public GH_VTKparam() : base(new Grasshopper.Kernel.GH_InstanceDescription("VTK Data", "VTK", "A collection of VTK values", "VTK", "Params")) { }
class GH_ParamPointData : GH_Param < GH_PointData >
{
public GH_ParamPointData() : base(new Grasshopper.Kernel.GH_InstanceDescription("PointData", "PD", "A collection of VTK point data values", "VTK", "Data"))
{
}
//constructor 1 overload
public GH_ParamPointData(GH_InstanceDescription nTag):base(nTag)
{
}
//constructor 2 overload
public GH_ParamPointData(GH_InstanceDescription nTag, GH_ParamAccess access): base(nTag, access)
{
}
//component guid
public override Guid ComponentGuid
{
get { return new Guid("{08ad9ebb-f5c2-4f74-93c6-34d87512bc2c}"); }
}
public override string TypeName
{
get
{
return "PointData";
}
}
//component icon (optional)
protected override Bitmap Internal_Icon_24x24
{
get { return VTK.Properties.Resources.point_24x24; }
}
}
pManager.RegisterParam(new GH_ParamPointData(), "PD", "PD", "A collection of VTK point data values", GH_ParamAccess.tree);
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by