//+ // ============================================================================ // Copyright (C) Alias Systems Corp., and/or its licensors ("Alias"). // All rights reserved. These coded instructions, statements, computer // programs, and/or related material (collectively, the "Material") // contain unpublished information proprietary to Alias, which is // protected by Canadian and US federal copyright law and by international // treaties. This Material may not be disclosed to third parties, or be copied // or duplicated, in whole or in part, without the prior written consent of // Alias. ALIAS HEREBY DISCLAIMS ALL WARRANTIES RELATING TO THE MATERIAL, // INCLUDING, WITHOUT LIMITATION, ANY AND ALL EXPRESS OR IMPLIED WARRANTIES OF // NON-INFRINGEMENT, MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. // IN NO EVENT SHALL ALIAS BE LIABLE FOR ANY DAMAGES WHATSOEVER, WHETHER DIRECT, // INDIRECT, SPECIAL, OR PUNITIVE, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE // OR OTHER TORTIOUS ACTION, OR IN EQUITY, ARISING OUT OF OR RELATED TO THE // ACCESS TO, USE OF, OR RELIANCE UPON THE MATERIAL. // ============================================================================ //- //////////////////////////////////////////////////////////////////////// // // meshReorderCmd.h // // Description: // Command to reindex a polygon mesh based on a used defined starting face // moveToolContext // //////////////////////////////////////////////////////////////////////// #ifndef _MESH_REORDER_CMD_H_ #define _MESH_REORDER_CMD_H_ #include #include #include #include #include #include #include // MAIN CLASS DECLARATION FOR THE MEL COMMAND: class meshReorderCommand : public MPxCommand { private: int fFaceIdxSrc; MIntArray fFaceVtxSrc; MDagPath fDagPathSrc; MStatus parseArgs(const MArgList&); public: meshReorderCommand(); virtual ~meshReorderCommand(); MStatus setSeedInfo( MDagPath& path, int face, int vtx0, int vtx1 ); static void* creator(); MStatus doIt(const MArgList&); MStatus redoIt(); }; #endif