node.inl

Go to the documentation of this file.
00001 /*  
00002  *      MAX_node_protocol.h - def_generics for the operations on MAX node objects
00003  *
00004  *      see def_abstract_generics.h for more info.
00005  *
00006  *  
00007  *          Copyright � John Wainwright 1996
00008  *
00009  */
00010 #pragma warning(push)
00011 #pragma warning(disable:4100)
00012 /* node transforms */
00013 
00014     def_node_generic                (move,                  "move");
00015     def_node_generic                (scale,                 "scale");
00016     def_node_generic                (rotate,                "rotate");
00017 
00018 /* node ops */
00019 
00020     use_generic                     (copy,                  "copy");
00021     def_node_generic                (reference,             "reference");
00022     def_node_generic                (instance,              "instance");
00023     def_visible_primitive           (delete,                "delete");      // a prim so I can control collection traversal
00024     def_node_generic_debug_ok       (isDeleted,             "isDeleted");
00025     def_node_generic                (addModifier,           "addModifier");
00026     def_node_generic                (deleteModifier,        "deleteModifier");
00027     def_node_generic                (collapseStack,         "collapseStack");
00028     def_node_generic                (bindSpaceWarp,         "bindSpaceWarp");
00029     def_node_generic_debug_ok       (intersects,            "intersects");
00030 //  def_node_generic                (dependsOn,             "dependsOn");
00031 
00032     def_node_generic                (instanceReplace,       "instanceReplace");
00033     def_node_generic                (referenceReplace,      "referenceReplace");
00034     def_node_generic                (snapShot,              "snapShot");
00035 
00036     def_visible_generic_debug_ok    (getModContextTM,       "getModContextTM");
00037     def_visible_generic_debug_ok    (getModContextBBoxMin,  "getModContextBBoxMin");
00038     def_visible_generic_debug_ok    (getModContextBBoxMax,  "getModContextBBoxMax");
00039     def_visible_primitive_debug_ok  (validModifier,         "validModifier");
00040     def_visible_generic_debug_ok    (canConvertTo,          "canConvertTo");
00041     def_node_generic                (convertTo,             "convertTo");
00042     def_node_generic                (flagForeground,        "flagForeground");
00043 
00044     def_visible_primitive           (AttachObjects,         "AttachObjects");
00045 
00046     /* node state */
00047     
00048     def_node_generic                (hide,                  "hide");
00049     def_node_generic                (unhide,                "unhide");
00050     def_node_generic                (unfreeze,              "unfreeze");
00051     def_node_generic                (freeze,                "freeze");
00052     def_node_generic                (select,                "select");
00053     def_node_generic                (deselect,              "deselect");
00054     def_visible_primitive           (clearSelection,        "clearSelection");
00055     def_node_generic                (selectmore,            "selectmore");
00056     def_visible_primitive           (group,                 "group");
00057     def_visible_primitive           (ungroup,               "ungroup");
00058     def_visible_primitive           (explodeGroup,          "explodeGroup");
00059     def_visible_primitive           (attachNodesToGroup,    "attachNodesToGroup");
00060     def_visible_primitive           (detachNodesFromGroup,  "detachNodesFromGroup");
00061 
00062 /* object xrefs */
00063     def_visible_generic             ( updateXRef,           "updateXRef");
00064 
00065 /* utilities */
00066     
00067     def_node_generic_debug_ok       (intersectRay,          "intersectRay");
00068     def_node_generic_debug_ok       (printstack,            "printstack");
00069     def_visible_primitive           (uniqueName,            "uniqueName");
00070 
00071 /* user prop access */
00072     
00073     def_node_generic_debug_ok       ( getUserProp,          "getUserProp");
00074     def_node_generic                ( setUserProp,          "setUserProp");
00075     def_node_generic_debug_ok       ( getUserPropBuffer,    "getUserPropBuffer");
00076     def_node_generic                ( setUserPropBuffer,    "setUserPropBuffer");
00077     
00078 /* mesh ops -- if baseobject is a mesh */
00079 
00080     use_generic                     ( plus,                 "+" );      // mesh boolean ops
00081     use_generic                     ( minus,                "-" );
00082     use_generic                     ( times,                "*" );
00083 
00084     def_node_generic                ( convertToMesh,        "convertToMesh");  // this works on those things convertable to meshes
00085 
00086     def_visible_generic             ( setvert,              "setvert");
00087     def_visible_generic_debug_ok    ( getvert,              "getvert");
00088     def_visible_generic             ( settvert,             "settvert");
00089     def_visible_generic_debug_ok    ( gettvert,             "gettvert");
00090     def_visible_generic             ( setvertcolor,         "setvertcolor");
00091     def_visible_generic_debug_ok    ( getvertcolor,         "getvertcolor");
00092     def_visible_generic             ( setnumverts,          "setnumverts");
00093     def_visible_generic_debug_ok    ( getnumverts,          "getnumverts");
00094     def_visible_generic             ( setnumtverts,         "setnumtverts");
00095     def_visible_generic_debug_ok    ( getnumtverts,         "getnumtverts");
00096     def_visible_generic             ( setnumcpvverts,       "setnumcpvverts");
00097     def_visible_generic_debug_ok    ( getnumcpvverts,       "getnumcpvverts");
00098     def_visible_generic             ( setnumfaces,          "setnumfaces");
00099     def_visible_generic_debug_ok    ( getnumfaces,          "getnumfaces");
00100     def_visible_generic             ( buildtvfaces,         "buildTVFaces");
00101     def_visible_generic             ( buildvcfaces,         "buildVCFaces");
00102     def_visible_generic             ( defaultvcfaces,       "defaultVCFaces");
00103     def_visible_generic_debug_ok    ( getnormal,            "getnormal");
00104     def_visible_generic             ( setnormal,            "setnormal");
00105     def_visible_generic             ( setface,              "setface");
00106     def_visible_generic_debug_ok    ( getface,              "getface");
00107     def_visible_generic             ( settvface,            "setTVFace");
00108     def_visible_generic_debug_ok    ( gettvface,            "getTVFace");
00109     def_visible_generic             ( setvcface,            "setVCFace");
00110     def_visible_generic_debug_ok    ( getvcface,            "getVCFace");
00111     def_visible_generic_debug_ok    ( getfacenormal,        "getfacenormal");
00112     def_visible_generic             ( setfacenormal,        "setfacenormal");
00113     def_visible_generic             ( setfacematid,         "setfaceMatID");
00114     def_visible_generic_debug_ok    ( getfacematid,         "getfaceMatID");
00115     def_visible_generic             ( setfacesmoothgroup,   "setfaceSmoothGroup");
00116     def_visible_generic_debug_ok    ( getfacesmoothgroup,   "getfaceSmoothGroup");
00117     def_visible_generic             ( setedgevis,           "setedgevis");
00118     def_visible_generic_debug_ok    ( getedgevis,           "getedgevis");
00119     def_visible_generic             ( attach,               "attach");
00120     def_visible_generic             ( detachVerts,          "detachVerts");
00121     def_visible_generic             ( detachFaces,          "detachFaces");
00122     def_visible_generic             ( extrudeface,          "extrudeface");
00123     def_visible_generic             ( deletevert,           "deletevert");
00124     def_visible_generic             ( deleteface,           "deleteface");
00125     def_visible_generic             ( collapseface,         "collapseface");
00126     def_visible_generic             ( setMesh,              "setMesh");
00127     def_visible_generic             ( update,               "update");
00128     def_visible_generic_debug_ok    ( getDisplacementMapping,       "getDisplacementMapping");
00129     def_visible_generic             ( setDisplacementMapping,       "setDisplacementMapping");
00130     def_visible_generic_debug_ok    ( getSubdivisionDisplacement,   "getSubdivisionDisplacement");
00131     def_visible_generic             ( setSubdivisionDisplacement,   "setSubdivisionDisplacement");
00132     def_visible_generic_debug_ok    ( getSplitMesh,         "getSplitMesh");
00133     def_visible_generic             ( setSplitMesh,         "setSplitMesh");
00134     def_visible_generic             ( displacementToPreset, "displacementToPreset" );
00135 
00136     def_node_generic_debug_ok       ( getVertSelection,     "getVertSelection");  // getVertSelection <node> <nodemodifier>
00137     def_node_generic                ( setVertSelection,     "setVertSelection"); 
00138     def_node_generic_debug_ok       ( getFaceSelection,     "getFaceSelection");  
00139     def_node_generic                ( setFaceSelection,     "setFaceSelection");  
00140     def_node_generic_debug_ok       ( getEdgeSelection,     "getEdgeSelection");  
00141     def_node_generic                ( setEdgeSelection,     "setEdgeSelection");  
00142 
00143     def_struct_primitive            ( mo_startCreate,           meshOps,    "startCreate");
00144     def_struct_primitive            ( mo_startAttach,           meshOps,    "startAttach");
00145     def_struct_primitive            ( mo_startExtrude,          meshOps,    "startExtrude");
00146     def_struct_primitive            ( mo_startBevel,            meshOps,    "startBevel");
00147     def_struct_primitive            ( mo_startChamfer,          meshOps,    "startChamfer");
00148     def_struct_primitive            ( mo_startCut,              meshOps,    "startCut");
00149     def_struct_primitive            ( mo_startSlicePlane,       meshOps,    "startSlicePlane");
00150     def_struct_primitive            ( mo_startWeldTarget,       meshOps,    "startWeldTarget");
00151     def_struct_primitive            ( mo_startFlipNormalMode,   meshOps,    "startFlipNormalMode");
00152     def_struct_primitive            ( mo_startDivide,           meshOps,    "startDivide");
00153     def_struct_primitive            ( mo_startTurn,             meshOps,    "startTurn");
00154     def_struct_primitive            ( mo_hideOp,                meshOps,    "hide");
00155     def_struct_primitive            ( mo_unhideAllOp,           meshOps,    "unhideAll");
00156     def_struct_primitive            ( mo_deleteOp,              meshOps,    "delete");
00157     def_struct_primitive            ( mo_detachOp,              meshOps,    "detach");
00158     def_struct_primitive            ( mo_weldOp,                meshOps,    "weld");
00159     def_struct_primitive            ( mo_breakOp,               meshOps,    "break");
00160     def_struct_primitive            ( mo_viewAlignOp,           meshOps,    "viewAlign");
00161     def_struct_primitive            ( mo_gridAlignOp,           meshOps,    "gridAlign");
00162     def_struct_primitive            ( mo_makePlanarOp,          meshOps,    "makePlanar");
00163     def_struct_primitive            ( mo_collapseOp,            meshOps,    "collapse");
00164     def_struct_primitive            ( mo_tesselateOp,           meshOps,    "tessellate");
00165     def_struct_primitive            ( mo_explodeOp,             meshOps,    "explode");
00166     def_struct_primitive            ( mo_sliceOp,               meshOps,    "slice");
00167     def_struct_primitive            ( mo_removeIsolatedVertsOp, meshOps,    "removeIsolatedVerts");
00168     def_struct_primitive            ( mo_selectOpenEdgesOp,     meshOps,    "selectOpenEdges");
00169     def_struct_primitive            ( mo_createShapeFromEdgesOp,meshOps,    "createShapeFromEdges");
00170     def_struct_primitive            ( mo_flipNormalOp,          meshOps,    "flipNormal");
00171     def_struct_primitive            ( mo_unifyNormalOp,         meshOps,    "unifyNormal");
00172     def_struct_primitive            ( mo_visibleEdgeOp,         meshOps,    "visibleEdge");
00173     def_struct_primitive            ( mo_invisibleEdgeOp,       meshOps,    "invisibleEdge");
00174     def_struct_primitive            ( mo_autoEdgeOp,            meshOps,    "autoEdge");
00175 
00176     def_struct_primitive            ( mo_showNormalOp,          meshOps,    "showNormal");
00177     def_struct_primitive            ( mo_opAutoSmooth,          meshOps,    "autoSmooth");
00178     def_struct_primitive            ( mo_attachList,            meshOps,    "attachList");
00179     def_struct_primitive            ( mo_opSelectByID,          meshOps,    "selectByID");
00180     def_struct_primitive            ( mo_opSelectBySG,          meshOps,    "selectBySG");
00181     def_struct_primitive            ( mo_opClearAllSG,          meshOps,    "clearAllSG");
00182     def_struct_primitive            ( mo_opSelectByColor,       meshOps,    "selectByColor");
00183 
00184 /* poly ops -- if baseobject is a poly */
00185 
00186     def_node_generic                ( convertToPoly,"convertToPoly");  // this works on those things convertable to polys
00187 
00188 /* shape ops -- if baseobject is a shape */
00189 
00190     def_node_generic_debug_ok       ( pathinterp,           "pathInterp");          // MAX path interpolation                   (subcurve piecewise)
00191     def_node_generic_debug_ok       ( lengthinterp,         "lengthInterp");        // total arclength interpolation
00192     def_visible_primitive           ( resetlengthinterp,    "resetLengthInterp");  // clear length interp caches
00193     def_node_generic_debug_ok       ( curvelength,          "curveLength");         // total arclength interpolation
00194     def_node_generic_debug_ok       ( nearestpathparam,     "nearestPathParam");    // path 'u' param at nearest point along curve to obj
00195     def_node_generic_debug_ok       ( pathtolengthparam,    "pathToLengthParam");  // give length 'u' param from path 'u' param
00196     def_node_generic_debug_ok       ( lengthtopathparam,    "lengthToPathParam");  // give path 'u' param from length 'u' param
00197     def_node_generic_debug_ok       ( pathtangent,          "pathTangent");         // MAX path interpolation tangent                   (subcurve piecewise)
00198     def_node_generic_debug_ok       ( lengthtangent,        "lengthTangent");       // total arclength interpolation tangent
00199 
00200 /* bezier shape ops -- if baseobject is a bezier shape */
00201 
00202     def_node_generic                ( convertToSplineShape, "convertToSplineShape");  // this works on those things convertable to splineshapes
00203     
00204     def_node_generic                ( addNewSpline,         "addNewSpline");        
00205     def_node_generic                ( deleteSpline,         "deleteSpline");        
00206     def_node_generic_debug_ok       ( numSplines,           "numSplines");
00207     def_node_generic                ( setFirstSpline,       "setFirstSpline");
00208     def_node_generic                ( resetShape,           "resetShape");
00209     def_node_generic                ( updateShape,          "updateShape");
00210     
00211     def_node_generic_debug_ok       ( numKnots,             "numKnots");        
00212     def_node_generic_debug_ok       ( numSegments,          "numSegments");     
00213     def_node_generic_debug_ok       ( isClosed,             "isClosed");        
00214     use_generic                     ( close,                "close");       
00215     def_node_generic                ( open,                 "open");        
00216     def_node_generic                ( addKnot,              "addKnot");     
00217     def_node_generic                ( deleteKnot,           "deleteKnot");      
00218     def_node_generic                ( setKnotType,          "setKnotType");     
00219     def_node_generic_debug_ok       ( getKnotType,          "getKnotType");     
00220     def_node_generic                ( setSegmentType,       "setSegmentType");      
00221     def_node_generic_debug_ok       ( getSegmentType,       "getSegmentType");      
00222     def_node_generic                ( refineSegment,        "refineSegment");       
00223     def_node_generic                ( reverse,              "reverse");     
00224     def_node_generic                ( setFirstKnot,         "setFirstKnot");        
00225     def_node_generic                ( setKnotPoint,         "setKnotPoint");        
00226     def_node_generic_debug_ok       ( getKnotPoint,         "getKnotPoint");        
00227     def_node_generic_debug_ok       ( getInVec,             "getInVec");        
00228     def_node_generic                ( setInVec,             "setInVec");        
00229     def_node_generic_debug_ok       ( getOutVec,            "getOutVec");       
00230     def_node_generic                ( setOutVec,            "setOutVec");
00231     def_node_generic                ( hideSelectedVerts,    "hideSelectedVerts");
00232     def_node_generic                ( hideSelectedSplines,  "hideSelectedSplines");
00233     def_node_generic                ( hideSelectedSegments, "hideSelectedSegments");
00234     def_node_generic                ( unhideSegments,       "unhideSegments");
00235     def_node_generic                ( updateBindList,       "updateBindList");
00236     def_node_generic                ( unbindKnot,           "unbindKnot");
00237     def_node_generic                ( bindKnot,             "bindKnot");
00238     def_node_generic                ( materialID,           "materialID");
00239     def_node_generic                ( addAndWeld,           "addAndWeld");
00240 
00241 
00242     def_visible_primitive_debug_ok  ( getKnotSelection,     "getKnotSelection");  // getKnotSelection <node> works only for editable splines
00243     def_visible_primitive           ( setKnotSelection,     "setKnotSelection"); 
00244     def_visible_primitive_debug_ok  ( getSegSelection,      "getSegSelection");  
00245     def_visible_primitive           ( setSegSelection,      "setSegSelection");  
00246     def_visible_primitive_debug_ok  ( getSplineSelection,   "getSplineSelection");  
00247     def_visible_primitive           ( setSplineSelection,   "setSplineSelection");  
00248 
00249     def_struct_primitive            ( so_startCreateLine,   splineOps,  "startCreateLine");
00250     def_struct_primitive            ( so_startAttach,       splineOps,  "startAttach");
00251     def_struct_primitive            ( so_startInsert,       splineOps,  "startInsert");
00252     def_struct_primitive            ( so_startConnect,      splineOps,  "startConnect");
00253     def_struct_primitive            ( so_startRefine,       splineOps,  "startRefine");
00254     def_struct_primitive            ( so_startFillet,       splineOps,  "startFillet");
00255     def_struct_primitive            ( so_startChamfer,      splineOps,  "startChamfer");
00256     def_struct_primitive            ( so_startBind,         splineOps,  "startBind");
00257     def_struct_primitive            ( so_startRefineConnect,splineOps,  "startRefineConnect");
00258     def_struct_primitive            ( so_startOutline,      splineOps,  "startOutline");
00259     def_struct_primitive            ( so_startTrim,         splineOps,  "startTrim");
00260     def_struct_primitive            ( so_startExtend,       splineOps,  "startExtend");
00261     def_struct_primitive            ( so_startCrossInsert,  splineOps,  "startCrossInsert");
00262     def_struct_primitive            ( so_startBreak,        splineOps,  "startBreak");
00263     def_struct_primitive            ( so_startUnion,        splineOps,  "startUnion");
00264     def_struct_primitive            ( so_startSubtract,     splineOps,  "startSubtract");
00265     def_struct_primitive            ( so_startIntersect,    splineOps,  "startIntersect");
00266     def_struct_primitive            ( so_startCrossSection, splineOps,  "startCrossSection");
00267     def_struct_primitive            ( so_startCopyTangent,  splineOps,  "startCopyTangent");
00268     def_struct_primitive            ( so_startPasteTangent, splineOps,  "startPasteTangent");
00269 
00270     def_struct_primitive            ( so_opHide,            splineOps,  "hide");
00271     def_struct_primitive            ( so_opUnhideAll,       splineOps,  "unhideAll");
00272     def_struct_primitive            ( so_opDelete,          splineOps,  "delete");
00273     def_struct_primitive            ( so_opDetach,          splineOps,  "detach");
00274     def_struct_primitive            ( so_opDivide,          splineOps,  "divide");
00275     def_struct_primitive            ( so_opCycle,           splineOps,  "cycle");
00276     def_struct_primitive            ( so_opUnbind,          splineOps,  "unbind");
00277     def_struct_primitive            ( so_opWeld,            splineOps,  "weld");
00278     def_struct_primitive            ( so_opMakeFirst,       splineOps,  "makeFirst");
00279     def_struct_primitive            ( so_opAttachMultiple,  splineOps,  "attachMultiple");
00280     def_struct_primitive            ( so_opExplode,         splineOps,  "explode");
00281     def_struct_primitive            ( so_opReverse,         splineOps,  "reverse");
00282     def_struct_primitive            ( so_opClose,           splineOps,  "close");
00283     def_struct_primitive            ( so_opIntersect,       splineOps,  "intersect");
00284     def_struct_primitive            ( so_opMirrorHoriz,     splineOps,  "mirrorHoriz");
00285     def_struct_primitive            ( so_opMirrorVert,      splineOps,  "mirrorVert");
00286     def_struct_primitive            ( so_opMirrorBoth,      splineOps,  "mirrorBoth");
00287     def_struct_primitive            ( so_opSelectByID,      splineOps,  "selectByID");
00288     def_struct_primitive            ( so_opFuse,            splineOps,  "fuse");
00289 
00290 /* particle ops -- if baseobject is a particle system */
00291 
00292     def_node_generic_debug_ok       ( particlecount,        "particleCount");       
00293     def_node_generic_debug_ok       ( particlepos,          "particlePos");     
00294     def_node_generic_debug_ok       ( particlevelocity,     "particleVelocity");        
00295     def_node_generic_debug_ok       ( particleage,          "particleAge"); 
00296     def_node_generic_debug_ok       ( particlesize,         "particleSize");
00297 
00298 /* patch ops */
00299 
00300 #ifndef NO_PATCHES
00301 
00302     def_struct_primitive            ( po_startAttach,           patchOps,   "startAttach");
00303     def_struct_primitive            ( po_startExtrude,          patchOps,   "startExtrude");
00304     def_struct_primitive            ( po_startBevel,            patchOps,   "startBevel");
00305     def_struct_primitive            ( po_startBind,             patchOps,   "startBind");
00306     def_struct_primitive            ( po_startCreate,           patchOps,   "startCreate");
00307     def_struct_primitive            ( po_startWeldTarget,       patchOps,   "startWeldTarget");
00308     def_struct_primitive            ( po_startFlipNormalMode,   patchOps,   "startFlipNormalMode");
00309     def_struct_primitive            ( po_startCopyTangent,      patchOps,   "startCopyTangent");
00310     def_struct_primitive            ( po_startPasteTangent,     patchOps,   "startPasteTangent");
00311 
00312     def_struct_primitive            ( po_opUnbind,              patchOps,   "unbind");
00313     def_struct_primitive            ( po_opHide,                patchOps,   "hide");
00314     def_struct_primitive            ( po_opUnhideAll,           patchOps,   "unhideAll");
00315     def_struct_primitive            ( po_opWeld,                patchOps,   "weld");
00316     def_struct_primitive            ( po_opDelete,              patchOps,   "delete");
00317     def_struct_primitive            ( po_opSubdivide,           patchOps,   "subdivide");
00318     def_struct_primitive            ( po_opAddTri,              patchOps,   "addTri");
00319     def_struct_primitive            ( po_opAddQuad,             patchOps,   "addQuad");
00320     def_struct_primitive            ( po_opDetach,              patchOps,   "detach");
00321     def_struct_primitive            ( po_opPatchSmooth,         patchOps,   "patchSmooth");
00322 
00323     def_struct_primitive            ( po_opSelectionShrink,     patchOps,   "shrinkSelection");
00324     def_struct_primitive            ( po_opSelectionGrow,       patchOps,   "growSelection");
00325     def_struct_primitive            ( po_opEdgeRingSel,         patchOps,   "selectEdgeRing");
00326     def_struct_primitive            ( po_opEdgeLoopSel,         patchOps,   "selectEdgeLoop");
00327     def_struct_primitive            ( po_opSelectOpenEdges,     patchOps,   "selectOpenEdges");
00328     def_struct_primitive            ( po_opBreak,               patchOps,   "break");
00329     def_struct_primitive            ( po_opCreateShapeFromEdges,patchOps,   "createShapeFromEdges");
00330     def_struct_primitive            ( po_opFlipNormal,          patchOps,   "flipNormal");
00331     def_struct_primitive            ( po_opUnifyNormal,         patchOps,   "unifyNormal");
00332     def_struct_primitive            ( po_opSelectByID,          patchOps,   "selectByID");
00333     def_struct_primitive            ( po_opSelectBySG,          patchOps,   "selectBySG");
00334     def_struct_primitive            ( po_opClearAllSG,          patchOps,   "clearAllSG");
00335     def_struct_primitive            ( po_opShadedFaceToggle,    patchOps,   "toggleShadedFaces");
00336 
00337 /* patch access */
00338 
00339     def_struct_primitive_debug_ok   ( p_getNumVerts,        patch,  "getNumVerts");
00340     def_struct_primitive            ( p_setNumVerts,        patch,  "setNumVerts");
00341     def_struct_primitive_debug_ok   ( p_getNumVecs,         patch,  "getNumVecs");
00342     def_struct_primitive            ( p_setNumVecs,         patch,  "setNumVecs");
00343     def_struct_primitive_debug_ok   ( p_getNumPatches,      patch,  "getNumPatches");
00344     def_struct_primitive            ( p_setNumPatches,      patch,  "setNumPatches");
00345     def_struct_primitive_debug_ok   ( p_getNumEdges,        patch,  "getNumEdges");
00346     def_struct_primitive            ( p_setNumEdges,        patch,  "setNumEdges");
00347     def_struct_primitive_debug_ok   ( p_getVert,            patch,  "getVert");
00348     def_struct_primitive_debug_ok   ( p_getVec,             patch,  "getVec");
00349     def_struct_primitive            ( p_setVert,            patch,  "setVert");
00350     def_struct_primitive            ( p_setVec,             patch,  "setVec");
00351     def_struct_primitive_debug_ok   ( p_getVertVecs,        patch,  "getVertVecs");
00352     def_struct_primitive_debug_ok   ( p_getVertPatches,     patch,  "getVertPatches");
00353     def_struct_primitive_debug_ok   ( p_getVertEdges,       patch,  "getVertEdges");
00354     def_struct_primitive_debug_ok   ( p_getVecVert,         patch,  "getVecVert");
00355     def_struct_primitive_debug_ok   ( p_getVecPatches,      patch,  "getVecPatches");
00356     def_struct_primitive_debug_ok   ( p_getEdgeVert1,       patch,  "getEdgeVert1");
00357     def_struct_primitive_debug_ok   ( p_getEdgeVert2,       patch,  "getEdgeVert2");
00358     def_struct_primitive_debug_ok   ( p_getEdgeVec12,       patch,  "getEdgeVec12");
00359     def_struct_primitive_debug_ok   ( p_getEdgeVec21,       patch,  "getEdgeVec21");
00360     def_struct_primitive            ( p_setNumMaps,         patch,  "setNumMaps");
00361     def_struct_primitive_debug_ok   ( p_getNumMaps,         patch,  "getNumMaps");
00362     def_struct_primitive            ( p_setMapSupport,      patch,  "setMapSupport");
00363     def_struct_primitive_debug_ok   ( p_getMapSupport,      patch,  "getMapSupport");
00364     def_struct_primitive_debug_ok   ( p_maxMapChannels,     patch,  "maxMapChannels");
00365     def_struct_primitive            ( p_setNumMapVerts,     patch,  "setNumMapVerts");
00366     def_struct_primitive_debug_ok   ( p_getNumMapVerts,     patch,  "getNumMapVerts");
00367     def_struct_primitive            ( p_setNumMapPatches,   patch,  "setNumMapPatches");
00368     def_struct_primitive_debug_ok   ( p_getMapVert,         patch,  "getMapVert");
00369     def_struct_primitive_debug_ok   ( p_getMapPatch,        patch,  "getMapPatch");
00370     def_struct_primitive            ( p_setMapVert,         patch,  "setMapVert");
00371     def_struct_primitive            ( p_setMapPatch,        patch,  "setMapPatch");
00372 // LAM 3/1/01 - removed following - these are messing with the graphics window material,
00373 // not the"material" material
00374 //  def_struct_primitive_debug_ok   ( p_getMtlID,           patch,  "getMtlID");
00375 //  def_struct_primitive            ( p_setMtlID,           patch,  "setMtlID");
00376     def_struct_primitive_debug_ok   ( p_getPatchMtlID,      patch,  "getPatchMtlID");
00377     def_struct_primitive            ( p_setPatchMtlID,      patch,  "setPatchMtlID");
00378     def_struct_primitive            ( p_update,             patch,  "update");
00379     def_struct_primitive            ( p_setMeshSteps,       patch,  "setMeshSteps");
00380     def_struct_primitive_debug_ok   ( p_getMeshSteps,       patch,  "getMeshSteps");
00381 #ifndef NO_OUTPUTRENDERER
00382     def_struct_primitive            ( p_setMeshStepsRender, patch,  "setMeshStepsRender");
00383     def_struct_primitive_debug_ok   ( p_getMeshStepsRender, patch,  "getMeshStepsRender");
00384 #endif // NO_OUTPUTRENDERER
00385     def_struct_primitive            ( p_setShowInterior,    patch,  "setShowInterior");
00386     def_struct_primitive_debug_ok   ( p_getShowInterior,    patch,  "getShowInterior");
00387     def_struct_primitive            ( p_setAdaptive,        patch,  "setAdaptive");
00388     def_struct_primitive_debug_ok   ( p_getAdaptive,        patch,  "getAdaptive");
00389     def_struct_primitive    ( p_getEdges,           patch,  "getEdges");
00390     def_struct_primitive_debug_ok   ( p_getPatches,         patch,  "getPatches");
00391     def_struct_primitive_debug_ok   ( p_getVectors,         patch,  "getVectors");
00392     def_struct_primitive            ( p_transform,          patch,  "transform");
00393     def_struct_primitive            ( p_weldVerts,          patch,  "weldVerts");
00394     def_struct_primitive            ( p_weldEdges,          patch,  "weldEdges");
00395     def_struct_primitive            ( p_weld2Verts,         patch,  "weld2Verts");
00396     def_struct_primitive            ( p_deletePatchParts,   patch,  "deletePatchParts");
00397     def_struct_primitive            ( p_clonePatchParts,    patch,  "clonePatchParts");
00398     def_struct_primitive            ( p_subdivideEdges,     patch,  "subdivideEdges");
00399     def_struct_primitive            ( p_subdividePatches,   patch,  "subdividePatches");
00400     def_struct_primitive            ( p_addQuadPatch,       patch,  "addQuadPatch");
00401     def_struct_primitive            ( p_addTriPatch,        patch,  "addTriPatch");
00402     def_struct_primitive            ( p_patchNormal,        patch,  "patchNormal");
00403     def_struct_primitive            ( p_updatePatchNormals, patch,  "updatePatchNormals");
00404     def_struct_primitive            ( p_edgeNormal,         patch,  "edgeNormal");
00405     def_struct_primitive            ( p_flipPatchNormal,    patch,  "flipPatchNormal");
00406     def_struct_primitive            ( p_unifyNormals,       patch,  "unifyNormals");
00407     def_struct_primitive            ( p_changeVertType,     patch,  "changeVertType");
00408     def_struct_primitive_debug_ok   ( p_getVertType,        patch,  "getVertType");
00409     def_struct_primitive            ( p_changePatchInteriorType,patch,  "changePatchInteriorType");
00410     def_struct_primitive_debug_ok   ( p_getPatchInteriorType,   patch,  "getPatchInteriorType");
00411     def_struct_primitive_debug_ok   ( p_getMesh,            patch,  "getMesh");
00412     def_struct_primitive            ( p_autoSmooth,         patch,  "autoSmooth");
00413     def_struct_primitive            ( p_makeQuadPatch,      patch,  "makeQuadPatch");
00414     def_struct_primitive            ( p_makeTriPatch,       patch,  "makeTriPatch");
00415     def_struct_primitive            ( p_interpTriPatch,     patch,  "interpTriPatch");
00416     def_struct_primitive            ( p_interpQuadPatch,    patch,  "interpQuadPatch");
00417     def_struct_primitive            ( p_addHook,            patch,  "addHook");
00418     def_struct_primitive            ( p_removeHook,         patch,  "removeHook");
00419     def_struct_primitive            ( p_updateHooks,        patch,  "updateHooks");
00420     def_struct_primitive            ( p_hookFixTopology,    patch,  "hookFixTopology");
00421     def_struct_primitive_debug_ok   ( p_getPatchType,       patch,  "getPatchType");
00422 
00423 #endif // NO_PATCHES
00424 
00425     // xrefs
00426     def_struct_primitive            ( update_changed_xrefs,     xrefs,"updateChangedXRefs");
00427     def_struct_primitive_debug_ok   ( get_xref_file,            xrefs,"getXRefFile");
00428     def_struct_primitive_debug_ok   ( get_xref_file_count,      xrefs,"getXRefFileCount");
00429     def_struct_primitive            ( add_xref_file,            xrefs,"addNewXRefFile");
00430     def_struct_primitive            ( delete_all_xrefs,         xrefs,"deleteAllXRefs");
00431     def_struct_primitive            ( find_unresolved_xrefs,    xrefs,"findUnresolvedXRefs");
00432     def_struct_primitive            ( attempt_unresolved_xrefs, xrefs,"attemptUnresolvedXRefs");
00433     def_struct_primitive            ( add_xref_object,          xrefs,"addNewXRefObject");
00434 
00435 #pragma warning(pop)
00436