Bool PluginStart() { // RegisterAutoConnectObject(); return RegisterCommandPlugin( ID_AUTOCONNECT_COMMAND, GeLoadString(IDS_AUTOCONNECT_NAME), PLUGINFLAG_COMMAND_HOTKEY, AutoBitmap("autoconnect.tif"), GeLoadString(IDS_AUTOCONNECT_HELP), new AutoConnectCommand); }
Bool RegisterCSVNode() { Bool ok = GvRegisterOperatorPlugin( GvOperatorID(ID_CSVNODE), GeLoadString(IDC_CSVNODE_NAME), 0, CSVNodeData::Alloc, "Gvcsv", CSVNODE_VERSION, ID_GV_OPCLASS_TYPE_GENERAL, ID_GV_OPGROUP_TYPE_XPRESSOEFFECTOR, 0, // owner AutoBitmap("Gvcsv.tif")); if (!ok) { GePrint(GeLoadString(IDC_CSVNODE_NOTREGISTERED)); } return ok; }
Bool RegisterDeformerObject() { return RegisterObjectPlugin(ID_HAIR_DEFOMER_EXAMPLE,GeLoadString(IDS_HAIR_DEFOMER_EXAMPLE),OBJECT_MODIFIER,HairDeformerObject::Alloc,"Ohairsdkdeformer",AutoBitmap("hairdeformer.tif"),0); }
Bool Registervoxelify(void) { return RegisterObjectPlugin(ID_VOXELIFY ,GeLoadString(IDS_VOXELIFY),OBJECT_GENERATOR|OBJECT_INPUT|OBJECT_ISSPLINE|OBJECT_CALL_ADDEXECUTION,Voxelify::Alloc,"voxelify",AutoBitmap("tsp.tif"),0); }
Bool RegisterMenuTest(void) { // be sure to use a unique ID obtained from www.plugincafe.com return RegisterCommandPlugin(1000956, GeLoadString(IDS_MENUTEST), 0, AutoBitmap("icon.tif"), String("C++ SDK Menu Test Plugin"), NewObjClear(MenuTest)); }
Bool RegisterGeneratorObject() { return RegisterObjectPlugin(ID_HAIR_GENERATOR_EXAMPLE, GeLoadString(IDS_HAIR_GENERATOR_EXAMPLE), OBJECT_CALL_ADDEXECUTION | OBJECT_GENERATOR | OBJECT_INPUT, HairGeneratorObject::Alloc, "Ohairsdkgen", AutoBitmap("hairgen.tif"), 0); }
Bool RegisterPrimitiveTool(void) { return RegisterToolPlugin(ID_LIQUIDTOOL, GeLoadString(IDS_PRIMITIVETOOL), 0, AutoBitmap("liquid.tif"), "C++ SDK Liquid Painting Tool", NewObjClear(LiquidToolData)); }
Bool RegisterVoxelGenerator(void) { return RegisterObjectPlugin(ID_VOXELGENERATOR, "VoxelGenerator", OBJECT_GENERATOR, VoxelGenerator::Alloc, "fxp_voxelgen", AutoBitmap("constraint.tif"), 0); }
Bool RegisterRenderingTag() { return RegisterTagPlugin(ID_HAIR_RENDERING_EXAMPLE, GeLoadString(IDS_HAIR_RENDERING_EXAMPLE), TAG_MULTIPLE | TAG_VISIBLE, HairRenderingTag::Alloc, "Thairsdkrendering", AutoBitmap("hairrendering.tif"), 0); }
Bool RegisterAtomObject(void) { return RegisterObjectPlugin(ID_ATOMOBJECT,GeLoadString(IDS_ATOM),OBJECT_GENERATOR|OBJECT_INPUT,AtomObject::Alloc,"Oatom",AutoBitmap("atom.tif"),0); }
Bool RegisterGrassObject() { return RegisterObjectPlugin(ID_HAIR_GRASS_EXAMPLE,GeLoadString(IDS_HAIR_GRASS_EXAMPLE),OBJECT_GENERATOR,HairGrassObject::Alloc,"Ohairsdkgrass",AutoBitmap("hairgrass.tif"),0); }
Bool RegisterDropEffector(void) { return RegisterEffectorPlugin(ID_DROPEFFECTOR, GeLoadString(IDS_DROPEFFECTOR), OBJECT_CALL_ADDEXECUTION, DropEffector::Alloc, "oedrop", AutoBitmap("dropeffector.tif"), 0); }